Open regedit as Administrator and navigate to:
List your installed distributions:
# Disable WSL Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux Disable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform uninstall wsl
Uninstalling WSL is not a single click. It involves removing the Linux distributions, the WSL components themselves, and cleaning up leftover files and registry entries. This guide provides a complete, safe method to remove everything WSL-related. If you have any important files, scripts, or configuration data inside your Linux distribution(s), back them up now . Uninstalling will permanently delete all Linux files, home directories, and installed packages. Open regedit as Administrator and navigate to: List
wsl --export <DistributionName> <Filename>.tar # Example: wsl --export Ubuntu-22.04 ubuntu_backup.tar You can later re-import it with wsl --import . First, open PowerShell or Windows Terminal as Administrator (right-click Start > "Windows Terminal (Admin)" or "PowerShell (Admin)"). If you have any important files, scripts, or