Windows Scheduled Tasks

Posted on 2012-09-17
Medium Priority
Last Modified: 2012-10-16
Is there an automated way to convert Windows XP scheduled tasks to Windows 7 scheduled tasks?  I have been set up with a new PC running Windows 7.  I have 55+ scheduled tasks on my old PC running Windows XP.  My desire is to convert the XP Windows schedule tasks to Windows 7 tasks but don't want to have to manually set up each on my new Windows 7 PC.  

Here's hoping that there is some application that can convert the Windows XP schedule tasks to Windows 7 scheduled tasks.

Question by:wmb02

Expert Comment

ID: 38405250
LVL 14

Expert Comment

by:Don Thomson
ID: 38410854
With 55+ scheduled tasks - when does this macine have time to actual act like a PC !

Many of the items in a task schedule are installed by programs - things such as google updater etc. The problem with converting  the old tasks to the new win 7 is that in most noew Win 7 machines - you are runnng 64 bit motherboard and OS - this means that tasks that point to anything in C:\Program Files\..  are not going to convert properly - Go through the old tasks and make a note of which ones you really need to port to the Win 7 PC - If these were ones you screate using Batch files - make sure that all the batch files are in the same location and that they can run manually - else you may find your new PC locking up a lot
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.


Author Comment

ID: 38434789
The 55+ scheduled tasks have worked for 7+ years on XP without any issues whatsoever.  Most run during the none business hours.
LVL 14

Expert Comment

by:Don Thomson
ID: 38438312
You can try this

Run the following command on your Windows 7 PC from an “elevated” command prompt (Start -> All Programs -> Accessories -> right mouse click on “Command Prompt” and select “Run as administrator”):

schtasks /Query /S remote_computer_name /U remote_username /P remote_password /XML > output_file.xml

… where the “remote_computer_name” was the name of your Windows XP machine, and “remote_username” and “remote_password” were for a valid administration user on that machine.

This command tells the remote machine to dump a list of all parameters for all scheduled tasks and send it to your console and the /XML flag tells the Windows 7 box to convert that information to the new XML format, and then you piped the output to a new file, “output_file.xml”.

The output was a concatenated list of all XML task data (which itself is not a valid file to import into Windows 7 task scheduler), so you have to  use a text editor to copy and paste the individual tasks that you  want to recreate and then used the “import” feature in Windows 7 task scheduler to import the new task. I believe there is a flag you can set to have the combined output XML for all the tasks  be valid to import directly, but I'm not sure you want to try that, preferring to manually select which of the tasks to import and doing them one at a time so you can then check the settings each time.

There are a plethora of new features and settings in Windows 7 task scheduler, so it does pay to verify and tweak any settings after importing them

Accepted Solution

wmb02 earned 0 total points
ID: 38486020
I dumped the Windows task scheduler for another reliable tool.

Author Closing Comment

ID: 38500164
Switch to a different scheduling tool.

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

807 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