WSL icon indicating copy to clipboard operation
WSL copied to clipboard

[WSL 2] Import fails with exit code 1 and "The remote procedure call failed and did not execute."

Open simonferquel opened this issue 6 years ago • 15 comments

Please fill out the below information:

  • Your Windows build number: (Type ver at 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.

simonferquel avatar Mar 20 '20 14:03 simonferquel

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]

uniibu avatar Mar 20 '20 15:03 uniibu

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.

jeffcogswell avatar Jun 08 '20 23:06 jeffcogswell

Hi I am having this bug with latest Docker, and Windows 10 slow ring 19042.508 Done what is written here, still no good :(

OzKron avatar Sep 09 '20 08:09 OzKron

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

OzKron avatar Sep 09 '20 08:09 OzKron

Same issue here, uninstalling KB4571756 resolved it.

Alex-Wauters avatar Sep 10 '20 11:09 Alex-Wauters

Unfortunately this latest https://support.microsoft.com/en-us/help/4571756/windows-10-update-kb4571756 broke my WSL as well.

kdcllc avatar Sep 10 '20 15:09 kdcllc

20211 broke my wsl, rollback to 20206 solved

llwwbb avatar Sep 11 '20 09:09 llwwbb

Thank you, Alex-Wauters, uninstalling KB4571756 does resolve my problem.

christopherwoo avatar Sep 12 '20 06:09 christopherwoo

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?

borninfreedom avatar Sep 13 '20 00:09 borninfreedom

I have same problem at 20215.

rozetkinrobot avatar Sep 18 '20 15:09 rozetkinrobot

I have same problem at 20215.

Yeah, me too!

Slyderek avatar Sep 18 '20 20:09 Slyderek

Same problem with the 20215 build, WSL 2 stopped working

Nathan-Furnal avatar Sep 19 '20 09:09 Nathan-Furnal

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

llwwbb avatar Sep 22 '20 07:09 llwwbb

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

ErmolaevNV avatar Feb 19 '21 08:02 ErmolaevNV

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!