That's an important clue! If the Hypervisor Compute Service (HCS) isn't in your services list, it means the necessary Windows components aren't properly installed or enabled. This explains why WSL installation is failing.
Here's how to fix this:
1. First, verify which Windows version you have:
- Press
Win + R, type winver, and press Enter
- Note your Windows version and build number
2. Enable the required Windows features via PowerShell (Run as Administrator):
Open PowerShell as Administrator and run these commands one by one:
# Enable Windows Subsystem for Linux
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
# Enable Virtual Machine Platform
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
# Enable Hyper-V (if available on your Windows edition)
dism.exe /online /enable-feature /featurename:Microsoft-Hyper-V-All /all /norestart
3. If you get errors about Hyper-V not being available:
This might mean you're running Windows 10/11 Home edition, which doesn't include full Hyper-V. In this case, try:
# Enable just the hypervisor platform (available on Home editions)
dism.exe /online /enable-feature /featurename:HypervisorPlatform /all /norestart
4. Download and install the WSL2 Linux kernel update package:
5. Restart your computer
This is crucial - the features won't be active until after a restart.
6. After restart, check if HCS is now present:
- Open Services (Win + R, type
services.msc)
- Look for "Hypervisor Compute Service"
7. Set WSL 2 as default and try installing again:
wsl --set-default-version 2
wsl --install
If HCS still doesn't appear after these steps:
Check your Windows edition:
- Press
Win + R, type ms-settings:about, press Enter
- Look for "Edition" - if it says "Windows 10/11 Home", you have limited virtualization support
For Windows Home users:
WSL 2 should still work on Home editions, but without full Hyper-V. Make sure you have:
- Windows 10 version 1903 or higher (Build 18362 or higher)
- Windows 11 (any version)
Alternative approach if still having issues:
Try installing WSL 1 instead (doesn't require virtualization):
wsl --set-default-version 1
wsl --install
You can always upgrade to WSL 2 later once the virtualization issues are resolved.
Let me know what happens after trying these steps, and include:
- Your Windows edition (Home/Pro/Enterprise)
- Whether HCS appears after the restart
- Any error messages you encounter