+3 votes
in Operating Systems by (15.0k points)
I had installed Ubuntu 18 bash shell on Windows 10. I tried to upgrade it to Ubuntu 20, but it did not work. So, I want to uninstall Ubuntu 18. I do not see any option in the control panel. How can I uninstall the Ubuntu command terminal?

1 Answer

0 votes
by (25.1k points)

Open the Windows terminal and run the following command:

wsl --unregister Ubuntu

It will remove the Ubuntu bash shell from Windows 10. If you have created a shortcut icon for the Ubuntu bash shell, you need to delete it manually.

To find all installed Linux distributions and their names on your Windows system, run the following command on the terminal:

 wsl --list