Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I create a backup of my schedulded tasks so that I can restore them on my backup server easily?

Edit: I would prefer a command line version, so that the backup of the schedulded tasks is a job on its own so that I do not miss any changes.

share|improve this question
I made the edit more apparent so people wouldn't overlook that you would prefer a command line way of doing things. – Wesley Dec 30 '10 at 19:36
Thanks for the accepted answer! Glad I could help. – Wesley Jan 3 '11 at 20:22
up vote 2 down vote accepted

For a command line solution, try one of the following two:

  • Copy all files in the "C:\WINDOWS\Tasks" folder ala RoboCopy
  • Play around with the command schtasks /query /xml ONE and pipe the output into a .xml file. So... schtasks /query /xml ONE >> myTasks.xml

More on schtasks can be found at MSDN and TechNet.

share|improve this answer

Right click on each one, and choose export, they appear to be in XML format.

share|improve this answer

following steps:

1.Open Scheduled Tasks on your local machine (go to Start, Settings, Control Panel, Scheduled Tasks).

2.Right-click the task your want to move or copy.

Click here to view image

3.If you want to copy the task, select Copy, and if you want to move the task, select Cut.

4.Open My Network Places in Windows Explorer, expand the domain or workgroup, and select the target machine where you want to copy or move the task.

5.Right-click the target machine's Scheduled Tasks, and click Paste.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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