Table of Contents
This guide explains how to unregister and Reset Windows Subsystem for Linux (WSL) Distros on, with clear steps, practical tips, and important checks before you begin.
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.
Reset applications in Windows
2. You can now run this WSL distro application to reinstall and set up the distro with the new UNIX username and password.
You can run this WSL distro application to reinstall and set up the distro
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
Copy and paste the command corresponding to the Windows 10 version
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
Command to 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.
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
Enter the command in Powershell
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
Unregister the WSL distro using PowerShell
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.
Set up the distro with the new UNIX username and passwordFAQ
What should I know about Unregister and Reset Windows Subsystem for Linux (WSL) Distros on?
Focus on the key features, requirements, limitations, and practical use cases explained in this guide.
How do I get the best results with Unregister and Reset Windows Subsystem for Linux (WSL) Distros on?
Follow the recommended steps, use current software or information, confirm compatibility, and review settings before major changes.
Are there any risks or limitations?
Potential limitations depend on compatibility, data quality, cost, privacy, support, and how the product or method is used.
Reader Comments 0
Sign in with email or Google to join the discussion.