-
Notifications
You must be signed in to change notification settings - Fork 797
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
Any wsl command is met with access denied after installing ubuntu 24 #11560
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 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 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! Open similar issues:
Closed similar issues:
|
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! Open similar issues:
Closed similar issues:
Diagnostic information
|
Thank you @jsandr. Looking at the logs, this looks like the MSIX installation might be broken, but I wonder if you can call wsl.exe directly. Does calling: C:\Program Files\WSL\wsl.exe work ? |
Hi @OneBlue, yes wsl.exe does work. |
Anyone else with a better idea than re-installing in loops until it starts working again ? |
No, but I'm also having massive issues with ubuntu 24. After about 10 minutes, systemd entirely locks up (took forever just to get that much information) and it seems the last windows update did it in. Super frustrating. |
Windows Version
Microsoft Windows [version 10.0.22631.3527]
WSL Version
'Access denied' | ubutnu 24.04 LTS or Ubuntu 20.04.6 LTS
Are you using WSL 1 or WSL 2?
Kernel Version
Access denied
Distro Version
Ubuntu 24.04 LTS
Other Software
Wsl Ubuntu 20.04.6 LTS
Windows Terminal Version : 1.19.11213.0
Powershell 7.4.2
I had wsl2 with ubuntu 20 for a while, no issue there. I wanted to switch to the latest LTS and added ubuntu 24 through the store. Using Terminal it worked fine. I did not want to unregister the previous ubuntu version until I was sure I would still have everything working fine. Booting my computer this morning, every wsl command is met with 'access denied'.
Edit: Running as admin does no difference.
Repro Steps
Install Ubuntu 24 through the store, reboot the computer.
Open a terminal and run > wsl
Try to read wsl installed distros: > wsl -l
Expected Behavior
Actual Behavior
Diagnostic Logs
WslLogs-2024-05-06_10-09-13.zip
The text was updated successfully, but these errors were encountered: