Clean uninstall of WSL

From AcrodusWiki
Revision as of 09:20, 29 May 2025 by Alex (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Got this from a blog somewhere. It worked to uninstall WSL when it was being a bitch.


In powershell (as admin)

list all installed distros wsl -l -v destroy distros wsl --unregister Ubuntu wsl --unregister Debian # and so on

In Settings > Apps > Apps & Features

search for Ubuntu (then Debian, etc), and if something is found, click on uninstall search for Linux, and if something is found, click on uninstall on all results

In Start Menu > Turn Windows Features on or off

Untick Virtual Machine Platform checkbox Untick Windows Subsystem for Linux checkbox

The reinstall from here with the normal command wsl --install --web-download