Global vs Profile Settings

Get help for specific problems
Posts: 1
Joined: 24 Dec 2014

advancedbasic

Not sure if this is a bug or feature but it confused me for a few minutes so I thought I'd post it.

I was testing a sync on a server while logged in as a non-admin user but running FreeFileSync as admin. I needed to check the Tools->Options->Copy Locked Files since that was the whole reason for using FreeFileSync. Everything worked beautifully.

Then I saved as batch and created a scheduled task to run it under my admin user. However, the scheduled task got the "file is locked by another process" error. I couldn't find anything in the batch xml that would override the locked file restriction.

Finally I found it in AppData\Roaming\FreeFileSync\GlobalSettings.xml for the non admin user. Since my admin user has never run the app, it does not have the entry in AppData.

So... this seems like an option that should either be in the ProgramFiles dir or in the batch xml.

Is it in the batch xml and I just can't find where to put it?
User avatar
Site Admin
Posts: 7281
Joined: 9 Dec 2007

Zenju

Your observation is correct, "CopyLockedFiles" is stored in GlobalSettings.xml which is a per-user setting stored under "%AppData%". "ProgramFiles" as location won't work for multi-user machines.