Linux on Windows - WSL2

  • WSL2 installation guide — what to not do too

  • WSL2 uninstallation & removal guide — sometimes it gets installed and stuck in ways that won't go away

Uninstalling & Removing WSL2

In the end I just had to delete some of the system files because they wouldn't go away.

I do NOT RECOMMEND THIS cos it's dangerous but basically you're gonna have to take full control of the WSL2 system files and then delete them.

Still got "Linux" stuck in the File Explorer sidebar?

  • Open your registry editor (I recommend Registry Finder)

  • Go to HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID{B2B4A4D1-2754-4140-A2EB-9A76D9D7CDC6} or HKEY_CURRENT_USER\Software\Classes\CLSID{B2B4A4D1-2754-4140-A2EB-9A76D9D7CDC6}

  • Set System.IsPinnedToNameSpaceTree to 0

  • You can probably delete the whole CLSID key tbh but don't take my word for it.

Last updated