-
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
Error: 0x80040326 when opening WSL #9866
Comments
Exact same issue here since this morning. OS: Windows 10, 10.0.19044 |
Same issue this morning after a system reboot
OS: Windows 11, 10.0.22621 |
Same issue here: Versão do WSL: 1.1.3.0 |
Same issue after powering up this morning. I am using WSL2 on Windows 10. WSL version: 1.1.3.0 Diagnostic log attached. |
same issue 😢
WSL Version: 1.1.3.0 |
Forced an update check in the Microsoft Store and an update for WSL appeared. Problem is resolved with this version: WSL version: 1.1.6.0 |
@Joshua-IRT 's
or
may resolve this issue. |
@peccu can confirm - I had the same error but updating WSL resolved it. |
btw, |
Just in case anyone got error $ wsl --update
Checking for updates.
Error: 0x80240438
Error code: Wsl/UpdatePackage/0x80240438
$ gsudo wsl --update
Checking for updates.
Updating Windows Subsystem for Linux... |
Restart the computer and immediately execute "wsl--update" on powershell. After that, my problem was solved |
This solves my issue. |
Can confirm wsl --update has fixed this issue atm. |
|
wsl --update |
try downloading from this https://github.com/microsoft/WSL/releases/download/1.1.6/Microsoft.WSL_1.1.6.0_x64_ARM64.msixbundle and update |
use wsl --update is right |
When I trying
but manually downloading and installation via this link actually fixed my problem. |
Any ideas what is causing this? I didn't notice any Windows updates in the past days. |
After seeing this, I decided to test it out with my second PC. Sure enough, after rebooting I had the same problem with opening WSL. Under "Turn Windows features on or off":
As Hyper-V is not required for WSL, this does not appear to be a config change. Still no idea what caused this issue. |
Did Docker is unable to start now due to a
This error also persists when disabling the WSL2 integration in Docker, and I can't start Docker for Desktop on Windows anymore. WSL2 now works fine, but no docker. It's quite curious, everything was working fine yesterday, shutting off the computer, turning it back on ~8 hours later and WSL was broken, without any update from my side. |
Same issue on multiple computers in our institution. All started today and all fixed with wsl --update. Would be great to understand what the cause of this is. |
|
I'm having the same exact problem, no matter what I do (purge data, factory reset, manually delete docker related folder), Docker Desktop is stuck showing the "Docker Desktop starting..." message until it crashes. |
Been struggling with this all day. Ended up uninstalling Docker Desktop -> restart laptop -> re-installing Docker Desktop which has worked for me. Unsure about the specific cause |
I had this same issue after downgrading from 1.1.6 to 1.1.5. The command |
That's the last thing I want to do, but it's helpful to know that it may actually fix the problem. Thank you, if nothing else work I'll go that way. |
I also had this issue. Re-install docker desktop using the latest installer (4.17.1) worked for me. Before re-installing, I was using a little old version (4.6). No uninstallation was needed. |
@SogoKato Super curious as to what caused this (and how many developer hours were lost today :D) |
I can confirm that installing the 4.17.1 version of Docker Desktop solved the problem for me too, after uninstalling the previous version.
Too many to count I'm afraid ;( |
If you're seeing this issue please run Locking the thread so this answer stays at the bottom for any new users searching for this. We will update this thread when the longterm fix is available. Thank you! |
Thanks for posting! The fix for this issue is to run For some background there used to be some logic to print a "A new version of WSL is available" message. The handling of that error (which was non-fatal) was removed when we added Windows Notifications, but the error was still getting returned. This started triggering when I tagged the 1.1.6 build as the latest build on GitHub. I have a fix for the code, but in the meantime I have re-tagged the 1.1.6 build as prerelease. So this should solve the issue moving forward. |
Will reopen issue so it is more visible. |
@benhillis What about those of us who ran "wsl --update" to fix it and are now on 1.1.6? With 1.1.6 being re-tagged as pre-release, will it be released again as 1.1.6. Should we stay on 1.1.6, or perhaps downgrade? Please advise, thanks. |
I am having the same problem with WSL on Windows 10 (it's not just on Windows 11). The "wsl --update" fixed the issue but broke Docker Desktop. |
Docker Desktop broken for me as well. Tried installing latest version over the old but didn't work. |
Got error : for command updating wsl works for me , thank you |
This error could happen when your sysadmin blocks windows store. To avoid a manual download, you can use the web-download option: |
Windows Version
Win 11 22621.1413
WSL Version
1.1.3.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.90.1
Distro Version
22.04
Other Software
No response
Repro Steps
Repro steps:
I received an "Error: 0x80040326" when attempting to open WSL on Windows 11. This error appears after I have opened several WSL tabs and have been working with them for a while. When I try to open a new tab, the error appears in the Command Prompt or PowerShell, while the old WSL tabs still work normally.
However, when I open a new terminal tab in VSCode, everything works normally. This issue only occurs with WSL tabs opened in the Command Prompt or PowerShell.
Therefore, I am seeking the support of experts to identify the cause of this issue and provide a solution. My Windows 11 version is up-to-date, and I am using WSL2.
Expected Behavior
Can open wsl without error
Actual Behavior
It throw error
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: