Skip to content

Instantly share code, notes, and snippets.

@cptSwing
Created August 8, 2025 10:43
Show Gist options
  • Select an option

  • Save cptSwing/2e438512942e9096eb570e4166b8c8b5 to your computer and use it in GitHub Desktop.

Select an option

Save cptSwing/2e438512942e9096eb570e4166b8c8b5 to your computer and use it in GitHub Desktop.
WSL has a tendency to not recover well when booting up a PC from hibernation. Here's how to kill all related processes via CMD.
taskkill /F /FI "IMAGENAME eq wsl.exe"
taskkill /F /FI "IMAGENAME eq wslhost.exe"
taskkill /F /FI "IMAGENAME eq wslservice.exe"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment