Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Export scheduled tasks from Server 2003 to Server 2008 R2

Posted on 2012-09-20
7
Medium Priority
?
11,658 Views
Last Modified: 2012-09-20
I would like to export a few scheduled tasks from my Server 2003 box to a new Server 2008 box. How can I accomplish this process? The new Server 2008 box cannot read the .job files created under scheduled tasks in Server 2003. Only xml files. Please advise.
0
Comment
Question by:NWILSON4
  • 4
  • 2
7 Comments
 
LVL 39

Expert Comment

by:Krzysztof Pytko
ID: 38417737
Just follow this MVP article on his blog. Simple and clear step-by-step procedure
http://msmvps.com/blogs/it-is-etc/archive/2011/04/11/migrate-scheduled-tasks-from-2003-to-2008.aspx

Regards,
Krzysztof
0
 
LVL 18

Accepted Solution

by:
Sushil Sonawane earned 1500 total points
ID: 38417792
0
 
LVL 1

Author Comment

by:NWILSON4
ID: 38417881
I've seen all of these articles through my searches on Google; however, I wasn't sure how to apply them to what I'm doing. How can I export specific tasks that I have on the Server 2003 box located under c:\windows\tasks to my Server 2008 system? What would the exact syntax be? You can use generic names for the script, but can you please send an example?

Thank you!
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 39

Expert Comment

by:Krzysztof Pytko
ID: 38417932
On your 2003 box type in command-line
schtask /query /tn "ScheduledTask1" /XML >c:\task1.xml

Open in new window


copy XML file to 2008 and import over GUI

Repeat action for each scheduled task

Krzysztof
0
 
LVL 1

Author Comment

by:NWILSON4
ID: 38417975
Perfect. I'll try in the next hour. Thank you
0
 
LVL 1

Author Comment

by:NWILSON4
ID: 38419880
I'm receiving the following error when I try to run the command:

C:\WINDOWS\system32>schtasks /query /tn "MY SCHEDULED TASK NAME" /XML >c:\t
ask1.xml
ERROR: Invalid argument/option - '/tn'.
Type "SCHTASKS /QUERY /?" for usage.

Also, what should I put inbetween the quotes for my scheduled task name?

Thank you
0
 
LVL 1

Author Closing Comment

by:NWILSON4
ID: 38419965
I ended up using the following article provided by sushil84 to solve my issue:

http://social.technet.microsoft.com/Forums/en-US/winserverMigration/thread/467e5cab-2368-42de-ae78-d86b644a0e71/ 

The Task Scheduler in 2008 allows you to connect to another computer...I simply selected the task from my 2003 server and exported it to a temp folder.  I then disconnected from my other computer and imported the task into the task scheduler on 2008.
0

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
I’m willing to make a bet that your organization stores sensitive data in your Windows File Servers; files and folders that you really don’t want making it into the wrong hands.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question