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

install WSL distribution with error code 0x80070001 #6172

Closed
Ikki-Dai opened this issue Oct 30, 2020 · 5 comments
Closed

install WSL distribution with error code 0x80070001 #6172

Ikki-Dai opened this issue Oct 30, 2020 · 5 comments
Labels
failure-to-launch failure to launch

Comments

@Ikki-Dai
Copy link

Environment

OS Name: Microsoft Windows 10 Professional
OS Version: 10.0.19041 N/A Build 19041

Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]
Your Distribution version: [On Debian or Ubuntu run `lsb_release -r` in WSL]
Whether the issue is on WSL 2 and/or WSL 1: [run `cat /proc/version` in WSL]

Steps to reproduce

  1. seems upgrade from previous version to win10 20.04
  2. reinstal wsl distribution with this error code

WSL logs:

Expected behavior

wsl should be install success with tips which need to set username and password

Actual behavior

cmd give tips as below

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070001
WslRegisterDistribution failed
Error: 0x80070001 ??????

Press any key to continue...

and any wsl distrubition from ms store to install with the error

@therealkenc
Copy link
Collaborator

Please collect WSL logs and post the backlink to the feedback item here.

Ref #4420

@Ikki-Dai
Copy link
Author

Ikki-Dai commented Nov 2, 2020

https://aka.ms/AAa502l

@therealkenc therealkenc added the failure-to-launch failure to launch label Feb 11, 2021
@Ikki-Dai
Copy link
Author

Ikki-Dai commented Mar 18, 2021

after upgrade from wsl 1 to wsl 2, and run wsl --set-default-version 2

and here install an any distro form MS-Store, it show as below

WslRegisterDistribution failed with error: 0x80070001
WslRegisterDistribution failed
Error: 0x80070001 ??????

and if run wsl --list -v, it show nothing

if now run wsl --set-default-version 1 to set version back
then the installation can be processed success.

@Looooooka
Copy link

Just tried installing docker and this error came up. Trying a custom distro from the app store(Alpine) I was able to install it after running wsl --set-default-version 1 t
Still unable to start docker though.
Windows 11 Pro 10.0.22000

Copy link
Contributor

This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.

Thank you!

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

No branches or pull requests

3 participants