How to Uninstall WSL from Windows 11

This post shows students and new users how to remove the Linux Subsystem for Linux (WSL) from Windows 11. In Windows, one can install or uninstall WSL easily with a few clicks. When you have WSL running on Windows 11 and decide to remove or uninstall it, reference the steps below to get that done.

Windows Subsystem for Linux lets developers run a GNU/Linux environment directly in Windows without setting up a virtual machine or dual-boot, including most command-line tools, utilities, and applications.

You can use WSL to run Linux OS without investing in additional machines or installing virtualization software like VirtualBox or VMware. Once WSL is installed, you can install your favorite Linux OS inside Windows.

Below are some helpful posts on WSL on Windows 11

How to Uninstall Linux OS on WSL from Windows 11

As mentioned above, Windows allows users to install or uninstall WSL with a few clicks. You can uninstall Linux OS and WSL components from Windows 11 using the steps below.

To remove a Linux OS from the WSL environment, go to the Start menu > Settings > Apps > Apps & Features.

Apps and features will list all available apps installed on your Windows machine.

Under the App list, scroll down to find your installed Linux distribution. Next to the distribution, click the 3 dots (ellipses) option on the right and select Uninstall.

Wait for the Linux distribution to be removed.

Uninstall Windows Subsystem for Linux components on Windows 11

After uninstalling the Linux distribution, remove the Windows Subsystem for Linux components. To do that, go back to the Apps & features windows.

Go to the Start button > Settings > Apps > Apps & feature.

Under the App list, scroll down to find your installed Linux distribution. Next to Windows Subsystem for Linux WSLg Preview and Windows Subsystem for Linux Update, click the 3 dots (ellipses) option on the right and select Uninstall.

Uninstall Windows Subsystem for Linux on Windows 11

After removing the Windows Subsystem for Linux components above, remove WSL from Windows. This step should altogether remove WSL and related components from Windows 11.

To do that, go to Starts > Settings > Apps > Apps & features > Optional features.

Under Related settings, click More Windows features on the Optional features windows.

On the More Windows Features window, scroll down the list of available features, uncheck both Virtual Machine Platform and Windows Subsystem for Linux, and click OK.

When you do that, Windows will remove all WSL components and prompt you to restart your computer.

Do that, and you’re done!

Conclusion:

  • Uninstalling the Windows Subsystem for Linux is a straightforward process that can be completed in a few steps.
  • It’s important to first remove your Linux distribution from the Apps & Features settings.
  • After removing the distribution, you should also uninstall the associated components of WSL.
  • Lastly, disable WSL and the Virtual Machine Platform from the Optional Features section to complete the uninstallation.
  • Ensure to restart your computer after the process to finalize the changes.
  • If you decide to use WSL again in the future, the installation process is equally simple and user-friendly.

Frequently Asked Questions

How do I uninstall WSL from Windows 11?

To uninstall WSL from Windows 11, go to Settings > Apps > Apps & features. Find your installed Linux distribution, click the three dots next to it, and select Uninstall. Then, remove the WSL components from the Optional features section.

Can I uninstall a specific Linux distribution from WSL?

Yes, you can uninstall a specific Linux distribution from WSL by navigating to Settings > Apps > Apps & features. Locate the distribution you want to remove, click the three dots next to it, and choose Uninstall.

What happens when I uninstall WSL?

When you uninstall WSL, all installed Linux distributions and their associated files will be removed from your system. Additionally, any WSL components will also be uninstalled, freeing up system resources.

Is it possible to reinstall WSL after uninstalling it?

Yes, you can reinstall WSL after uninstalling it. Simply follow the installation steps provided by Microsoft to set up WSL again on your Windows 11 machine.

Do I need to restart my computer after uninstalling WSL?

Yes, after uninstalling WSL and its components, you will be prompted to restart your computer. This ensures that all changes are applied and that WSL is completely removed from your system.

Categories:

Tags:

Leave a Reply

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