-
Notifications
You must be signed in to change notification settings - Fork 852
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
WSL2 Fails to Run with error code: Wsl/CallMsi/Install/REGDB_E_CLASSNOTREG #12138
Comments
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The script will output the path of the log file once done. If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here Once completed please upload the output files to this Github issue. Click here for more info on logging 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! Closed similar issues:
|
Diagnostic information
|
1 similar comment
Diagnostic information
|
solved after I assigned full control access to the SYSTEM account to the Start Menu folder and then re-install wsl2. |
I'm having issues with running WSL2 on my system.
At first, when trying to run WSL2, I received the error Error code: Wsl/CallMsi/Install/ERROR_INSTALL_FAILURE.
I followed the solution provided in [this link](#11697 (comment) - 2168104220), which involved renaming a registry key. After that, when I tried to run it again, I got a new error:
Error code: Wsl/CallMsi/Install/REGDB_E_CLASSNOTREG
.If I directly run the release - downloaded installation package, during the installation process, when it reaches about halfway, a prompt box pops up, saying: "An error occurred while attempting to create the directory: C:\ProgramData\Microsoft\Windows\Start Menu".
I also tried removing WSL from "Turn Windows features on or off", restarting my computer, and then adding it back. However, I still get the "REGDB_E_CLASSNOTREG" error.
I'm not sure what else I can do to get WSL2 to run properly. Any help or suggestions would be greatly appreciated.
WslLogs-2024-10-06_11-27-43.zip
The text was updated successfully, but these errors were encountered: