Running Task As Other User

Get help for specific problems
Posts: 1
Joined: 18 Sep 2018

JCarnon

Hi,

I am attempting to use FreeFileSync to back up a NAS to an external HDD.

The currently logged in User has full access to all shares excluding one. When attempting to run the task as the currently logged in User, an error present itself stating the program can't access the other "Locked" Share.

Fine. I created a local account on the machine running FreeFileSync, which has the same Username and Password as the remote NAS "Locked" Share. When I attempt to Compare between the NAS and External USB Drive, I am not presented with any errors.

However, when I attempt to run the Batch Task as the other User, I simply get nothing. No prompts, errors, nadda. I noticed FFS creates lock files in all the directories, but I don't get anything else.

I have attempted to run the task with the "other" User physically logged in but still nothing.

Any ideas?
Posts: 62
Joined: 22 Apr 2018

markusoft

this is how I do it
to protect backups from wannacry etc
net use * /d /y
net use \\server /user:admin password
freefilesync command line
pause (I pause here in daytime for running at will) - remove pause at night or run a different .bat .cmd file
net use * /d /y
net use drive: \\server\share1
net use drive: \\server\share2
net use drive: \\server\share3
I think in todays world, one should be able to connect as multiple people to same server