Schedule robocopy run

Posted by xeonet on Server Fault See other posts from Server Fault or by xeonet
Published on 2009-08-12T19:21:33Z Indexed on 2012/12/12 23:06 UTC
Read the original article Hit count: 152

I have Windows Server 2008 Enterprise. I need to copy files from network folder, I connected as a Z: drive. I need to schedule the copy. In scheduler I run it every 5 minutes.

robocopy.exe Z:\ C:\destination /E

I've tried to put it to .bat file, tried to write in scheduler, it doesn't help. I've set run with highest privilegies...

Task Scheduler successfully completed task "\RoboCopy" , instance "{dd2d2d1c-4ef1-4e30-b226-4a77aa52dab9}" , action "C:\Windows\SYSTEM32\cmd.exe" with return code 16.

© Server Fault or respective owner

Related posts about windows-server-2008

Related posts about robocopy