Can’t restart WSL2, LxssManager hangs in stopping state, how to restart?

It looks like the hang LxssManager service is preventing wsl to restart, I found a way to stop LxssManager and then I was able to restart wsl normally.

First get the PID of svchost.exe running LxssManager, open the cmd as administrator and run:

tasklist /svc /fi "imagename eq svchost.exe"

search for the LxssManager and grab the PID, then run task manager as administrator, in the details tab, search for the svchost.exe containing the PID, right click it and select ‘end process tree’.

Now you should be able to restart wsl normally with ‘wsl shutdown and wsl.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top