- First get the PID of svchost.exe running LxssManager, open the cmd as administrator and run:
tasklist /svc /fi "imagename eq svchost.exe" | findstr LxssManager
- Run
task manager as administrator
, in the details tab, search for thesvchost.exe
containing the PID - Right click it and select
'end process tree'
- Now you should be able to restart wsl normally with
wsl --shutdown
andwsl
.
References:
Can't restart WSL2, LxssManager hangs in stopping state, how to restart?
WSL don't start, don't open and don't answer