How to Completely Uninstall WSL on Windows 11

Last Updated: July 25, 2025 – Uninstalling the Windows Subsystem for Linux (WSL) on Windows 11 involves several steps and is not as straightforward as hitting an “Uninstall” button. While Microsoft has made installation user-friendly, removing WSL requires a systematic approach to ensure complete uninstallation of all components.

If you find yourself in a situation where WSL is no longer necessary, or if you’re troubleshooting issues, here’s a comprehensive guide to help you effectively remove WSL and its distros from your system.

Step-by-Step Guide to Uninstalling WSL on Windows 11

To fully uninstall WSL, begin by removing all installed Linux distributions followed by the relevant platform features and components.

1. Uninstall Linux Distributions

Here’s how to remove any installed Linux distro from WSL:

  1. Launch Settings on your Windows 11 device.

  2. Navigate to Apps.

  3. Go to the Installed apps section.

  4. Select the desired Linux distribution you want to uninstall.

  5. Click on the three-dots menu on the right and choose Uninstall.

    Uninstall WSL Linux distro

  6. Confirm by clicking Uninstall again.

After completing these steps, repeat the process if there are additional distros to remove.

Stay Updated Subscribe to my newsletter for the latest tips and updates directly to your inbox. Subscribe

2. Remove WSL Platform Components

Next, proceed to uninstall the WSL kernel and GUI components using PowerShell:

  1. Open the Start menu.

  2. Type PowerShell, right-click the result, and choose Run as administrator.

  3. Enter the following command to uninstall the WSL component:

    Get-AppxPackage MicrosoftCorporationII. WindowsSubsystemForLinux | Remove-AppxPackage Windows Subsystem for Linux uninstall

Executing these commands will eliminate the core components of WSL.

3. Finalize WSL Removal Through Windows Features

To ensure the complete removal of WSL, follow these steps:

  1. Open Settings.

  2. Select System.

  3. Click on Optional features.

  4. Locate and click on the “More Windows features” option within the related settings.

    Open Windows features settings

  5. Deselect the “Virtual Machine Platform” feature.

  6. Deselect the “Windows Subsystem for Linux” feature.

    Windows 11 uninstall WSL

  7. Click on OK to apply the changes.

  8. Finally, select Restart now to complete the uninstallation process.

Once these steps are completed, WSL will be fully removed from your Windows 11 system.

You can also view a detailed video tutorial covering the uninstallation process on my YouTube channel.

Interestingly, WSL is now an open-source project. This change allows users to download WSL from GitHub, make custom modifications, and add new features tailored to individual needs.

This guide has been updated as of July 25, 2025, to reflect the latest changes and ensure that you have accurate and relevant information.

Source & Images

Leave a Reply

Your email address will not be published. Required fields are marked *