RealTimeSync running as Scheduled Task not syncing

Get help for specific problems
Posts: 3
Joined: 13 Nov 2012

unassassinable

Setup: Windows 2008 R2 domain joined machine trying to sync to a remote non-domain joined Server 2008 R2. The folder on the remote end is shared, and NTFS permissions are set correctly to allow the domain joined computer to read, write and modify files.

Step I have taken:
1) Opened FreeFileSync.exe > Advance > Create batch job...
2) Put a local drive on left, a remote drive (mapped with a drive letter) on Right, compare = File time and size, Synchronize = Automatic, batch settings = Ignore (selected), Show progress dialog (unchecked), Generate log (checked), On completion = Close progress dialog, Log file going to documents directory, limit = 90, Saved as SyncJob.ffs_batch to my documents directory.
3) Closed FreeFileSync
4) Opened Task Scheduler > Create New Task....
5) Run as the following account = SYSTEM, Run weather user is logged in or not selected, configure for Windows 2008 R2
6) Trigger = on startup
7) Action = start a program > "C:\Program Files\FreeFileSync\RealtimeSync.exe", add arguments > "C:\Users\admin\Documents\SyncJob.ffs_batch", Start in > I have left this blank, and I have inserted C:\Program Files\FreeFileSync.
8) Conditions > All unchecked
9) Settings > Only checked are "Allow to run on demand", "If the task does not end, force it to stop.

When I save these settings and manually run the task, the last run result column will display "The task is currently running (0x41301), and 2 new prcesses start, RealTimeSync.exe and RealTimeSync_x64.exe. But nothing syncs between the left and right folders. I can add or remove files on either side, and nothing changes. Also nothing logs.

WHEN I CAN GET IT TO WORK

I can double click the batch file and it does a 1 time sync correctly. If I change the task user from SYSTEM to a local admin, it works fine, and syncs fine.

Any ideas?
User avatar
Site Admin
Posts: 7279
Joined: 9 Dec 2007

Zenju

The question is what you are trying to do:
If you want to execute a sync on user logon, you should start FreeFileSync.exe not RealtimeSync.exe
If you want to start "real time synchronization" you should use RealtimeSync.exe with either a .ffs_batch or .ffs_real file as argument. However note the "delay" in RTS: After a change is detected, synchronization is only triggered after an additional idle time of the specified number of seconds. This also applies to RTS startup which behaves as if it had just detected a change.
Posts: 3
Joined: 13 Nov 2012

unassassinable

Im trying to use RTS to sync to a remote directory whether a user is logged in or not, that starts on machine start up. The delay is the default 10 seconds. Nothing syncs. I am using RealTimeSync with the batch file created in step 1.
User avatar
Site Admin
Posts: 7279
Joined: 9 Dec 2007

Zenju

I think I answered this in the last post. Or is there anything unclear?
Posts: 3
Joined: 13 Nov 2012

unassassinable

"you should use RealtimeSync.exe with either a .ffs_batch or .ffs_real file as argument"

I do. See point 7 in the first post.

"However note the "delay" in RTS: After a change is detected, synchronization is only triggered after an additional idle time of the specified number of seconds."

I understand. the time delay is set for 10 seconds. I could run the task and wait 10 hours and nothing will sync to/from either side when the task runs as system.

I did try to be as thorough in the description as possible, but I guess if you feel you've answered the question, then I'll look elsewhere.