How to solve Wsl/Service/CreateInstance/CreateVm/HCS/HCS_E_HYPERV_NOT_INSTALLED

Benjamin Barinka 40 Reputation points
2023-07-25T15:59:53.27+00:00

Hello,

after some while i tried to start my already installed wsl based Ubuntu 20.04 and it crashes with:

WSL2 is not supported with your current machine configuration. Please enable the "Virtual Machine Platform" optional component and ensure virtualization is enabled in the BIOS. Enable "Virtual Machine Platform" by running: wsl.exe --install --no-distribution For information please visit https://aka.ms/enablevirtualization Error code: Wsl/Service/CreateInstance/CreateVm/HCS/HCS_E_HYPERV_NOT_INSTALLED Press any key to continue...

It ran a few weeks ago without any problems. I am owner of a pretty new AMD Ryzen 9 7940HS based Asus Rog G14 laptop (ASUS ROG Zephyrus G14 (GA402XZ-NC021W). SMT and Secure Boot are enabled at BIOS. Core isolution (memory integrity & Kernel mode enforced hardware stack) is enabled. Running on Windows 11:

PS C:\WINDOWS\system32> wsl -l Windows Subsystem for Linux Distributions: Ubuntu-20.04 (Default) PS C:\WINDOWS\system32> wsl -v WSL version: 1.3.14.0 Kernel version: 5.15.90.3-1 WSLg version: 1.0.55 MSRDC version: 1.2.4419 Direct3D version: 1.608.2-61064218 DXCore version: 10.0.25880.1000-230602-1350.main Windows version: 10.0.22631.2050 PS C:\WINDOWS\system32>

Already googled some hours and tried:

wsl --update

or

wsl --update
wsl --shutdown
wsl

already read

https://learn.microsoft.com/de-de/windows/wsl/troubleshooting

folders are uncompressed...

or

netsh winsock reset

or

DISM /online /disable-feature /featurename:VirtualMachinePlatform /norestart
DISM /online /disable-feature /featurename:Microsoft-Windows-Subsystem-Linux /norestart

reboot

DISM /online /enable-feature /featurename:VirtualMachinePlatform /norestart
DISM /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /norestart

or

reinstalling hyper visor plattform and virtual machine plattform through software control panel

or

manually starting the LXSSMANAGER and validating that HV Host Service is running....

and validated service logs (were no errors are inside)

or created a new user at system... which ended up in same problems

All without any help :(

Does anyone have an idea what i could try?

Thank you very much!

Best regards

Windows for business Windows Client for IT Pros User experience Other
{count} votes

9 answers

Sort by: Most helpful
  1. Ricardo Dirani 5 Reputation points
    2024-06-29T00:38:13.2266667+00:00

    In my case, the error came after installing Docker Desktop
    I tried every solution and nothing changed.
    Until I uninstalled Docker Desktop. Now my WSL Ubuntu is back.


  2. Viktor Havlík 0 Reputation points
    2024-10-23T11:00:54.0366667+00:00

    uninstalling docker, making changes and then installing docker again worked for me

    0 comments No comments

  3. Haley Lee 0 Reputation points
    2025-02-12T16:20:07.0866667+00:00

    I have tried all the solutions listed and still got the error message.

    It was weird because my Ubuntu was working totally fine but all of sudden it showed that something is not installed.

    In command prompt, typed wsl.exe and it says there is no distribution installed so I typed

    "wsl.exe --install -d Ubuntu" and it worked!!!

    0 comments No comments

  4. ScatteredSkye 0 Reputation points
    2025-03-28T15:11:33.1266667+00:00

    This solved it for me (by jafber) because my Hyper-V was being turned off before.

    1. Control Panel > Programs > Turn Windows features on or off > Tick Hyper-V > Ok > Restart

    Thank you!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.