Step-by-Step: Completely Removing WSL in Win 11

Step-by-Step: Completely Removing WSL in Win 11

Joseph Lv12

Step-by-Step: Completely Removing WSL in Win 11

If you don’t want or need Windows Subsystem for Linux on your computer, you can remove it. However, that process can include more than just clicking the uninstall button in Windows Settings. It isn’t difficult, but it’s important to remove files in the correct order.

Here are the steps you need to follow to completely remove WSL from your Windows PC.

Why Uninstall Windows Subsystem for Linux?

WSL is a very handy tool that allows you to easily run Linux distros in a virtual environment on your Windows computer. Although it doesn’t have much impact on storage space, if you have no interest in using Linux, there’s no need to have it installed.

There are also good alternatives to WSL for running Linux available, and you might decide to use one of those instead of the Microsoft solution. Not only would you not need WSL, but there is also a slight risk of conflict between the Windows Subsystem and your alternative choice.

Remove All Installed Linux Distros on Windows

This step won’t be relevant to everyone, but if you have installed any Linux distros, you should remove them first. This helps to ensure that no files associated with the Linux installations remain on your computer when you uninstall WSL.

  1. You can find your installed Linux distros listed with your other installed apps in Settings > Apps > Installed Apps.
  2. Uninstall each of the Linux Distros, such as Ubuntu, in exactly the same way you would uninstall any other Windows app .

Ubuntu in the Windows 11 apps list

If the computer came to you with the apps already installed, you might not know what is or isn’t a Linux distribution. Here are some of the most common Linux distros , but you can also simply do a Google search for the name of the app you are unsure about.

When all versions of Linux have been uninstalled, you can move on to the next step in the process.


DbSchema database designer for all databases, schema design in the team, schema deployment, interactive diagrams, documentation, data and query tools.

Uninstall the WSL Components

With all versions of Linux removed, you can remove the WSL app and its related components. As with the previous step, you can remove WSL in the same way you would remove any other app.

Go to Settings > Apps > Apps & Features. Scroll down to the bottom of your apps list to find Windows Subsystem for Linux. Click the More button and select Uninstall. On Windows 10, click on the app name and then click Uninstall.

Uninstalling WSL components in Windows settings

If you see any additional WSL components, such as the WSL update or WSLg Preview, uninstall these in the same way.

Uninstall WSL and Virtual Machine Platform

The final part of the process is to uninstall the WSL core files and disable the option in the Windows Optional Features panel.

  1. Open the Windows Features panel by going to Settings > Apps > Optional Features > More Windows Features. You can also search for Windows Features and click Turn Windows features on or off.
  2. Scroll down the list of features to find and deselect the Windows Subsystem for Linux option.
  3. If you don’t need to run any other virtual environments, you can also deselect the Virtual Machine Platform option.
  4. Click Ok, and then restart your computer.

Removing WSL in the Windows Features panel

WSL should now be completely removed from your computer. It will receive no automatic updates, and you won’t be able to interact with it in any way. If you need it in the future, here’s how to install WSL through the Microsoft Store on a Windows PC.

Jutoh Plus - Jutoh is an ebook creator for Epub, Kindle and more. It’s fast, runs on Windows, Mac, and Linux, comes with a cover design editor, and allows book variations to be created with alternate text, style sheets and cover designs. Jutoh Plus adds scripting so you can automate ebook import and creation operations. It also allows customisation of ebook HTML via templates and source code documents; and you can create Windows CHM and wxWidgets HTB help files.

Removing WSL From Your Windows PC

You can install WSL on your Windows computer with a single command. Uninstalling it, if you no longer need or want it on your PC, is not quite as simple. By following the three simple steps detailed here, you can ensure that all WSL files and components are removed.

If you don’t want or need Windows Subsystem for Linux on your computer, you can remove it. However, that process can include more than just clicking the uninstall button in Windows Settings. It isn’t difficult, but it’s important to remove files in the correct order.

Here are the steps you need to follow to completely remove WSL from your Windows PC.

  • Title: Step-by-Step: Completely Removing WSL in Win 11
  • Author: Joseph
  • Created at : 2024-08-15 15:46:01
  • Updated at : 2024-08-16 15:46:01
  • Link: https://windows11.techidaily.com/step-by-step-completely-removing-wsl-in-win-11/
  • License: This work is licensed under CC BY-NC-SA 4.0.