-
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
WSL --install fails with "Error: 0x80070424 The specified service does not exist as an installed service" #10754
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. 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. Thank you! Open similar issues:
Closed similar issues:
You can give me feedback by thumbs upping or thumbs downing this comment. |
It's not just a problem installing WSL, the same error is happening when launching already-installed WSL after Windows Update. See #10755 (someone already closed it on account of workarounds, which might help here too, but the issue remains). |
Re-Enabling Virtual Machine Platform solved my issue. #10760 |
I've had this issue for a few days. None of the other fixes such as disabling and reenabled WSL services in Windows Features worked for me. I attempted to completly uninstall WSL and noticed I had 2 versions listed in the installed programs list. 1 version would uninstall fine, the other (which install date matched the day I started seeing this issue) would not unsintall with the message 'installation package could not be opened'. I used a 3rd party uninstall program to remove all registry entries and associated files. Rebooted, then installed the pre-release 2.0.11 : https://github.com/microsoft/WSL/releases/tag/2.0.11 . It now works and no data was lost as I didnt uninstall any distros. |
Estou com esse erro wsl --install ubuntu Podem me ajudar? |
I had the same issue |
In my case, I needed to enable the following from Programs and Features -> Turn Windows Feature on or off:
|
go to Applications select windows linux subsystem app, advanced options, repair |
Doesn't work in windows 10 |
i'm using windows 10 :) |
For me, the cause was Comodo Auto-Containment. To explain . . . I went through a process of deduction to find out what the cause was for my terminal not running as expected. I tried to stop/start the Then I thought back to what I had changed since I last ran the container. The only things I could think of were Malwarebytes, and Comodo Firewall (which comes with some fancy features). I quit Malwarebytes - negative. I turned off all Comodo features - SUCCESS! Then narrowed it down to |
When I came across the issue, I was running an up-to-date Windows 11. I already had the Hyper-V features enabled (reasons unrelated to WSL) and Windows Subsystem for Linux enabled. The fix for me was simple; I had to enable the Virtual Machine Platform Windows feature. No restart was required after enabling this feature. Lastly, I ran |
Finally it worked! Thanks for sharing! |
I reinstalled WSL from And then everything works well now. But I still can't see the Windows Subsystem for Linux service running in taskmgr. So weird. |
I was experiencing the same problem and disabling features like WSL, Hyper-V and Virtual Machine Platform and restarting didn't work for me. What I did to solve it was activate the features described above and restart and manually install WSL through the link: https://github.com/microsoft/WSL/releases. Try downloading the latest version (I recommend a non-preview version) and installing. I was installing Podman when I had this problem. |
Windows Version
Microsoft Windows [Version 10.0.22631.2715]
WSL Version
2.0.9.0
Are you using WSL 1 or WSL 2?
Kernel Version
No response
Distro Version
Ubuntu
Other Software
No response
Repro Steps
Installing subsystem distro fails if i run
wsl --install Ubuntu
Already tried following:
-Remove and reinstall Hyper-V and Subsystem
Expected Behavior
Actual Behavior
C:\Users\user>wsl --install ubuntu
Ubuntu on jo asennettu.
Käynnistetään Ubuntu...
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070424
Error: 0x80070424 The specified service does not exist as an installed service.
Diagnostic Logs
WslLogs-2023-11-15_08-54-49.zip
The text was updated successfully, but these errors were encountered: