[WSL 2] Import fails with exit code 1 and "The remote procedure call failed and did not execute."
Please fill out the below information:
-
Your Windows build number: (Type
verat a Windows Command Prompt) OS: Windows 10 Home Edition: Core Id: 2004 Build: 19587 -
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.)
We are basically running wsl.exe --import ... --version 2 (this is on docker desktop first startup in our CI)
wsl.exe fails with exit code 1. Stderr is "The remote procedure call failed and did not execute."
- What's wrong / what should be happening instead:
wsl.exe should succeed.
- For WSL launch issues, please collect detailed logs. etl traces.zip
I got the same error after an update today. Simply restarting the LxssManager service fixed it for me. You can do so by shutting down wsl: You can try below commands: I used the CMD(admin)
CMD
wsl --shutdown
PowerShell (admin)
Restart-Service LxssManager
CMD (admin)
net stop LxssManager
net start LxssManager
-- OS build: 19587.1000 Microsoft Windows [Version 10.0.19587.1000]
This fixed it for me: I opened up services.msc, and there were two services listed related to LxssManager: One simply called LxssManager and one called LxssManagerUser_d27e1. The second one wasn't running. I started it, and now WSL starts.
Hi I am having this bug with latest Docker, and Windows 10 slow ring 19042.508 Done what is written here, still no good :(
I did all of this "CMD
wsl --shutdown PowerShell (admin)
Restart-Service LxssManager CMD (admin)
net stop LxssManager net start LxssManager"
Still, refuse to go up
Same issue here, uninstalling KB4571756 resolved it.
Unfortunately this latest https://support.microsoft.com/en-us/help/4571756/windows-10-update-kb4571756 broke my WSL as well.
20211 broke my wsl, rollback to 20206 solved
Thank you, Alex-Wauters, uninstalling KB4571756 does resolve my problem.
20211 broke my wsl, rollback to 20206 solved
I upgraded 20211 just from stable version, I have not installed 20206. How can I install 20206?
I have same problem at 20215.
I have same problem at 20215.
Yeah, me too!
Same problem with the 20215 build, WSL 2 stopped working
20211 broke my wsl, rollback to 20206 solved
I upgraded 20211 just from stable version, I have not installed 20206. How can I install 20206?
rollback to previous version
up! I have this problem, my version windows - 20h2 I don't have the option to roll back my version to earlier versions. I used the fix described here I have reinstalled windows components like hyper-v and linux subsystems
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!