Tools: Remove Distro form WSL (2026)

Tools: Remove Distro form WSL (2026)

Step 1 — See installed WSL distros

Step 2 — Stop WSL (important)

Step 3 — Uninstall Ubuntu from WSL (THIS DELETES IT)

Step 4 — Remove leftover app (optional but clean)

Step 5 — Verify removal

Important warning

If your goal is reinstall (recommended after filesystem issues) To remove Ubuntu from WSL on Windows, you basically unregister the distro (this deletes it completely, including files). Open PowerShell (Admin or normal): You’ll see something like: If your distro name is different (like Ubuntu-22.04), use that exact name: If you installed Ubuntu from Microsoft Store: Ubuntu should no longer appear. You can reinstall clean Ubuntu: Templates let you quickly answer FAQs or store snippets for re-use. Hide child comments as well For further actions, you may consider blocking this person and/or reporting abuse

Code Block

Copy

NAME STATE VERSION * Ubuntu Running 2 NAME STATE VERSION * Ubuntu Running 2 NAME STATE VERSION * Ubuntu Running 2 wsl --shutdown wsl --shutdown wsl --shutdown wsl --unregister Ubuntu wsl --unregister Ubuntu wsl --unregister Ubuntu wsl --unregister Ubuntu-22.04 wsl --unregister Ubuntu-22.04 wsl --unregister Ubuntu-22.04 wsl --install -d Ubuntu wsl --install -d Ubuntu wsl --install -d Ubuntu - Open Settings → Apps → Installed apps - Search: Ubuntu - Click Uninstall - deletes all Linux files - deletes /home - deletes installed packages - cannot be undone