When you purchase through links on our site, we may earn an affiliate commission.Heres how it works.

Unlike a traditional virtual machine, WSL interacts directly with your Windows installation.

If any issues arise, it’s possible for you to easily reset it and begin anew.

Ubunutu 24.04 running on WSL 2 on Windows 11 inside Windows Terminal.

Distros are easy to install on WSL, and to remove, but you need to know the right steps.

But how do you actually remove a Linux distro installed inWSL?

If you simply do this, then you’ll still have an entire file system left behind.

And it’s not possible for custom distros installed from outside the Microsoft Store.

Checking distro names on WSL

Checking installed WSL distros and their current state using PowerShell.

Here’s how to completely remove a Linux distro from WSL.

But this doesn’t completely remove all traces.

So do the uninstalling of the app second, ideally.

Backing up and exporting a Linux distro from WSL

Exporting your WSL distros to a backup only takes a single command and a couple of minutes.

Here’s what you should probably do.

Though this will depend on which package you installed in the first instance.

Backing up is a pretty straightforward process that involves exporting to a .tar file.

Microsoft Windows 11 Pro…

Windows 11 Pro Upgrade, from…

Download Microsoft Windows…

Dell

Ubuntu, Debian and Fedora running on WSL on a Snapdragon X Elite laptop

Windows 11 clean install

Windows 11 mount ISO file

Windows 11 new PC install

Windows 11 fix with DISM and SFC

Windows 11 system features

Windows 11 Start menu

Windows 11 battery usage

Copilot Vision for Windows announcement

Xbox controller with WD-40

Elden Ring Nightreign

The rare Caine Trailblazer operator skin, obtainable from the Return to Verdansk event in Call of Duty: Warzone

Dune: Awakening

DOOM: The Dark Ages