-
Notifications
You must be signed in to change notification settings - Fork 823
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
错误代码: Wsl/CallMsi/Install/REGDB_E_CLASSNOTREG #12282
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
|
By reference this method: #12278 (comment), sovled error "Wsl/CallMsi/Install/REGDB_E_CLASSNOTREG". But for Chinese language users, additional operations are required in powershell: 中文语言用户参考以下我修改后的命令:
Things to note:This error happens every time the wsl version is updated. I wonder if there is a problem with the 'wsl --update' command and if some of the code is only valid for the English language interface. The |
microsoft#12282 (comment) The install-latest-wsl.ps1 script cannot parse the operating "System Type" '$systeminfo = & systeminfo | findstr /C:"System Type"' due to language problems. In the Chinese interface environment, "System Type" is the Chinese "系统类型".
Windows Version
Microsoft Windows [版本 10.0.19045.4780]
WSL Version
2.3.26
Are you using WSL 1 or WSL 2?
Kernel Version
No response
Distro Version
No response
Other Software
No response
Repro Steps
wsl --update
Expected Behavior
I expected it would update to 2.3.26 successfully.
Actual Behavior
When I updated for the first time, an error occurred:
Could not write value to key \SOFTWARE\Classes\Drive\shell\WSL
,and with a log file.Then I followed the solution as shown in #11697 (comment),
Then I ran
wsl --update
again, another error occurred:Diagnostic Logs
wsl-install-logs.txt
The text was updated successfully, but these errors were encountered: