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

WslRegisterDistribution failed with error: 0x80070002 Error: 0x80070002 #10099

Open
1 of 2 tasks
yikenie opened this issue May 12, 2023 · 2 comments
Open
1 of 2 tasks

Comments

@yikenie
Copy link

yikenie commented May 12, 2023

Windows Version

10.0.22000.1936

WSL Version

0.0.0.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

No response

Distro Version

No response

Other Software

No response

Repro Steps

I installed wsl2 on my computer, But it can`t open again one day. I tried to uninstall and reinstall it, But now I can`t install it again. I correctly update the kernel version and Windows version. Every way I tried but fails.

Expected Behavior

I want to install wsl2 to use docker, but I can`t install it. I tried to install wsl1 and update it to wsl2 but it fails.

Actual Behavior

I can`t install wsl2 whether I install it directly or update it.

Diagnostic Logs

No response

@djshah19
Copy link

djshah19 commented Nov 8, 2024

I am hitting the same error. How do I fix this?

PS C:\WINDOWS\system32> wsl --install -d Ubuntu
Downloading: Windows Subsystem for Linux 2.3.24
Installing: Windows Subsystem for Linux 2.3.24
Windows Subsystem for Linux 2.3.24 has been installed.
The operation completed successfully.
Ubuntu is already installed.
Launching Ubuntu...
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070002
Error: 0x80070002 The system cannot find the file specified.

Press any key to continue...
The operation completed successfully.

PS C:\WINDOWS\system32> wsl --update
Checking for updates.
The most recent version of Windows Subsystem for Linux is already installed.

PS C:\WINDOWS\system32> wsl --version
WSL version: 2.3.24.0
Kernel version: 5.15.153.1-2
WSLg version: 1.0.65
MSRDC version: 1.2.5620
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.26100.2161

@yikenie
Copy link
Author

yikenie commented Nov 12, 2024 via email

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