-
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
The specified service does not exist as an installed service. Error code: Wsl/0x80070424 [process exited with code 4294967295 (0xffffffff)] #10779
Comments
The latest windows updates completely broke my wsl. Disabling/re-enabling features did not help. Complete uninstall and reinstall of wsl and distributions does not help. At one point the wsl executable was working again but after wsl --update it was yet again broken and reports: |
Now my wsl works again. What I did was:
I am not sure if all the steps were necessary or if the list above is incomplete. At one time I had wsl.exe working again but it complained that it needed a kernel update. Running wsl --update resulted in the original error (The specified service does not exist as an installed service. Error code: Wsl/0x80070424) and I had to start over again. |
Great stuff, not only did my office Windows Pro laptop had this issue, my personal Windows Home laptop has the exact same issue! |
/logs |
Sadly what I did on Windows Pro does not seem work on Windows Home. Only as Administrator priviliges I can start wsl, otherwise I get this error: WslLogs-2023-11-17_23-54-29.zip I will give up on trying to get wsl to work on my personal laptop. At least I got it to work on my work laptop where I need it for work. It has taken me all day and it is a waste of time. |
@bousch: Based on the output it looks like WSL is in a bad state. Can you try uninstalling WSL, and then re-install it via the MSI package ? |
@bousch How did you uninstall all your distros? I tried to do using the usual uninstall programs from settings but every time I restart the installation ( |
@OneBlue Thanks, yes, I have uninstalled/rebooted/reinstalled many times. I will try again today as I was not in the best mood after trying all day yesterday :) |
Yea, I'm not able to get the executable working at all except for |
Ok so I had the exact same thing (with two WSLs showing up), I removed the smaller one and ran the Interestingly, after I removed the smaller WSL entry from Apps & Features, anything I ran (such as |
I also had this exact situation where every wsl command showed the help text. I think I then executed "wsl --update --inbox" as Administrator in a cmd.exe Command prompt. It would not work from Powershell as Administrator. Or it was the other way around. Sorry about that, I have tried so many combinations that I can't remember exactly.
Also check some of the other issue threads, some issues of the last couple of days are related/similar.
For instance #10782 and #10767.
I was able to fix it on both my laptops with slightly different steps.
…On Sat, 18 Nov 2023, 18:25 Omar Tsai, ***@***.***> wrote:
Ok so I had the exact same thing (with two WSLs showing up), I removed the
smaller one and ran the wsl --install -d Distroname command. But after
that, running any wsl commands will fail except for help.
Interestingly, after I removed the smaller WSL entry from Apps & Features,
anything I ran (such as wsl --update --inbox) would just prompt the help
menu
[image: image]
<https://user-images.githubusercontent.com/9442294/284013797-3bdc6446-70fd-4747-8f11-a51512a46851.png>
—
Reply to this email directly, view it on GitHub
<#10779 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADAEFJF2KQS555NTTW3YQXTYFDVRVAVCNFSM6AAAAAA7PEKX7CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJXGU3TMNJRGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Just updated my W10 PC and I now have the same problem. WSL shows version 2.0.9, it does not work in user mode but works only in administrator mode ...
|
Ok. I finally fixed WSL. I haven't re-imported my files, but what I had to do was a complete re-installation of WSL. These were the steps I took:
and now it works. I also tried using #10764 as previously mentioned, but I wasn't able to find that registry entry so skipped the steps. (Also note that I'm too afraid to update to 2.0.9 in-case anything bricks 😬) Additionally, I haven't imported my |
Closing as solved for now. |
Launching WSL from a terminal with administrator privileges seems like a temporal workaround. Can somebody else confirm? |
Nice! BTW afaik you do not have to import the ext4 file. You can just install the same distribution, do wsl --shutdown and overwrite the ext4 file in localappdata with your ext4 backup file. |
yes, in the end you should be able to run wsl as your regular user. Try to follow the steps Omar2535 described. Something similar worked for me on Windows 10 Pro. On Windows Home the same steps did not work for me, than maybe follow the steps I described above. I also did not mess with the windows registry. |
Windows Version
Microsoft Windows [Version 10.0.22621.2715]
WSL Version
2.0.9.0
Are you using WSL 1 or WSL 2?
Kernel Version
No response
Distro Version
No response
Other Software
No response
Repro Steps
WSL is now unable to launch following a Sindows update. Attempted to diagnose this issue by following the comments in #10755 (Disable hyper-v, enable virtual machine, reinstall WSL) but still doesn't work.
Expected Behavior
WSL to launch
Actual Behavior
Errored out with this:
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: