Open raybeecham opened 2 months ago
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
I am seeing a similar issue that seems to be caused by Update KB5037853. On an clean installation of Windows 11 that did an update for KB5037853 I had the following with an existing WSL2 install when started
WSL2 is not supported with your current machine configuration.
Please enable the "Virtual Machine Platform" optional component and ensure virtualisation 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
When trying to install Ubuntu I got the following:
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80370102
Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS.
For information please visit https://aka.ms/enablevirtualization
Press any key to continue...
None of the troubleshooting steps in https://learn.microsoft.com/en-us/windows/wsl/troubleshooting#installation-issues made any difference.
I uninstalled KB5037853 and my Debian existing instance starts up fine and the Ubuntu installation completes. My working install is
WSL version: 2.1.5.0
Kernel version: 5.15.146.1-2
WSLg version: 1.0.60
MSRDC version: 1.2.5105
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22631.3593
Windows information is
Edition Windows 11 Pro
Version 23H2
Installed on 7/06/2024
OS build 22631.3593
Experience Windows Feature Experience Pack 1000.22700.1003.0
I will reapply the update and collect wsl logs and post those.
Okay, I've reapplied KB5037853 and its still working so please ignore the above comment. Could be the order of installation maybe?
Okay, I've reapplied KB5037853 and its still working so please ignore the above comment. Could be the order of installation maybe?
Yeah, I'm not sure what the problem is
I was able to use wsl2 normally, and encountered the same issue today, I modified the regkeys according to this: https://github.com/microsoft/WSL/issues/11697#issuecomment-2168104220 and the problem solved.
another option I found is this:https://askubuntu.com/questions/1401830/wsl-not-working-after-update-from-microsoft-store
I have same problem. I tried all possible methods. Today I started trying to look in the direction of Hyper-V. This is how I fixed the problem (disable Hypervisor):
reboot
bcdedit /set hypervisorlaunchtype off
reboot
bcdedit /set hypervisorlaunchtype Auto
reboot
Windows Version
Microsoft Windows [Version 10.0.19045.4412]
WSL Version
2.1.5.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.146.1-2
Distro Version
No response
Other Software
Repro Steps
Expected Behavior
Install Ubuntu 18.04 LTS
Actual Behavior
I receive this error: WslRegisterDistribution failed with error: 0x8037011e Error: 0x8037011e The host compute system service has disconnected unexpectedly.
Diagnostic Logs
DebugAnalysis.docx WslLogs-2024-06-07_09-13-13.zip