Jun 20

Robocopy – Create a scheduled task

When you’re moving userdata from one fileserver to another, you know that it must be done after peak hours. In this article, I’ll explain how you can create a scheduled task for robocopy.

  • Start Task Scheduler (Start – Run – TaskSchd.msc)
  • Select Create Basic Task
    Basic Task
  • Give it a distinctive name & description (optional)
    Name
  • Choose a schedule
    Schedule
  • Select Start a program
    Action
  • Enter program/script as follows : C:\Windows\System32\Robocopy.exe
    Add Arguments (source folder, destination folder, …) For a comprehensive list of all robocopy command line switches : http://technet.microsoft.com/en-us/library/cc733145.aspx
  • Review the parameters and click on Finish. Your sheduled task has been created!