Windows Subsystem for Linux lets developers run a GNU/Linux environment, including most command-line tools, utilities, and applications directly in Windows without setting up a virtual machine or dual-boot. 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 begin installing your favorite Linux OS inside Windows. Below are some helpful posts on WSL on Windows 11
How to Backup Linux OS inside WSL How to check WSL versions in Windows 11 How to install WordPress on WSL How to login as root on WSL with Linux OS
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. Using the steps below, you’ll be able to uninstall Linux OS and WSL components from Windows 11. 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 the Linux distribution you installed. 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
Now that you have uninstalled the Linux distribution, go and remove 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 the Linux distribution you installed. 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 Windows Subsystem for Linux components above, go and remove WSL from Windows. This step should completely remove WSL and related components from Windows 11. To do that, go to Starts > Settings > Apps > Apps & features > Optional features. On the Optional features windows, under Related settings, click More Windows features. On the More Windows Features window, scroll down the list of available features and 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: This post showed you how to uninstall WSL from Windows 11. If you find any error above or have something to add, please use the comment form below.