How To Uninstall Wsl < 2K 2027 >

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.

After the reboot, Alex ran wsl --status . The command was dead. Good. But his disk space hadn't changed. He opened File Explorer and navigated to the hidden lair: C:\Users\Alex\AppData\Local\Packages He deleted any folder starting with CanonicalGroupLimited or TheDebianProject . Then, the real grave: C:\Users\Alex\AppData\Local\Docker and C:\Users\Alex\AppData\Local\wsl . He held Shift + Delete.

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.

He started with the loudest ghost: Ubuntu. how to uninstall wsl

Alex opened PowerShell as Administrator. He knew you couldn’t just delete folders. WSL was a parasite—a beautiful, useful parasite that burrowed deep into the kernel. He typed the first incantation:

Alex was thorough. He opened diskpart as Admin and typed: For six months, Alex had loved WSL

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.

Made on
how to uninstall wsl
Tilda