How to Unregister and Reset Windows Subsystem for Linux (WSL) Distro in Windows 10 – Windows Blog by Brink

How to Unregister and Reset Windows Subsystem for Linux (WSL) Distro in Windows 10

The Windows Subsystem for Linux (WSL) is a new Windows 10 feature that enables you to run native Linux command-line tools directly on Windows, alongside your traditional Windows desktop and modern store apps.

When you have Windows Subsystem for Linux (WSL) enabled, you can install WSL distro apps from the Microsoft Store.

When you run a WSL distro app installed from the Microsoft Store for the first time, it gets installed and setup for your account by having you enter a UNIX username and password to use for this WSL distro.

If needed, you can unregister a WSL distro to reset it back to default for your account. Once unregistered, all data, settings, and software associated with that distribution will be permanently lost. The unregistered WSL distro will be removed from the available WSL distros list.

When you run the unregisted WSL distro app next, a clean copy of the distro will be installed allowing you to also setup the distro with a new UNIX username and password.

Starting with Windows 10 build 18342 (19H1) and Windows 10 build 18836 (20H1), Microsoft added some new commands that will give you more functionality when using wsl.exe. The commands that existed inside of wslconfig.exe have been added to wsl.exe to allow you to configure your distros more easily.

This tutorial will show you how to unregister and reset a Windows Subsystem for Linux (WSL) distro to default settings for your account in Windows 10.

Read more…