builtbybel / privatezilla

👀👮🐢🔥Performs a privacy & security check of Windows 10
https://www.builtbybel.com/apps/privatezilla
MIT License
3.51k stars 164 forks source link

`Remove all builtin apps` will remove WSL #34

Open gzz2000 opened 3 years ago

gzz2000 commented 3 years ago

.. 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

Belim commented 3 years ago

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?

gzz2000 commented 3 years ago

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.

lhoe commented 3 years ago

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.

MrDetonia commented 3 years ago

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.

Bondrake commented 2 years ago

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

brucosper commented 2 years ago

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

s4nket commented 2 years ago

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