Learning and Sharing
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
No Result
View All Result

How to Completely Uninstall the Subsystem for Linux on Windows 10

July 25, 2024
in A, Blog, WSL
0
ADVERTISEMENT

Table of Contents

Completely Uninstall the Subsystem for Linux (PowerShell)

In some cases, you want to completely uninstall WSL Windows Subsystem in Linux in Windows 10.

1. First, right-click on the Windows Start icon then open PowerShell administrator.

2. Run wsl -l -v to get the list of the installed WSL instances on your computer.

PS C:\> wsl -l -v
  NAME      STATE           VERSION
* Ubuntu    Stopped         2
  Debian    Stopped         2

3. Next, remove the installed distributions using –unregister parameter.

PS C:\> wsl --unregister ubuntu
Unregistering...

PS C:\> wsl --unregister Debian
Unregistering...
PS C:\>

4. Re-run the wsl -l -v command to check if all the WSL instances got removed.

PS C:\> wsl -l -v
Windows Subsystem for Linux has no installed distributions.

Use 'wsl.exe --list --online' to list available distributions
and 'wsl.exe --install <Distro>' to install.

Distributions can also be installed by visiting the Microsoft Store:
https://aka.ms/wslstore
Error code: Wsl/WSL_E_DEFAULT_DISTRO_NOT_FOUND

5. After ran the unregister command, you can check the virtual hard disk is removed from this location:

C:\Users\<username>\AppData\Local\Packages<linux-distribution>LocalState

6. Search for feature then open Turn Windows features on or off.

Bg1768

7. Finally, remove Virtual Machine Platform and Windows Subsystem for Linux features from Windows Features then restart your computer.

Bg1787

Completely Uninstall the Subsystem for Linux (Windows Settings)

Alternatively, you can remove the installed distributions from Apps and Features in Windows Settings.

1. Right click on the Windows start icon then select Apps and Features.

Appandfeature10

2. Under App & features, select the linux distribution that you want to remove then select Uninstall button.

Bg1788

3. Once done, remove Virtual Machine Platform and Windows Subsystem for Linux features from Windows Features to completely uninstall WSL in Windows 10.

Bg1787
ADVERTISEMENT

Not a reader? Watch this related video tutorial:

5/5 - (1 vote)
Previous Post

How to Enable Subsite Creation in SharePoint Online

Next Post

How to Completely Uninstall the Subsystem for Linux on Windows 11

Related Posts

Images Hidden Due To Mature Content Settings In CivitAI

August 31, 2024

Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

August 20, 2024

Running Hyper-V and VMware Workstation on The Same Machine

August 15, 2024

How to Uninstall All Autodesk Products At Once Silently

July 29, 2024
Ftr5

How to Uninstall the Autodesk Genuine Service on Windows

July 29, 2024

How to Remove The Test Mode Watermark Without Disabling Test Mode

July 28, 2024

Leave a Reply Cancel reply

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

Recent Posts

  • How To Turn On uBlock Origin Extension in Chrome (2025)
  • Images Hidden Due To Mature Content Settings In CivitAI
  • Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

Categories

Stay in Touch

Discord Server

Join the Discord server with the site members for all questions and discussions.

Telegram Community

Jump in Telegram server. Ask questions and discuss everything with the site members.

Youtube Channel

Watch more videos, learning and sharing with Leo ❤❤❤. Sharing to be better.

Newsletter

Join the movement and receive our weekly Tech related newsletter. It’s Free.

General

Microsoft Windows

Microsoft Office

VMware

VirtualBox

Technology

PowerShell

Microsoft 365

Microsoft Teams

Email Servers

Copyright 2025 © All rights Reserved. Design by Leo with ❤

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory