I ran into this exact issue today. I managed to resolve it by using the Control Panel (not settings) to turn windows features on or off and enable Virtual Machine Platform. This gave me vmcompute.exe as expected and I was able to follow the subsequent steps for troubleshooting to fix the issue
Resolving Error: 0x80370114 The operation could not be started because a required feature is not installed.
(Windows 10 2022H2)
I am really stuck on this error, is there anything else I can try? Is there anything I can try? I seem to be unable to update WSL.
Running in Powershell:
wsl --update
returns
WslRegisterDistribution failed with error: 0x80370114
Error: 0x80370114 The operation could not be started because a required feature is not installed.
I have tried multiple variations of ensuring virtualization is turned on, and enabling various related features, following the steps in the below answers.
Running:
wsl --set-default-version 2
returns 'The operation completed successfully.'
However from wsl -v:
WSL version: 1.1.3.0
Update 9/3: Following some of the early steps here (https://softwaretested.com/windows/wslregisterdistribution-failed-with-error-0x80370114/) I can see that it states to:
- Find the Hyper-V Host Compute service by going to this path: C:\WINDOWS\System32\vmcompute.exe.
vmcompute.exe isn't running or found on my machine (even though many Hyper-V services are). This probably is part of the issue?
Referencing:
https://stackoverflow.com/questions/66091744/docker-failed-to-start/68768646#68768646
8 answers
Sort by: Most helpful
-
-
13657895 5 Reputation points
2023-03-14T11:31:41.5266667+00:00 I've found that the reason for this error was that the Virtual Machine Platform was not remaining enabled due to a windows update error (features were being rolled back at install following the reboot).
Reinstalling windows seems to have resolved this, WMP remains enabled now, and then wsl --install is successful.
-
13657895 5 Reputation points
2023-03-14T11:32:27.74+00:00 I've found that the reason for this error was that the Virtual Machine Platform was not remaining enabled due to a windows update error (features were being rolled back at install following the reboot).
Reinstalling windows seems to have resolved this, WMP remains enabled now, and then wsl --install is successful.
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more
-
Saeed Hossam 0 Reputation points
2023-07-25T13:34:56.0266667+00:00 My Virtual Machine Platform checkbox was checked, but Hyper-V wasn't checked, which is essential in running WSL I guess, because when I checked it, my computer required to be restarted, and then it worked.