we use one windows 2003 server to sync files between two other windows servers. I assume that the whole traffic goes through the server initializing the sync.

If so, is there a way to trigger a copy between the 2 other machines without routing all through the first server?

Thank you! Regards, Uwe

  • What method are you using to sync the files? Windows File Copy? Or a specific application? Need more details. – Mark Henderson Jul 20 '09 at 6:02
  • It's using an old version of synchromat (.com). So I assume it's just windows file copy. – kcode Jul 20 '09 at 6:04
  • The way to do this on *nix computers is through ssh. – Brad Gilbert Jul 20 '09 at 17:44

If you want to take the middle server out of the loop, you'll need to get one of the other two servers to initiate the copy. A combination of PsExec (as suggested by moshen) plus RoboCopy would do the trick efficiently and quickly.

RoboCopy has a bunch of command-line switches that make this kind of sync easy to do - just be sure to test thoroughly before you start mirroring deletes (/PURGE or /MIR), else you can purge both directories in the blink of an eye!

Depending on your network infrastructure, you might be interested in the /IPG:n switch, as it forces RoboCopy to wait between packets, allowing other network traffic to get through.

  • 1
    Always have the data backed up before testing anything ^^ – Oskar Duveborn Jul 20 '09 at 10:05
  • Indeed. When I screwed up my RoboCopy settings, I managed to nuke both my master copy AND my primary backup in one go. Was very glad I had another backup that was both up-to-date and offline to use for restoration. – Bevan Jul 20 '09 at 23:30

You could use PsExec to initiate the copy remotely.


Why not just add a scheduled task on the server you'd like to initiate the copy process?

Another way to remotely start a process n a remote machine is to have a Windows Service wrapper around the executable and trigger it with the net start command - it supports calling remote servers.


how about taking an extra step and implementing DFS?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.