Windows 11 HP PC • From Beginner to Success • January 2026
This guide documents the complete process of installing WSL2 Ubuntu 24.04 on Windows 11, including all errors encountered and their solutions.
| Stage | Error Encountered | Root Cause | Solution Applied |
|---|---|---|---|
| 1. Initial Install | HCS_E_HYPERV_NOT_INSTALLED | BIOS virtualization disabled (VT-x off) | Enabled in BIOS via Esc+F10 |
| 2. Feature Check | vmms service missing | Windows 11 Home doesn't include full Hyper-V | Used Virtual Machine Platform only (correct for Home) |
| 3. Final Issue | HCS_E_CONNECTION_TIMEOUT | VM started but HCS couldn't connect within 60 seconds | wsl --shutdown + wsl --update --pre-release + Restart |
| ✅ Success | None | All features properly configured | Ubuntu 24.04 fully operational in WSL2 |
Before installation, verify your system meets the following requirements:
Settings → System → About
Required: OS Build 22000 or higher
Ctrl+Shift+Esc → Task Manager → Performance tab → CPU
Look for: "Virtualization: Enabled"
Start Menu → Type "PowerShell" → Right-click → Run as administrator
This installs Windows Subsystem for Linux and Virtual Machine Platform.
wsl --install --no-distribution
What happens: Downloads and installs WSL infrastructure (no Linux distro yet).
Expected output: "The operation completed successfully."
This enables the CPU's hardware virtualization feature required by WSL2.
BIOS Navigation: 1. Use arrow keys to navigate 2. Find "Advanced" or "System Configuration" tab 3. Look for "Device Configuration" or similar 4. Find "Virtualization Technology" (may also be "Intel VT-x" or "AMD SVM") 5. Set to "Enabled" 6. Press F10 to Save and Exit 7. Confirm "Yes" to save changes
After restart: Verify by checking Task Manager again - "Virtualization: Enabled" should appear.
In PowerShell (Admin), run these commands one by one:
wsl --update
Updates WSL kernel to latest version
wsl --set-default-version 2
Sets WSL2 as default (uses lightweight Hyper-V)
Now install the actual Linux distribution:
wsl --install -d Ubuntu-24.04
What happens:
You're now inside the Ubuntu Linux terminal. Run:
sudo apt update && sudo apt upgrade -y
Updates all package lists and installed software
sudo apt install python3-pip python3-venv curl git build-essential -y
Installs essential development tools
Perfect for quantum computing, ML, and biomedical signal processing:
wget https://repo.anaconda.com/archive/Anaconda3-latest-Linux-x86_64.sh bash Anaconda3-latest-Linux-x86_64.sh
During installation: Press Enter → Yes → Enter (for default location)
source ~/.bashrc conda --version
Activates Anaconda and verifies installation
✅ Solution:
wsl --updatewsl --install -d Ubuntu-24.04✅ Explanation & Solution:
This is NORMAL on Windows 11 Home. Full Hyper-V (vmms) isn't available, but WSL2 only needs the lightweight Virtual Machine Platform. No action needed - proceed with WSL2 installation.
✅ Solution (What Fixed It):
wsl --shutdown wsl --unregister Ubuntu-24.04 net stop vmcompute net start vmcompute wsl --update --pre-release
Then: Restart PC and retry:
wsl --install -d Ubuntu-24.04
✅ Solution: You're running Linux commands in PowerShell. You must be inside Ubuntu first:
wsl # or ubuntu → Launches Ubuntu terminal sudo apt update && sudo apt install python3-pip -y # Now it works!
| Issue | Check This | Command to Verify |
|---|---|---|
| Isn't installing | BIOS virtualization | systeminfo | find "Hyper-V" |
| Hangs during download | Internet connection & disk space | wsl --shutdown then retry |
| Slow performance | Background apps consuming CPU | Close heavy applications, restart |
| Ubuntu won't launch | Distro registration | wsl --list --verbose |
In PowerShell (Admin), check the installation status:
wsl --list --verbose
Expected output:
NAME STATE VERSION Ubuntu-24.04 Running 2
wsl
Or search "Ubuntu" in Windows Start menu and click it.
You should see: username@computername:~$
Inside Ubuntu terminal:
python3 --version pip3 --version python3 -c "import sys; print(sys.version)"
conda --version conda list
cd /mnt/c/Users/YourUsername/ ls # Lists files in your Windows Documents, Downloads, etc.
conda install jupyter notebook pandas numpy scikit-learn matplotlib -y conda install tensorflow keras -y pip install qiskit qiskit-machine-learning
jupyter notebook
Open the URL displayed in your browser (usually http://localhost:8888)
cd /mnt/c/Users/YourUsername/Projects git clone https://github.com/your-repo.git cd your-repo conda env create -f environment.yml conda activate your-env
| Task | Command |
|---|---|
| Update Ubuntu | sudo apt update && sudo apt upgrade |
| Install package | sudo apt install package-name |
| Exit Ubuntu | exit |
| Stop WSL2 | wsl --shutdown (from PowerShell) |
| List WSL distros | wsl --list --verbose |