How do I reset my installation of Ubuntu on Windows?

Solution 1:

You can reset Ubuntu from settings, just find it in the start menu, right-click to go to App settings, then press the reset button.

find ubuntu in start

reset from settings

Solution 2:

Open Command Prompt (AKA cmd.exe), and type lxrun /uninstall. That should wipe your Ubuntu image.

Once this is done, you can reinstall with lxrun /install.

References:

  • https://blogs.windows.com/buildingapps/2016/07/22/fun-with-the-windows-subsystem-for-linux/