-
Notifications
You must be signed in to change notification settings - Fork 821
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 code: Wsl/Service/CreateInstance/0x80040326 when starting WSL Distro #9867
Comments
The timing of this in relation to when #9866 was opened seems suspicious, as I'm not a huge believer in coincidence. However, the error code on my issue is different (though the error number is the same), and WSL does not open in VSCode, so I'm opening this as a separate issue. |
Appears to be related to #9866 in that issuing "wsl --update" from a PowerShell prompt updated WSL which seemed to fix it. WSL version: 1.1.6.0 However, I'd love to know what broke it in the first place, as I hadn't manually updated WSL recently. Closing issue as fixed. |
Same issue and use "wsl --upate" fixed it. |
same issue here: |
Same! I was in several terminal sessions working and they were all closed with WSL error. Rebooted machine which didn't fix and found this post! |
Same issue here with Chinese Win11 22H2, run |
I had the same issue on Windows 10, |
same issue, did wsl --update didn't work, but after sometime I got windows notification about successful update and then it started working again. |
same issue as the rest above and fix. why would wsl just break by itself without an update? this is raising reliability questions on what should now be a stable platform. |
had the exact same issue when starting windows 11 an hour ago. Resolution |
same issue here: |
I can’t thank you sleavitt enough. |
Thank you. That must have been one of the quickest problem-->solution sprints I had :) |
Same issue here. The timing is indeed suspicious. |
Same issue here, but I on
However, uninstalling "Oracle VirtualBox" (I should never have installed it in the first place, I know...), deactivating the windows feature "Windows Subsystem for Linux" and re-activating it again solved the issue for me. |
@tbraun-hk
|
Windows 10
Unfortunately, I found this ticket after having tried just about everything else, so my windows terminal settings are reset etc. Bummer |
After being stuck on a Chat GPT4 dialog on how to check the health of my WSL2 I'm so glad to have found this thread. Everything described above worked also for me.
I feedbacked this thread to GPT-4, maybe it will learn from it. |
I used the command "wsl --update", but it didn't return right result and it was always stay in "Checking for update...". How should i do? |
Are you able to monitor the network traffic to check if any firewall rules are blocking the update request? For example turning off the Windows firewall might help. |
|
It fixed it for me too for my WSL distros on Windows 11. |
Thank you, but i find a new solution. Inputting the command "netsh winsock reset" in terminal and restart the computer which can resolve the issue. |
To diverge from the conventional answers
And on running The good news is after 3-4 attempts, it eventually started (unusually verbosely) without having to reboot - for once windows did not need a reboot!! |
wsl.exe --update !! fixed !! Thank you ! |
Amazing, it worked. Thanks !! |
W11, 21H2 here |
someone after this problem has also issue with docker desktop? it doesn't start anymore, without any type of error, just stuck on starting |
same issue here, after a wsl --update it works |
Fixed it for me on one laptop, on another laptop I had hit the error WSL broken with "Class not registered " Wsl/0x80040154 after installing update Stack Package - (Version 1023.322.4012.0). |
confirming wsl --shutdown followed by wsl --update in PowerShell is a fix, also solved my docker issues @eilgug |
For me, I just turned the firewall on and the problem was fixed, try it this might help you |
Just a temporary problem seems. A forced update? Anyway no-harm-to-try. |
Did your windows get updated? |
I've tried the
Versions:
|
Same issue. |
you can always try to reinstall an old version like Microsoft.WSL_1.1.3.0_x64_ARM64.msixbundle |
Fixed it for me. I run on Windows Education, the Microsoft Store is disabled here for privacy, security and bloatware protection. |
Thanks @Sieboldianus, worked for me as well. |
Windows Version
Microsoft Windows [Version 10.0.19045.2788]
WSL Version
1.1.3.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.90.1
Distro Version
Ubuntu 22.04
Other Software
No response
Repro Steps
Open Windows Terminal, open a new tab for a Linux Distro.
--OR--
Open Command Prompt or PowerShell, type "ubuntu" and hit enter.
--OR--
Open VSCode, Click Terminal -> New Terminal, and select a Linux (WSL) distro.
Expected Behavior
Distro should open normally.
Actual Behavior
Error: 0x80040326
Error code: Wsl/Service/CreateInstance/0x80040326
Press any key to continue...
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: