Uninstall over Win Program and feat. deletes user documents

Moderators: Site Moderators, FAHC Science Team

Post Reply
baxs
Posts: 3
Joined: Fri Apr 10, 2020 7:37 pm

Uninstall over Win Program and feat. deletes user documents

Post by baxs »

Hello Everybody,

today I uninstalled Folding at Home v7.5.1 from my WIndows 10 over the Windows Programs and Features and I checked the box to delete the Data.
And the uninstaller completely deleted my User directory "Documents".

I saved the details of the uninstall and here are some lines:
"
Remove folder: C:\Users\baXs\Documents\my games\
Remove folder: C:\Users\baXs\Documents\My Music\
Remove folder: C:\Users\baXs\Documents\My Pictures\
Remove folder: C:\Users\baXs\Documents\My Videos\
...
Remove folder: C:\Users\baXs\Documents\
Completed
"

And it is all gone.
So why would the uninstaller do this? Did I something wrong?
These folders are not linked with the software.
Fortunately there where no real important data, hopefully, I cant check it anymore.

Please check the software for bugs.

Best regards
Daniel
JimboPalmer
Posts: 2573
Joined: Mon Feb 16, 2009 4:12 am
Location: Greenwood MS USA

Re: Uninstall over Win Program and feat. deletes user docume

Post by JimboPalmer »

This is my guess.

I am very careful to always use the express install so I use the default file locations. If I ever did un-install F@H sometime in the future, it should remove the data in those default directories. If you alter the directory F@H is going to use to store data, it would be a very good idea not to put other files there.

I am betting you did not use the express install. It is just a guess.
Tsar of all the Rushers
I tried to remain childlike, all I achieved was childish.
A friend to those who want no friends
baxs
Posts: 3
Joined: Fri Apr 10, 2020 7:37 pm

Re: Uninstall over Win Program and feat. deletes user docume

Post by baxs »

JimboPalmer wrote:This is my guess.

I am very careful to always use the express install so I use the default file locations. If I ever did un-install F@H sometime in the future, it should remove the data in those default directories. If you alter the directory F@H is going to use to store data, it would be a very good idea not to put other files there.

I am betting you did not use the express install. It is just a guess.

No, I did not. The details shows the directories from F@H is on another partition.
"
Delete file: D:\Programme\FAHClient\About Folding@home.url
"

The the uninstaller should only remove the user data associated to the program but obviously it deletes more.

regards
JimboPalmer
Posts: 2573
Joined: Mon Feb 16, 2009 4:12 am
Location: Greenwood MS USA

Re: Uninstall over Win Program and feat. deletes user docume

Post by JimboPalmer »

I defer to your expertise, as I have never been tempted to un-install F@H.
Tsar of all the Rushers
I tried to remain childlike, all I achieved was childish.
A friend to those who want no friends
PantherX
Site Moderator
Posts: 7020
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: Uninstall over Win Program and feat. deletes user docume

Post by PantherX »

Welcome to the F@H Forum baxs,

Sorry to hear about your potential data loss.

I noticed that you have these two paths in your post:
C:\Users\baXs\Documents\
D:\Programme\FAHClient\About

Those are not the default paths for installing F@H Software. Below are the default paths on Windows 10:
C:\Program Files (x86)\FAHClient -> This is where the F@H Client is installed
C:\Users\PantherX-H\AppData\Roaming\FAHClient -> This is where the F@H Client downloads WUs and FahCores

On Windows 10 when I have uninstalled F@H Client, only the FAHClient folders were deleted (I ticked the box to delete the data during uninstallation).

Given that you have two different drives in use, is there some kind of Symbolic Links going on your system: https://www.howtogeek.com/howto/16226/c ... -or-linux/
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
rwh202
Posts: 425
Joined: Mon Nov 15, 2010 8:51 pm
Hardware configuration: 8x GTX 1080
3x GTX 1080 Ti
3x GTX 1060
Various other bits and pieces
Location: South Coast, UK

Re: Uninstall over Win Program and feat. deletes user docume

Post by rwh202 »

