Com os novos aplicativos de loja específicos de distro, por exemplo :
C:\> ubuntu /?
Launches or configures a linux distribution.
Usage:
<no args>
- Launches the distro's default behavior. By default, this launches your default shell.
...
clean
- Uninstalls the distro. The appx remains on your machine. This can be
useful for "factory resetting" your instance. This removes the linux
filesystem from the disk, but not the app from your PC, so you don't
need to redownload the entire tar.gz again.
Portanto, ubuntu clean
deve ser suficiente.
Se ubuntu clean
falhar, você precisará desinstalar o aplicativo da loja e reinstalá-lo. Veja WSL # 2387 .