Schedule a Batch Job in Windows ... FFS Manual ...

Discuss new features and functions
Posts: 100
Joined: 14 Feb 2015

volker01

From the FFS Manual:

https://freefilesync.org/manual.php?topic=schedule-a-batch-job
"if you schedule FreeFileSync to run under a different user account, note that settings (e.g. GlobalSettings.xml) will also be read from a different path, C:\Users\<username>\AppData\Roaming\FreeFileSync, or in the case of the SYSTEM account from C:\Windows\System32\config\systemprofile\AppData\Roaming\FreeFileSync."

And this ist a problem when you use (User-) Global Options in FFS - Tools - Options like "Copy locked files" ...
These Options are saved in the GlobalSettings.xml.

You have to copy Your GlobalSettings.xml to C:\Windows\System32\config\systemprofile\AppData\Roaming\ ... .
Normaly you have no access to: C:\Windows\System32\config\systemprofile\AppData\Roaming\ ...
and you must do that ervery time, if you change anything, or there is an FFS-Update from the GlobusSettings.xml

Or:
When you setup FFS with your User-Account - the globalsettings.xml stored in your user-account and when you run FFS with a Windows-Task, with the User System - then you have start FFS with:

"C:\Program Files\FreeFileSync\FreefileSync.exe" "C:\Users\<YourUserProfileName>\AppData\Roaming\FreeFileSync\GlobalSettings.xml" "<PathTo>\BatchRun.ffs_batch"

Volker01