How to uninstall the WSL installation of Ubuntu 20.04 from Windows 10?

Ask Ubuntu Asked on December 29, 2021

I installed Ubuntu 20.04 from Microsoft store. After hours of tutorials, I cannot get any further than a command prompt. No desktop, GUI, or whatever it is called.

My problem now is how to rid my pc of all Ubuntu/Linux files or whatever you may call them. Trouble is I cannot see a partition in disc management or anything about Ubuntu. Once again Lady Luck has vomited on my eiderdown.

Please help.

One Answer

Uninstall a WSL installation of Ubuntu like a normal Windows 10 application. To uninstall Ubuntu, right-click the Ubuntu shortcut in your Start menu and click Uninstall.

To reinstall Ubuntu, download it from the Microsoft Store once again.

To (optionally) also uninstall Windows Subsystem for Linux:

Open the Control Panel and go to Programs -> Turn Windows Features On or Off. Uncheck the Windows Subsystem for Linux option there and click OK. Windows will uninstall Windows Subsystem for Linux, bash.exe, and lxrun.exe commands.

All that was good advice so far. The bad way to do it if nothing else works is to install an unlocker program in Windows 10, and unlock the file so that you can delete it.

Answered by karel on December 29, 2021

Add your own answers!

Related Questions

Running an exe without calling “wine” cmd

1  Asked on February 27, 2021 by samhoque


Inconsistent automatic login

0  Asked on February 26, 2021 by jruk


Full screen video tearing in firefox Ubuntu 19.10

4  Asked on February 25, 2021 by dsstorm


How to kill a pseudoterminal

1  Asked on February 25, 2021 by paul-a


No sound on laptop ubuntu 20.04

0  Asked on February 24, 2021 by pierre-nicolas-suau


Where is the “Software Center”?

1  Asked on February 24, 2021 by fretlesst


Error with Acer Swift3 SF314-56G Model

0  Asked on February 23, 2021 by salay


Gnotes Is Deleting Information During Editing

0  Asked on February 23, 2021 by yupthatguy


Apps randomly isntalling themselves

0  Asked on February 22, 2021 by thebunnyman


Wifi connected but Internet drops frequently

4  Asked on February 22, 2021 by s-ouchene


No Ubuntu touchscreen driver

0  Asked on February 22, 2021 by goel01


How to find python installation directory on Ubuntu

4  Asked on February 22, 2021 by avi-mehenwal


How to convert .pcapng files to .pcap/.tcpdump files?

2  Asked on February 21, 2021 by pranav-sharma


Ask a Question

Get help from others!

© 2023 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir