WSL: [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
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 5
- Comments: 15 (1 by maintainers)
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 --shutdownPowerShell (admin)
Restart-Service LxssManagerCMD (admin)
net stop LxssManagernet start LxssManager– OS build: 19587.1000 Microsoft Windows [Version 10.0.19587.1000]
Same issue here, uninstalling KB4571756 resolved it.
I upgraded 20211 just from stable version, I have not installed 20206. How can I install 20206?
I have same problem at 20215.
Unfortunately this latest https://support.microsoft.com/en-us/help/4571756/windows-10-update-kb4571756 broke my WSL as well.
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
20211 broke my wsl, rollback to 20206 solved