microsoft / WSL

Issues found on WSL
https://docs.microsoft.com/windows/wsl
MIT License
17.23k stars 808 forks source link

WSL not working after windows update #10185

Open cederer3 opened 1 year ago

cederer3 commented 1 year ago

Windows Version

10.0.19045

WSL Version

1.2.5.0

Are you using WSL 1 or WSL 2?

Kernel Version

5.15.90.1

Distro Version

No response

Other Software

No response

Repro Steps

Any attempt to launch wsl is met with: 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

I have uninstalled all windows components and reinstalled. Turned virtualization off and back on in the bios. Everything.

Expected Behavior

Working wsl

Actual Behavior

Non working wsl

Diagnostic Logs

WslLogs-2023-06-11_12-37-18.zip

cederer3 commented 1 year ago

FeatureName : Microsoft-Windows-Subsystem-Linux State : Enabled

FeatureName : HypervisorPlatform State : Enabled

FeatureName : Microsoft-Hyper-V-All State : Enabled

FeatureName : Microsoft-Hyper-V State : Enabled

FeatureName : Microsoft-Hyper-V-Tools-All State : Enabled

FeatureName : Microsoft-Hyper-V-Management-PowerShell State : Enabled

FeatureName : Microsoft-Hyper-V-Hypervisor State : Enabled

FeatureName : Microsoft-Hyper-V-Services State : Enabled

FeatureName : Microsoft-Hyper-V-Management-Clients State : Enabled

neksodebe commented 1 year ago

Same issue here

salmansarwar5102 commented 10 months ago

same issue here

cederer3 commented 9 months ago

For anyone still dealing with this, I was able to resolve my issue by resetting windows as described here https://github.com/microsoft/WSL/issues/7183. I was able to keep all of my files and settings, so it wasn't a big deal though the issue was very troublesome. Once it was fixed and WSL was working, I just copied my old VM to the right location and it was back online.