microsoft / WSL

Issues found on WSL
https://docs.microsoft.com/windows/wsl
MIT License
17.18k stars 805 forks source link

wsl --install: WslRegisterDistribution failed with error: 0x80070002 #11707

Closed David9902 closed 6 days ago

David9902 commented 2 months ago

Windows Version

Microsoft Windows [Version 10.0.19045.4412]

WSL Version

2.2.4.0

Are you using WSL 1 or WSL 2?

Kernel Version

5.15.153.1-2

Distro Version

Ubuntu 22.04

Other Software

No response

Repro Steps

wsl --install Ubuntu-22.04

Expected Behavior

Ready made Ubuntu 22.04 wsl version 2 is accessable

Actual Behavior

Ubuntu 22.04 LTS ist bereits installiert. Ubuntu 22.04 LTS wird gestartet... Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80070002 Error: 0x80070002 Das System kann die angegebene Datei nicht finden.

Diagnostic Logs

Diagnostic logs: https://github.com/Microsoft/WSL/blob/master/diagnostics/collect-wsl-logs.ps1

WslLogs-2024-06-18_15-58-57.zip

github-actions[bot] commented 2 months ago

View similar issues

Please 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:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

Diagnostic information
Detected appx version: 2.2.4.0

OneBlue commented 1 week ago

@David9902: It looks like WSL is in a bad state. Doe reinstalling the latest package solve the issue for you ?

microsoft-github-policy-service[bot] commented 6 days ago

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-file it as a new issue.

Thank you!