Schedule SyncToy to Run and Automatically and Repetitively

SyncToy is a free synchronization software from Microsoft which giving away the program as part of XP PowerToy download. However, SyncToy has been upgraded to support both Windows XP and Vista, providing a convenient way to maintain 2 or more copies of files in different location in sync. Unfortunately, SyncToy does not provide an automated way to watch or detect any changes to files or folders in the pre-configured folder pairs and sync the contents on the fly automatically.

In fact, SyncToy doesn’t even have the feature to allow user to schedule folder pairs to run synchronization process at designated time. So even though user has setup a synchronized folder pair, it doesn’t mean that the files or folder between the “left” and “right” folders are always the same or in sync, unless user manually run the SyncToy to start sync process.

As a workaround to sync the folder pairs in case some users may forget or lazy or manually trigger the sync process, users can use Windows Task Scheduler included with Windows XP and Windows Vista operating system to schedule recurrent SyncToy runs, so that the folder pairs will be synced automatically on the preset timing.

Schedule SyncToy Sync Task in Windows Vista

  1. Click on the Start menu, then select All ProgramsAccessoriesSystem ToolsTask Scheduler.
  2. Click on Create Basic Task in the “Actions” pane on the right.
  3. In the “Create Basic Task Wizard”, type in a Name and Description. For example, SyncToy Synchronization.
  4. Click on Next button.
  5. Choose the frequency of when do you want the task to start. If you always make changes to the files, Daily is a good choice.
  6. Click on Next button.
  7. Choose date and times (if applicable) to trigger and run the task.
  8. Click on Next button.
  9. In the “Action” step, select Start a Program as the option for the task to perform.
  10. Click on Next button.
  11. Under “Program/Script”, click on Browse button and locate the SyncToyCmd.exe. Normally it’s located in “C:\Program Files\SyncToy 2.0 Beta\SyncToyCmd.exe” for SyncToy 2.0 Beta.
  12. In the “Add Arguments” textbox, type -R. –R will run all folder pairs that are active for run all. If you want to run just a single folder pair, add –R”folder pair name” to the end of the command line.

    Note: there is a space before the hyphen but not one after the R. If the folder pair name contains a space, surround it with quotation marks, as the example above shows. For another example, assume that SyncToy is in the folder named C:\Program Files\SyncToy 2.0\ and that you want to run a folder pair named “My folder pair.” Enter the command line as follows, including the quotation marks: “C:\Program Files\SyncToy 2.0\SyncToyCmd.exe” -R”My folder pair.” Note that there are two sets of quotation marks in this case: one is around the path to the SyncToy program file and the other surrounds the folder pair name.

Schedule a SyncToy Task in Windows XP

  1. Go to the Start menu, select All ProgramsAccessoriesSystem ToolsScheduled Tasks.
  2. Select Add scheduled task to start the Scheduled Task Wizard. You will see a list of possible programs to run.
  3. SyncToy may appear as an option in the list. If SyncToy does not appear in the list, click Browse and locate the SyncToy executable. Normally it’s installed in Program Files directory.
  4. The wizard will next prompt you to enter how often you want to run the scheduled SyncToy (for example, daily, weekly, et cetera). Select a frequency.
  5. The next page asks when to start the task. Select a start time.
  6. The next page asks for the user name and password to run the program under. Enter your user name and password. However, in SynToy 2.0, it’s not necessary for the defined user to log in to the computer. Different user or no one logged on is possible to have the task running too.
  7. The final page contains an option to open the properties dialog when the wizard ends. Select this checkbox.
  8. Modify the Run textbox to include the –R command line option. –R all by itself will run all folder pairs that are active for run all. If you want to run just a single folder pair, add –R“My Pair” to the end of the command line.

    Note: there is a space before the hyphen but not one after the R. If the folder pair name contains a space, surround it with quotation marks, as the example above shows. For another example, assume that SyncToy is in the folder named C:\My Folder and that you want to run a folder pair named “My folder pair.” Enter the command line as follows, including the quotation marks: “C:\Program Files\SyncToy 2.0\SyncToyCmd.exe” -R”My folder pair.” Note that there are two sets of quotation marks in this case: one is around the path to the SyncToy program file and the other surrounds the folder pair name.


6 Responses to “Schedule SyncToy to Run and Automatically and Repetitively”

  1. Ken
    August 22nd, 2009 01:21
    6

    Pretty sure you need to add a lower case -r to the command, not an upper case -R, or else it won’t actually do anything.

  2. Synchronize and Backup Your Files with SyncToy 2.0 | Techerator
    August 1st, 2009 00:45
    5

    [...] make SyncToy to run on a schedule (which is a great idea to ensure consistent backups), check out this guide.  Data redundancy is the key to surviving in the computer world, so keep up on your [...]

  3. Chaim
    May 8th, 2009 02:16
    4

    Very useful and helpful.

    Is there a way to make this work on updating files. That is every time I make a change in a specific folder it will sync?

  4. Daff
    February 22nd, 2009 03:59
    3

    Thanx a lot !!!

  5. Q
    December 28th, 2008 14:32
    2

    Very nice – a great way to auto sync folders. I never, ever understood why Microsoft is not doing that in their application.

    Some of their tools are ok but integrating them it’s pretty messy.

    If they don’t figure their sh*t in Windows7 I will buy Mac – getting extremely tired of this crap!

    Again, great article – excuse my rant!

    Q

  6. xgermx
    December 7th, 2008 01:51
    1

    Very helpful. Thanks!

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

synctoy schedule - schedule synctoy - synctoy command line - automate synctoy - synctoy scheduled task - synctoycmd.exe - synctoycmd - scheduling synctoy - synctoy 2.0 command line - synctoy 2.0 schedule - synctoy automatic - run synctoy automatically - synctoy scheduling - synctoy task scheduler - how to schedule synctoy - schedule synctoy 2.0 - schedule synctoy 2 - schedule sync toy - synctoy command line options - synctoy 2.0 scheduling - synctoy scheduler - synctoy script - sync toy schedule - SYNC TOY COMMAND LINE - run synctoy scheduled task - synctoy run automatically - synctoy scheduled tasks - command line synctoy - how to run synctoy automatically - scheduling synctoy 2.0 - synctoy command - SyncToyCmd.exe" -R - synctoy automatically - automatically run synctoy - synctoy autorun - synctoy 2.0 scheduled task - automate sync toy - synctoy 2.0 automatic - schedule synctoy task - synctoy arguments - scheduled task synctoy - automate synctoy 2.0 - scheduled tasks synctoy - script synctoy - SyncToy from command line - synctoy 2 schedule - synctoy automatisch starten - synctoy 2 command line - synctoy as scheduled task - automatic synctoy -