-
Notifications
You must be signed in to change notification settings - Fork 840
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 --install fails with unknown error code (0x80240066) #9385
Comments
/logs |
Hello! Could you please provide more logs to help us better diagnose your issue? To collect WSL logs, download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
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 Thank you! |
Thanks for your reply, attached are the log files. |
Thanks @omri-ratson. Based on the logs it looks like your account doesn't have sufficient permissions to install WSL. Is it an administrator account ? |
This is my employer's workplace machine. |
I was able to get it to install with wsl --install --web-download (I was also getting this access denied error running from Windows 11 when I checked the windows store logs in event viewer) |
Hi, |
try to run
|
Thanks to @felipementel this worked for me: |
Version
Microsoft Windows [Version 10.0.22000.1335]
WSL Version
Kernel Version
No response
Distro Version
No response
Other Software
No response
Repro Steps
wsl --install
Expected Behavior
wsl --install
should install newest version of wsl (new machine with windows 11 version 21H2)Actual Behavior
Installing: Windows Subsystem for Linux Error: 0x80240066==========90.0%===================== ]
The same error number is reported by The windows store or
winget
.Diagnostic Logs
I've tried to look at the issue #9039
I'm not sure it's a duplicate since he is running
wsl --update
while I'm not even able to install wsl.I can imaging the root cause is the same but I don't know how to verify this.
I've installed wsl for 5 times in the last year and a half (testing different machines) and haven't had an issue like this before.
The text was updated successfully, but these errors were encountered: