-
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
WslRegisterDistribution failed with error: 0x80070002 #12249
Comments
View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Open similar issues:
Closed similar issues:
Diagnostic information
|
Same failure for me. I encounter this problem after I upgrade the OS system on 11/13.
I tried these steps and it still not work:
Still the command "wsl --list" shows error like And the output of "wsl --install Ubuntu"
|
In my case, it turns out to be the problem related to plugin "Microsoft Defender for Endpoint plug-in for WSL"
And there is only one file the healthcheck.exe in the tools directory. |
Windows Version
10.0.26100.2033
WSL Version
2.3.24.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.153.1-2
Distro Version
Ubuntu 24.04
Other Software
No response
Repro Steps
C:\Users\wecha>wsl --install Ubuntu
Expected Behavior
expected Ubuntu to be installed.
Actual Behavior
C:\Users\wecha>wsl --install Ubuntu
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.
Diagnostic Logs
Could not run my existing Ubuntu distro, eventually resorted to reinstalling WSL from scratch in hopes it will resolve issue.
However still hitting same issue after uninstalling wsl and updating it.
C:\Users\wecha>wsl --update
Checking for updates.
The most recent version of Windows Subsystem for Linux is already installed.
C:\Users\wecha>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.2033
Attach are the logs when attempting to run cmd "wsl --install Ubuntu"
WslLogs-2024-11-08_14-50-11.zip
The text was updated successfully, but these errors were encountered: