-
Notifications
You must be signed in to change notification settings - Fork 846
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
WSL2 distro failing to startup with code 4294967295 #5092
Comments
Solve "process exited with code 4294967295" , run
|
Does not resolve the issue. |
Stopping Hyper-V service from Hyper-V manager app solved this issue. |
I had a customer's VPN client installed on my machine (Cisco AnyConnect VPN), the customer's installation package also installed dnscrypt. Uninstalling this has resolved the issue on my machine, confirming other threads that indicate the issue is usually related to network issues... particularly port 53. |
works for me, Thanks |
I'm having this issue in a variety of situations. 1.) I'm just working and I close the terminal or ubuntu. Then I'm locked out of it Nothing fixes it. None of the above stuff mentioned has fixed it, neither have any other forum pages. The only solution for me is to leave my PC running and every few hours to come back and check to see if it's fixed or still broken. |
@forecho That does not fix it. |
I just tried to open vhdx file in C:\Users\TrueAlex\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu20.04onWindows_79rhkp1fndgsc\LocalState |
WSL2 works fine on 19640, but fails with same code on 19645. I already had my WSL2 set up, but this update failed it. Checking for updates on 19645 resulted in nothing, even though release notes mentioned we should get kernel with Windows Update. Had to roll back to 19640 for now. |
I'm solved this with: DISM /online /disable-feature /featurename:VirtualMachinePlatform /norestart
DISM /online /disable-feature /featurename:Microsoft-Windows-Subsystem-Linux /norestart Reboot, and then: DISM /online /enable-feature /featurename:VirtualMachinePlatform /norestart
DISM /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /norestart |
I was seeing the same issue and managed to fix it (at least for now!) I opened the Resource Monitor and checked the "Listening Ports" so I could see what processes were using port 53, and found dockerd.exe and svchost.exe. As there are too many instances of svchost.exe I used the PID to find the process on Task Manager, right-clicked and selected "Go to Service" and found out that it was "SharedAccess" (ICS). At this point I killed dockerd.exe and stopped SharedAccess service (that immediately started again) and that was enough for me to get WSL distro running again! |
@pedrolamas, thanks for posting what worked for you! I don't have Docker for Windows installed (so no dockerd.exe), but managed to work around the "process exited with code 4294967295" by simply stopping SharedAccess as you mentioned. I can't believe WSL team is taking so long with this issue, which clearly is happening to many users AND is preventing us from doing our work. |
@pedrolamas It worked for me too, I don't use Docker much so I removed it. I'll reinstall it and try again later tonight. |
This works for me |
I get this error every time I reboot. @pedrolamas Do you if there's a more permanent workaround until the issue gets resolved? Thanks for the investigation btw! |
@skorov I'm afraid I don't have a more permanent solution for this, that will have to come from Microsoft themselves... |
+1 None of these solutions are working for me. My machine just updated overnight and I got the Access Denied message... |
Sucessfully reset the Winsock Catalog. Did not work for me. My solution was: Uninstall Docker Desktop |
same issue here. |
I made it work by following : then kill SharedAccess service. And it wasn't enough, so I opened a powershell with Admin grants and typed : |
For me, killing SharedAccess service and restarting Docker did not help. However, running |
None of these solutions are working for me. I made it work by uninstalling "Windows Subsystem for Linux Update" and install it again. |
I stopped my OpenVPN client and wsl works. strange issue. |
OS : Windows 11I had the same issue with my wsl distro, and the work arround it was to update wsl. in Powershell just put the following command:
and after update and shutdown restart your distro. |
This works for me. I met this issue after uninstall Docker Desktop. |
This works for me on Windows 10. I met this issue at morning when I have started to work (after started my PC) |
as noted above - I had to update and shutdown WSL, but it didn't fully get repaired until I restarted my PC. It's back to working now. |
Also had this issue on Windows 10 today. After executing those two commands it worked again. Feels like it's some kind of incompatablilty with the previous windows kernel version. |
I went to Task Manager on Windows 10 and shut down old WSL2 session which was still running. Simply killing the background process fixed the isssue for me. Unfortunately it's a one-off solution. For some reason WSL2 doesn't terminate properly even with a command like |
This works for me. Note: I also have to go to Terminal -- Select Setting -- Select Ubuntu -- Select Starting directory -- Change the directory to ~ ( This will start your ubuntu in \wsl\Ubuntu\home<yourUserName> ) |
In my cased it worked after I closed many other applications. Somehow when I have too many RAM and CPU hungry applications running the WSL fails to start, after running "netsh winsock reset" and closing some of them the WSL started again. |
This is working for me, as well. Open a PowerShell |
I frequently encounter this error on WSL2 and none of the solutions here work reliably. I'll do a |
I have this same issue on Windows 10. In my case, it seems to have some correlation with keeping a RDP session alive and dis/reconnecting with some time in-between. Hard to figure out anything more than that. The one that consistently fixes it for me is the following in an admin powershell: In my case, PS: Microsoft Windows [Version 10.0.19044.2006] |
|
Same as @ArturKT. Additionally, That worked instantly without need to reboot.
Version WSL : 1.2.5.0
Version du noyau : 5.15.90.1
Version WSLg : 1.0.51
Version MSRDC : 1.2.3770
Version direct3D : 1.608.2-61064218
Version de DXCore : 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Version de Windows : 10.0.19045.3086 |
Yesterday wsl worked.
Now i get the same issue:
I Tryed all of this issue, nothing worked. |
For me, the cause was Comodo Auto-Containment. To explain . . . I went through a process of deduction to find out what the cause was for my terminal not running as expected. I tried to stop/start the Then I thought back to what I had changed since I last ran the container. The only things I could think of were Malwarebytes, and Comodo Firewall (which comes with some fancy features). I quit Malwarebytes - negative. I turned off all Comodo features - SUCCESS! Then narrowed it down to |
not sure if it is a permanent fix for myself but I went into task manager then services and restarted the wsl service and now I can access my distro through the terminal |
Hello guys, Tried most of the solution above, none worked for me. What worked for me (keep in mind that I executed most if not all the solution above, might had an effect but didn't work until the following solution) : 1 . Go in the "Enable or disable windows feature" panel
wsl worked again. Goddamn, I was on the verge of swapping computers. |
@bastianhilton |
|
I encountered that, and notice it happens when I have NordVPN up. Pausing the VPN allow me to launch WSL |
I had the same problem when I tried to boot wsl2 distro when connected via the FortiClient VPN. Disconnecting before starting allowed me to boot. |
Run powershell with Admin It worked here! |
It worked for me! |
Win10 Enterprise Edition 22H2 Open Work for me. |
Your Windows build number: (Type
ver
at a Windows Command Prompt)19609
What you're doing and what's happening: (Copy&paste the full set of specific command-line steps necessary to reproduce the behavior, and their output. Include screen shots if that helps demonstrate the problem.)
Was browsing my Ubuntu WSL2 instance's filesystem using the new File Explorer WSL distro integration
What's wrong / what should be happening instead:
Suddenly, File Explorer could no longer connect to the distro.
Then tried connecting to distro via Windows Terminal, but got:
Can no longer access my Ubuntu WSL distro at all.
Logs attached.
wsl2-start-issue.zip
The text was updated successfully, but these errors were encountered: