List your installed distributions:
wsl --list --verbose or simply:
Windows Subsystem for Linux (WSL) is a powerful tool that allows you to run a GNU/Linux environment directly on Windows. However, you may eventually need to remove it—whether to free up disk space, fix a corrupted installation, or simply because you no longer use it. uninstall wsl
Open regedit as Administrator and navigate to: List your installed distributions: wsl --list --verbose or
wsl -l -v For each distribution listed, unregister (remove) it: fix a corrupted installation