WSL Ubuntu hangs, how to restart?

Ross Ivantsiv picture Ross Ivantsiv · Jan 23, 2018 · Viewed 38.9k times · Source

Occasionally WSL hangs on Windows 10. Opening "Ubuntu" bash just hangs. Any way to restart WSL without rebooting Windows ?

enter image description here

Answer

Dave picture Dave · Nov 12, 2018

To expand on kev's answer, you need to restart the LxssManager service. This can be done by opening Task Manager with CTRL SHIFT ESC, going to the Services tab, finding the LxssManager service, right-clicking and selecting Restart.