Automatic File Synchronization with SyncToy in Windows
Posted in Automation, Windows on 02/27/2009 06:00 pm by jmccune

My laptop at work is not automatically backed up, so I maintain a folder named “Warehouse” in My Documents that I used offline files to synchronize to our central file servers, which are backed up. Since the primary method of accessing offline files is through a mapped drive letter, I had performance issues with shortcuts and applications being accessed through the network.
I’ve since disabled offline files, installed the Microsoft SyncToy 2.0 [1] and configured a scheduled task to synchronize the Warehouse folder to the network file server and to a TrueCrypt encrypted disk image on portable, external storage.
This solution works quite well. If the encrypted disk image is not mounted, SyncToy doesn’t complain, and when I’m off the corporate network there aren’t any issues either.
In order to configure the task to run automatically, make sure to Run “C:Program FilesSyncToy 2.0SyncToyCmd.exe” -R
I have the task run after 10 minutes of idle time, which is perfect for my lunch break or whenever I step away from the computer. This also prevents lengthy sync processes from kicking off at log-in or log-out which I found annoying with Offline files.
