How to unregister and reset Windows Subsystem for Linux (WSL) distros on Windows 10
Windows Subsystem for Linux (WSL) is a new feature of Windows 10 that allows you to run Linux command line tools directly on Windows, along with traditional desktop applications and modern Windows Store applications.
When activating Windows Subsystem for Linux (WSL), you can install WSL distro applications from the Microsoft Store.
This guide will show you how to unregister and reset the Windows Subsystem for Linux (WSL) distro to the default settings in Windows 10.
Unregister and reset the Windows Subsystem for Linux (WSL) distro in Settings
1. To know how to reset the WSL distro application in Settings , see the article: Instructions to reset a program on Windows to the default installation state.

2. You can now run this WSL distro application to reinstall and set up the distro with the new UNIX username and password.

Unregister and reset the Windows Subsystem for Linux (WSL) distro in the Command Prompt
1. Open Command Prompt.
2. Copy and paste the command below that corresponds to the version of Windows 10 into the Command Prompt and press Enter
. Write down the name of the available WSL distro that you want to unsubscribe.
(For Windows 10 version 1903 and above)
wsl --list --all or wsl -l --all
Or:
(For versions of Windows 10 earlier than 1903)
wslconfig /list /all or wslconfig /l /all

3. Enter the command below that corresponds to your version of Windows 10 into the Command Prompt and press Enter
.
(For Windows 10 version 1903 and above)
wsl --unregister
Or:
(For versions of Windows 10 earlier than 1903)
wslconfig /unregister
Replace the above command with the actual WSL distro name (for example, "Ubuntu") from step 2 that you want to unsubscribe.
For example: wsl --unregister Ubuntu

4. When done, you can close the Command Prompt if you like.
5. You can now run this WSL distro application to reinstall and set up the distro with the new UNIX username and password.

Unregister and reset the Windows Subsystem for Linux (WSL) distro in PowerShell
1. Open PowerShell.
2. Copy and paste the command below for your version of Windows 10 into PowerShell and press Enter
. Write down the name of the available WSL distro that you want to unsubscribe.
(For Windows 10 version 1903 and above)
wsl --list --all or wsl -l --all
Or:
(For versions of Windows 10 earlier than 1903)
wslconfig /list /all or wslconfig /l /all

3. Enter the command below corresponding to Windows 10 version into PowerShell and press Enter
. (For Windows 10 version 1903 and above)
wsl --unregister
Or:
(For versions of Windows 10 earlier than 1903)
wslconfig /unregister
Replace the above command with the actual WSL distro name (for example, "Ubuntu") from step 2 that you want to unsubscribe.
For example: wsl --unregister Ubuntu

4. When done, you can close PowerShell if you like.
5. You can now run this WSL distro application to reinstall and set up the distro with the new UNIX username and password.

You should read it
- How to Enable the Windows Subsystem for Linux
- How to run Linux desktop using Windows Subsystem for Linux
- You Don't Need Microsoft Windows Subsystem for Linux (WSL): Here's Why!
- Windows Subsystem for Linux is about to appear on Windows Server
- How to run Linux commands when starting Windows Subsystem for Linux on Windows 10
- How to Run Linux Commands on Windows with WSL 2
- The Linux subsystem on Windows 10 allows malware to hide without being detected
- How to install Windows Subsystem for Linux (WSL) on Windows 11
May be interested
- Differences between Windows 10 Feature Update and Cumulative Updatein today's article, tipsmake.com will read more about cumulative updates and windows 10 feature updates, as well as what is the difference between feature update and cumulative update.
- How to turn off Motion effects on Windows 10 to help Win 10 run fasterthe default windows 10 operating system has a lot of different motion effects to enhance the user experience. however, it only increases the experience on high-configuration systems and on weak systems, it only increases the frustration of being slow.
- Change new notification sound sounds in Windows 10if you want to change or disable new mail notification sounds in windows 10, you need to open the classic sounds applet. implementation details are as follows.
- How to enable RSAT for Active Directory in Windows 10this tutorial introduces 3 methods to enable active directory in windows 10. to be exact, it is not to activate active directory in windows 10 because you cannot install ad in windows 10. you can only enable rsat for active directory in windows 10 only.
- How to delete the arrow on the Shortcut icon in Window 10when we create the icon for the application to the desktop, we will see the difference is that there is an arrow in the left corner of the icon. although the arrow next to the icon does not affect the operation, but people often want to delete them.
- How to dual boot Chrome OS and Windows 10many users are still trying to run chrome os and windows 10 in parallel. and that's why today, tipsmake.com gives you this detailed guide on how to dual boot chrome os and windows 10.