Delete folder from Windows 10 Linux folder [duplicate]

Solution 1:

If I get my manually installed Linux instance into a bad state, what is the correct way to reset it and bring it back to a fresh install?

If you are running Windows 10 Version 1903:

wsl --unregister <DistributionName>

If you are running Windows 10 Version 1709, 1803, or 1809:

wslconfig /unregister <DistributionName>

Manage and configure Windows Subsystem for Linux