Clean uninstall of WSL: Difference between revisions

From AcrodusWiki
No edit summary
No edit summary
Line 4: Line 4:
In powershell (as admin)
In powershell (as admin)


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

Revision as of 09:20, 29 May 2025

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