Windows Subsystem for Linux (WSL) lets you run Linux distros in a virtual environment on your PC. Uninstalling it isn't that simple; you must remove the distros, associated apps, and Windows features. Here’s how I removed WSL from my PC.
Remove All Installed Linux Distros on Windows
This step won't be relevant to everyone, but if you have installed multiple Linux distros, you should remove them first. This helps to ensure that no files associated with Linux installations remain on your computer when you uninstall WSL.
- Press Win I to open the Settings app. Navigate to Apps > Installed Apps.
- Click on the ellipses (...) icon next to a Linux distro and select the Uninstall option.
- Repeat the same for all the available distros in the list.

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 from Windows 11 or 10.
Go to Settings > Apps > Apps & Features and 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 select Uninstall.

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.
- Press Win S to open Windows search. Type Turn Windows features on or off and press Enter.
- Scroll down the list of features to find and deselect the Windows Subsystem for Linux option.
- If you don't need to run any other hypervisors like VMware, deselect the Virtual Machine Platform option.
- Click OK, and then restart your computer.

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.
The above is the detailed content of How to Completely Uninstall WSL on Windows 10 & 11. For more information, please follow other related articles on the PHP Chinese website!

Does Windows lack a convenient package manager? UniGetUI is here to help you! The package manager for Linux systems is very convenient, but Windows systems lack similar tools. However, with a free open source project UniGetUI and Windows built-in command line tool winget, you can get the same functionality on Windows. The best feature for Windows missing: a convenient package manager Package Manager allows you to add and remove programs, system libraries, and drivers. You can search for programs almost instantly, retrieve information about them, and adjust settings. In other words, they are features that Microsoft stores dream of. Every Linux distribution has one

Arch Linux officially joins the Windows Subsystem for Linux (WSL) family! No external downloads are needed; installation is a breeze using PowerShell: wsl --install archlinux First-time WSL users will need to run this command first, followed by a sy

This monitor boasts extensive connectivity, featuring a DisplayPort 1.4 port (supporting up to 3440 x 1440 at 240Hz, DSC, and HDR) and two HDMI 2.1 FRL ports (also supporting 3440 x 1440 at 240Hz, FRL, HDR, and VRR). These high-speed HDMI 2.1 ports

Windows 10 support is ending in late 2025, prompting many users to upgrade to Windows 11. However, the TPM 2.0 requirement can be a significant hurdle. This guide outlines methods to install Windows 11 even without TPM 2.0, but proceed with caution.

The Acer Predator XB323QK V4 and Nitro XV240 F6: A Tale of Two Monitors Acer offers two distinct gaming monitors catering to different needs: the color-focused XB323QK V4 and the speed-demon XV240 F6. Let's break down their key features. The XB323QK

eBay: A Surprisingly Good Source for New Computer Hardware? While eBay is renowned for its diverse selection of used goods, it's not always the first place that springs to mind when purchasing new computer components. However, my recent experience s

Upgrading your aging laptop? Adding RAM is the easiest and often the only practical upgrade besides storage. My recent experience upgrading a Dell Latitude 5420 proved surprisingly impactful. More RAM Wasn't the Initial Goal My used Dell 5420, while

Let's be honest: unless you're a keyboard enthusiast, you've probably overlooked the cable bundled with your keyboard. But for those who appreciate the finer details, even a simple USB cable can be a source of aesthetic pleasure. 5 Reasons Why Coiled


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

Zend Studio 13.0.1
Powerful PHP integrated development environment
