Created
March 20, 2025 03:17
-
-
Save chaau/fbcf490142d1f57c1c1a1dbbf9bd912b to your computer and use it in GitHub Desktop.
Fix unresponsive WSL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
taskkill /F /IM wslhost.exe | |
taskkill /F /IM wsl.exe | |
taskkill /F /IM wslservice.exe | |
net stop LxssManager | |
net start LxssManager |
I will download this put shortcut of it it in my desktop and, in the shortcut file properties I checked run as administrator
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This windows batch file fixes the unresponsive WSL.
It restarts it without the need to restarting the whole system
A side feature of this fix: Docker Desktop also restarts