microsoft / WSL

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

Error 0x8007019e and Wsl/CallMsi/0x80070424 and Wsl/REGDB_E_CLASSNOTREG #11683

Closed Denn1s02 closed 4 months ago

Denn1s02 commented 5 months ago

Windows Version

[Version 10.0.19045.4412]

WSL Version

2.0.9.0

Are you using WSL 1 or WSL 2?

Kernel Version

-

Distro Version

-

Other Software

-

Repro Steps

Was running WSL Version 2.0.9.0 along with Ubuntu Distro After the wsl --update command wsl did not work. So i restarted and WSL was gone. Enabled and Disabled Windows features VM, WSL, Hyper-V, not working. Ubuntu says Linux Subsystem not activated 0x8007019e, altough it is. WSL in \System32 says Wsl/CallMsi/0x80070424. Basically not able to perform any wsl commands. WSL in \WindowsApps\2.0.9.0\ says Wsl/REGDB_E_CLASSNOTREG. In WindowsApps I noticed that a new Version was added 2.1.5.0 without effect. Tried to uninstall WSL and Ubuntu in order to reinstall it, wsl cannot be uninstalled/repaired etc. because it is gone from Settings and WindowsApps wont let me delete the folder. Also cannot uninstall ubuntu. When trying to install wsl manually I get failed to remove MSIX, I assume because it has not been uninstalled. After troubleshooting 10 hours I've had enough

Expected Behavior

Was running wsl --update command because of another minor qemu issue. The forum suggested to update the wsl version so I did. Expected to solve the issue and happily move on. But now I surely regret doing this.

Actual Behavior

Wsl not working. Ubuntu not working. Hope someone can help me. Thank you in advance!

Diagnostic Logs

Here are the screenshots and the log file of opening ubuntu, wsl and installing wsl WslLogs-2024-06-12_08-59-09.zip 2024-06-12 02_59_57-Downloads 2024-06-12 02_44_18-C__Windows_System32_cmd exe 2024-06-12 01_59_53-WindowsApps 2024-06-12 01_39_50-WindowsApps 2024-06-12 01_33_41- 2024-06-12 00_43_27-The specified service does not exist as an installed service  Error code_ Wsl_0x 2024-06-12 00_43_20-The specified service does not exist as an installed service  Error code_ Wsl_0x 2024-06-12 03_30_23-Ubuntu 2024-06-12 03_30_09-C__Windows_System32_cmd exe

github-actions[bot] commented 5 months ago

Logs are required for review from WSL team

If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

How to collect WSL logs Download and execute [collect-wsl-logs.ps1](https://github.com/Microsoft/WSL/blob/master/diagnostics/collect-wsl-logs.ps1) in an **administrative powershell prompt**: ``` Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/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](https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#8-collect-wsl-logs-recommended-method) If you choose to email these logs instead of attaching to the bug, please send them to wsl-gh-logs@microsoft.com with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.

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.

github-actions[bot] commented 5 months ago
Diagnostic information ``` Issue was edited and new log file was found: https://github.com/user-attachments/files/15800222/WslLogs-2024-06-12_08-59-09.zip Detected appx version: 2.0.9.0 Detected user visible error: Detected user visible error: ```
microsoft-github-policy-service[bot] commented 4 months 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!