-
Notifications
You must be signed in to change notification settings - Fork 852
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
WslRegisterDistribution failed with error: 0x80070424 #8446
Comments
As I continued to try to resolve this problem, and I was going through my Apps on my Microsoft Store, I saw I add the app "Windows Subsytem for Linux Preview" installed. Trying to "open" it, would show the same error. I went to Settings > Installed Apps > Windows Subsytem for Linux Preview It would seem that if WSL is installed via the Store, then any interaction from the optional features does little to nothing in terms of reinstating the necessary configurations/services. |
Augmenting the ticket with data the previously was not available, as WSL would not be registered:
|
Thanks for reporting this @PMPP. It looks like something is weird with the way the WSL service is registered. Can you share the output of |
Hi @OneBlue , executing
But as a reminder, I was already able to solve the situation, so I wasn't able to run this command while I was having the problem. |
Thanks @PMPP. It's interesting that you're getting this error given that it looks like the service is correctly installed. Immediately after you start the service, what's the output of |
This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-open it. Thank you! |
I also encountered the same problem. This is the only one in a large number of search results that solved my problem, thanks a lot! |
Meet this problem and fixed it by pressed Repir button, tnx. |
i tried every possible method i found on internet including the ones mentioned here, nothing seems to work for me. |
Just faced this, tried everything here but it didn't work, until I tried this #10623 (comment) |
@rohiitgit see above |
That is probably because though wsl is updated, specific services hasn't been started and initialized. So, just start all the wsl services using this command: |
actually i solved it, it started working properly as soon as I uninstalled WSL from windows settings. It had two WSL installations, one named WSL and other as Updates for WSL |
same for me. Resolved by uninstall WSL from win settings. |
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 |
So simple fix , it worked for me :) |
|
Version
Microsoft Windows [Version 10.0.22621.1]
WSL Version
Kernel Version
The specified service does not exist as an installed service.
Distro Version
WslRegisterDistribution failed with error: 0x80070424
Other Software
No response
Repro Steps
Opening a cmd prompt and running
wsl
results in:The specified service does not exist as an installed service.
Opening
Windows Terminal
results in:Opening Ubuntu from the Microsoft Store results in:
Running
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
in a PowerShell with Admin Rights results in:More Windows Features has the checkbox CHECKED for:
I've tried to UNCHECK them, restart the computer, CHECK them again, restart. The problem continues.
Since I saw on other tickets requests to do share logs by performing
I've done it, what I attempted to do while collecting logs:
wsl
from a cmd promptExpected Behavior
I would expect WSL to run, but I would also expect a clearer message on what service is exactly expected to be running.
I would also expect any service linked to WSL to be registered once I try to install WSL, and if there is any failure in the installation of WSL to be notified of such.
Actual Behavior
I am instead presented with error messages like this one when trying to open the Ubuntu APP:
Diagnostic Logs
WslLogs-2022-05-26_02-07-51.zip
The text was updated successfully, but these errors were encountered: