Wsl | Unistall
This permanently deletes all Linux files and settings for that distribution.
Ensure your profiles are updated to remove any dead links to uninstalled distros.
How to Completely Uninstall WSL (and Why You Might Need To) wsl unistall
Go to . Search for:
April 14, 2026 Category: Windows / Dev Environments This permanently deletes all Linux files and settings
Run the following command (replacing with your actual distro name, like Ubuntu ): wsl --unregister
If the subsystem is still active, you need to disable the Windows feature: wsl unistall
If you also have WSLg (GUI support) or the WSL2 kernel package, uninstall those too via .
Example: wsl --unregister Ubuntu-22.04