WSL: WslRegisterDistribution failed with error: 0x80370114 & Hyper-V Host Compute Service (vmcompute) cannot be started
Version
19044.1706
WSL Version
- WSL 2
- WSL 1
Kernel Version
No response
Distro Version
ubuntu20.04
Other Software
No response
Repro Steps
install wsl on windows
Expected Behavior
work well
Actual Behavior
After I execute
wsl --install -d ubuntu
and it shows ubuntu window, then shows
WslRegisterDistribution failed with error: 0x80370114
Error: 0x80370114 ???
And then:
I follow these link’s steps:
https://answers.microsoft.com/en-us/insider/forum/all/wsl-2-installing-linux-failed-error-code/bae391d1-4215-4d93-b0c4-3d96404a7c74
and run “net start vmcompute”, but the shell then shows:
"The service name is invalid. Type NET HELPMSG 2185 for more help。" How should I solve it? thank you very much!
Diagnostic Logs
No response
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 28
I had this error. The solution was that in ‘Turn Windows features on or off’ I had Hyper-V as the top level button ticked, but I also needed to tick Hyper-V -> Hyper-V Platform -> Hyper-V Hypervisor and also Hyper-V Services. That asked me to reboot and then WSL worked.
(I’m running Windows inside a KVM virtual machine and that makes things a little janky, especially at reboot time where I often get dumped into the recovery menu, but when successfully rebooted WSL does work)
I had the same error code : 0x80370114 My problem was not due to Hyper-V or a virtual machine installation issue.
The error was due to WSL version mismatch ! My default wsl version was set to ‘2’. After changing it to wsl-1, the problem was resolved.
To check the current version of wsl :
wsl --statusTo set the default version to ‘1’ :
wsl --set-default-version 1Oh wow… finally figured it out. All the solutions were saying unchecking override system for Control Flow Guard for the specific app in Exploit Protection worked for them… but for me this box was not checked. For me, the issue was that Control Flow Guard was set to Off in Exploit Protection>System Settings (not Program Settings override as seemed to be the issue for others). Changing CFG in System Settings to Use default (On) FINALLY fixed it.
win10, wsl2, when installing ubuntu22.04, the error message as below:
when run
net start vmcompute, show system error 1058My solution: open cmd
https://stackoverflow.com/questions/77142368/wslregisterdistribution-failed-with-error-0x80370114-mojolang
It turned out to be the VT-d bios issue . Thanks @Martinvik and others for the help.
Hei, Had the same problem.
went on “Turn Windows Features on or off” -> checked: “Virtual Machine Platform”, “Windows Hypervisor” and “windows subsystem for Linux”. Also i went in my Bios and turned on VT-d if this is possible for you.
Then i went in powershell wrote code: wsl.exe --install Ubuntu
Works for me now, hope it helps.
Kind regards, Martin