privatezilla icon indicating copy to clipboard operation
privatezilla copied to clipboard

`Remove all builtin apps` will remove WSL

Open gzz2000 opened this issue 4 years ago • 7 comments

.. which got me in trouble...... Now I have lost some files within WSL1 filesystem, and all of the environments I configured in it and I have to reinstall it completely Please consider adding WSL to some whitelist

gzz2000 avatar Nov 01 '20 02:11 gzz2000

So WSL is distributed via APPX file format which is used for installing/uninstalling UWP/Modern apps!? Didnt know that ... Hmm

Did you install your Linux Distro via the Microsoft store?

Belim avatar Nov 02 '20 08:11 Belim

So WSL is distributed via APPX file format which is used for installing/uninstalling UWP/Modern apps!? Didnt know that ... Hmm

Did you install your Linux Distro via the Microsoft store?

Yes. I installed WSL1 ubuntu 16.04 via MS store. The filesystem lies in %APPDATA%\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs. This directory is deleted completely after the removal of apps.

gzz2000 avatar Nov 02 '20 11:11 gzz2000

Same Issue here. Everything got deleted.
Afterwards I reinstalled WSL manually ( see https://docs.microsoft.com/de-de/windows/wsl/install-manual ) and ran the tool again. Again everything was deleted.

Ideally there would be an output that shows which of the detected apps will get deleted.

lhoe avatar Nov 12 '20 14:11 lhoe

Just ran into this myself and lost a bunch of ssh keys. 🤦
+1 to a summary of which apps will be deleted, or some sort of sensible blacklist that can be updated with known bloatware store apps.

MrDetonia avatar Feb 05 '21 02:02 MrDetonia

Same thing just happened here. Not fun. Please fix.

Bondrake avatar Aug 07 '21 07:08 Bondrake

Same issue here. At the very least a warning would be nice.

brucosper avatar Aug 10 '21 22:08 brucosper

Yup. just deleted Ubuntu, Windows Terminal, Lenovo Vantage and Lenovoo Hotkeys :( atleast a warning would have been nice

s4nket avatar Feb 15 '22 14:02 s4nket