Yes, this is quite a serious bug with the installer / uninstaller

I once chose my app data directory to install to and that became the data directory. Ideally the installer should automatically append another directory depth to selected folder/fahclient

When you uninstall, it just blats the entire contents of the directory - not just folding files / folders. Potentially very upsetting.
PantherX
Site Moderator
Posts: 7020
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: Uninstall over Win Program and feat. deletes user docume

Post by PantherX »

I found out the issue and it was reported in 2010 and I have updated the ticket with the information in this thread: https://github.com/FoldingAtHome/fah-issues/issues/107
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
Jesse_V
Site Moderator
Posts: 2851
Joined: Mon Jul 18, 2011 4:44 am
Hardware configuration: OS: Windows 10, Kubuntu 19.04
CPU: i7-6700k
GPU: GTX 970, GTX 1080 TI
RAM: 24 GB DDR4
Location: Western Washington

Re: Uninstall over Win Program and feat. deletes user docume

Post by Jesse_V »

For recovering your files, I'd suggest Periform Recuva. It should be able to scan the NTFS file system and recover the files in your home directory. Been using it for about four or five years now.
F@h is now the top computing platform on the planet and nothing unites people like a dedicated fight against a common enemy. This virus affects all of us. Lets end it together.
baxs
Posts: 3
Joined: Fri Apr 10, 2020 7:37 pm

Re: Uninstall over Win Program and feat. deletes user docume

Post by baxs »

Data Recovery, man why did I not have that idea. Sometimes you don`t see the forest ;)
Thank you for the hint so there was not much data in the directory, only some save games from my games.

And I figured out what went wrong.
So I used not the default settings from the installer, but the installer put the work data which I downloaded for folding just in C:\Users\baXs\Documents\ without an extra folder for F@H.
The uninstaller took the whole directory as the F@H directory for the user data. As I included the Data to be erased, the folder got deleted, because the individually files from F@H where stored there.

Unfortunate for me, but thats life. Now I have a schedule to backup my data. Be careful when uninstalling.

Best regards
Daniel
bruce
Posts: 20910
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Uninstall over Win Program and feat. deletes user docume

Post by bruce »

@ baxs when you were asked where to install FAH's work files, you probably specified C:\Users\baXs\Documents\, replacing the default setting of C:\Users\baXs\Roaming\FAHClient or something like that.(i haven't installed in a long time so I'm not sure what the default would have been.

The point is that the default path ends in \FAHClient and the installer expected to find an empty directory \FAHClient which the uninstaller should remove. The assumption that you knew that and that \Documents was empty and could later be installed was a poor assumption, but I think you can see what happened when the uninstaller proceeded on the basis of that faulty assumption. Had you specified C:\Users\baXs\Documents\FAHClient the uninstaller would have worked correctly, removing \FAHClient and its contents but not touching anything else in \Documents.

You're not the first one to encounter this issue.

This will be fixed in the next release of FAHClient.
Andromeda88
Posts: 1
Joined: Fri Jul 03, 2020 4:14 pm

Re: Uninstall over Win Program and feat. deletes user docume

Post by Andromeda88 »

Uninstall deleted yesterday all files in %appdata%/roaming! (Windows 10). :evil:
JimboPalmer
Posts: 2573
Joined: Mon Feb 16, 2009 4:12 am
Location: Greenwood MS USA

Re: Uninstall over Win Program and feat. deletes user docume

Post by JimboPalmer »

1) 7.5.1 for Windows had a bug where it deleted all files in the install directory. If you did not use the defaults, this was a risk.

2) it is fixed in newer clients.
Tsar of all the Rushers
I tried to remain childlike, all I achieved was childish.
A friend to those who want no friends
bruce
Posts: 20910
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Uninstall over Win Program and feat. deletes user docume

Post by bruce »

Do you mean %APPDATA%\FAHClient. The environment variable %APPDATA% should already contain the entry "/roaming" and it should have been an empty directory when FAH was installed. The uninstaller is supposed to remove everything that it put in a directory that's initially empty.
Post Reply