Copy Locked Files (VSS) on Job Basis

Get help for specific problems
Posts: 1
Joined: 2 Jun 2024

andrewcarsten97

Hello guys,

Is it possible to set the "Copy locked files" option on a per-job basis? I need to run some jobs with VSS enabled to copy locked local files and other jobs as a user to access files on SMB shares without re-entering credentials. However, this option is currently located in the main program settings.

Thank you,
-Andrew
User avatar
Posts: 4034
Joined: 11 Jun 2019

xCSxXenon

https://freefilesync.org/manual.php?topic=command-line
You can run FFS syncs via the command line and designate a different GlobalSettings file. You would have a file that has VSS enabled and one Disabled. There isn't currently a way to define this setting per sync configuration, because the entire FFS program has to run with the elevated privileges or none of it can. This isn't a FFS limitation, it is just how the OS works. I have only used the command line to run syncs directly though, so I am not aware if you can use it to simply open the FFS GUI for interactive use. You may have to test that. If it does work like that, you could have two FFS shortcuts, each with its own GlobalSettings. Name them accordingly and use the one with VSS enabled as needed and vice versa