How To: Uninstall Wsl [verified]
wsl --terminate Ubuntu wsl --unregister Ubuntu A pause. Then, the confirmation: Unregistering... The distribution was gone. Not just deleted— unregistered . Its file system, its home folder, its bash history—poof. He did the same for Debian and docker-desktop . The list was now empty.
For six months, Alex had loved WSL. It was the perfect bridge between his Windows gaming rig and his developer need for a Linux terminal. But lately, his SSD was groaning. Every time he opened PowerShell, a forgotten Ubuntu instance would spin up its background services. His docker-desktop was orphaned, and a legacy Debian distribution he’d installed once for a tutorial was eating 12 gigabytes of space. It was time. The ghost in the terminal had to go. how to uninstall wsl
He felt a strange sadness. But only for a moment. Then he reinstalled Alpine via WSL2 because, let’s be honest, he never really wanted it gone. He just wanted it clean . wsl --terminate Ubuntu wsl --unregister Ubuntu A pause
select vdisk file="C:\Users\Alex\AppData\Local\Docker\wsl\disk.vhdx" detach vdisk The virtual hard disk disconnected. He then ran the Windows Disk Cleanup tool as administrator, clicked "Clean up system files," and checked in the list. One final purge. Not just deleted— unregistered
The Ghost in the Terminal
NAME STATE VERSION * Ubuntu Running 2 docker-desktop Stopped 2 Debian Stopped 1 Three ghosts. He needed to exorcise them one by one.