-
Notifications
You must be signed in to change notification settings - Fork 822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error code: Wsl/Service/CreateInstance/CreateVm/HCS/HCS_E_HYPERV_NOT_INSTALLED #10332
Comments
/logs would be appreciated |
Hello! Could you please provide more logs to help us better diagnose your issue? To collect WSL logs, download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The scipt will output the path of the log file once done. Once completed please upload the output files to this Github issue. Click here for more info on logging Thank you! |
Hello, thank you for reply. I have executed the script as administrator in a powershell and tried to start wsl within my terminal. Logs are attached WslLogs-2023-07-26_03-10-04.zip thx! |
Does anyone have an idea?.... :/ Otherwise will do a clean Windows install.... |
Same issue here. Not able to find any solutions online. Just randomly started happening, I haven't changed anything. |
check msconfig and ensure you are in normal startup mode, and your boot services aren't cherry-picked |
You are literally a godsend. I was in selective startup for some reason, switching to normal startup fixed it. |
For me, I had recently updated my bios and the Intel Virtualization Technology became disabled. After I reenabled it, WSL2 was working again. |
lol I would say the same to you. When you mentioned you weren't able to find any solutions having tried the ones above, I thought about what i changed when i migrated my windows install to a VM with gpu passthrouh on linux, and realized I disabled the hypervisor in startup settings. I thought it was weird that the windows bootloader UI looked like windows 7 and there was no automatic timer and I had to press enter every time I wanted to boot into a different bcdedit entry... |
Had the same problem, could not start Docker Desktop (and curiously also not install WSL 2). Turning the Hyper-V Windows feature off and on again solved it for me. So:
|
WslLogs-2023-07-26_03-10-04.zip
|
Same issue here. I have everything enabled on the windows and on my BIOS as well. Not sure why I'm getting this since I had WSL 2 running a while ago on the same machine. |
Did you give AskAlice's solution a try? If WSL gets in a bad state Windows apparently can automatically disable its bootup processes in msconfig. I think this happened to me when Docker Desktop had a really bad memory leak inside WSL2 |
aqui esta mi solucion https://www.youtube.com/watch?v=QW2DgEzb3Vc |
Thanks, it effects. |
The wrong drivers were installed in the motherboard. My problem fixed |
Hello,
I turned them back on, restarted and Ubuntu fired right up.
|
|
This is useful!! Thanks bro. |
Windows Version
Microsoft Windows [Version 10.0.22631.2050]
WSL Version
WSL version: 1.3.14.0
Are you using WSL 1 or WSL 2?
Kernel Version
Kernel version: 5.15.90.3-1
Distro Version
Ubuntu-20.04
Other Software
No response
Repro Steps
It worked a few weeks ago so I installed Ubuntu 20.04 distro. But now i am getting
`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...
[process exited with code 4294967295 (0xffffffff)]
You can now close this terminal with Ctrl+D, or press Enter to restart.`
After trying to start the distro within Windows Terminal 1.17.11461.0
Expected Behavior
Ubuntu WSL starts
Actual Behavior
`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...
[process exited with code 4294967295 (0xffffffff)]
You can now close this terminal with Ctrl+D, or press Enter to restart.`
Diagnostic Logs
I am running on a a pretty new AMD Ryzen 9 7940HS based ASUS ROG Zephyrus G14 (GA402XZ-NC021W).
SMT is enabled at BIOS, enable or disable Secure Boot does not seem to have any effect
I tried with no effect:
Enabled core isolation (memory integrity & Kernel mode enforced hardware stack)
Checked that file system is uncompressed
Reinstalling hyper visor plattform and virtual machine plattform through software control panel
Manually starting the LXSSMANAGER and validating that HV Host Service is running
Validated service logs (which were clean)
Created a new user at system... which ended up in same problems
Does anyone has an idea? Thank you!
The text was updated successfully, but these errors were encountered: