-
Notifications
You must be signed in to change notification settings - Fork 822
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 failed to start after update Windows #4939
Comments
Tried to enable and disable optional components Windows for WSL:
dism.exe /online /disable-feature /featurename:Microsoft-Windows-Subsystem-Linux /norestart
dism.exe /online /disable-feature /featurename:VirtualMachinePlatform /norestart
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
PS C:\> wsl -l --all Распределения подсистемы Windows для Linux:
PS C:\> wsl -d ubuntu-19-04-server Similar. Freezes in an attempt to launch and nothing happens. |
Hello, I have the exact same problem with the same Windows version (Version 10.0.19041.113)
This happened after an update 10 2004 (20H1) KB4540409 (Comulative update for Windows 10 Version 2004 for x64 based systems) EDIT: I guess it was some configurations of Hyper-V that changed with the update. Following this post https://www.surfacetablethelp.com/2018/10/fix-hyper-v-not-working-after-windows-10-v1809-upgraded.html fixed my problem. |
Thanks, @pedrodaniel10 ! The solution you found helped me too. |
Thank you! I fixed my problem. |
This did not work for me but it's a bit different, WSL starts fine and MS Store Unbuntu 18.04.4 LTS runs fine. Yet Ubuntu 20.04 returns: The system cannot find the file specified. |
@ThomasMConnors what does |
It shows
C:\temp>wsl.exe -l --all
Windows Subsystem for Linux Distributions:
Ubuntu (Default)
Ubuntu-20.04
(There was no -v option for wsl)
|
@ThomasMConnors Thanks. Then it seems you are still in WSL1 and this thread's issue is more about WSL2 and hyper-v. |
After windows 10 2004 update wsl is not working the commands also not working |
Same here, no matter which distro I chose to start on Windows 10 2004, I got a
Tried steps in https://www.surfacetablethelp.com/2018/10/fix-hyper-v-not-working-after-windows-10-v1809-upgraded.html, but nothing happened. |
@leizhilong Try this #4929 (comment) |
Thanks @onomatopellan for the clue. When I use Thanks anyway. |
see: |
This problem was solved by reinstalling windows features Hyper-V, |
I was able to resolve the problem with the following steps.
|
I don't know if it was disabling and re-enabling the features ( |
Yes it works! |
Yes,Maybe Hyper-V has error |
I've spent multiple hours on this problem on a few different occasions and I don't remember the same solution working twice. This usually seems to happen after a Windows Insider update (verified the build version was higher than the minimum), but I had it happen for no reason that I could determine yesterday. After spending almost four hours trying to fix this problem for the third time, the thing that just worked for me was running through the installation steps without uninstalling first WSL or Ubuntu: https://docs.microsoft.com/en-us/windows/wsl/install-win10. This could have worked because it might have applied an update that I wasn't getting, but I have no idea which step fixed if it that's not what happened =\ This is not a technically good answer, but I hope it helps someone else who's reached the end of their patience and felt like they've tried everything too. Note: the other fixes that worked for me before were in this thread, like resetting netsh and fixing Hyper-V. |
I faced the same problem on my machine's Ubuntu-20.04 distro (WSL2) after compacting its I've tried |
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request. Thank you! |
Windows build number:
Microsoft Windows [Version 10.0.19041.113]
What you're doing and what's happening:
Run:
PS C:\> wsl -d ubuntu-19-04-server
Freezes in an attempt to launch and nothing happens.
What's wrong / what should be happening instead:
Distro should launched and worked.
Detailed logs
lxcore__.etl.zip
The text was updated successfully, but these errors were encountered: