Windows Scheduled Tasks

Posted on 2012-09-17
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
    LVL 7

    Expert Comment

    LVL 10

    Expert Comment

    LVL 14

    Expert Comment

    by:Don Thomson
    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

    Author Comment

    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
    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

    I dumped the Windows task scheduler for another reliable tool.

    Author Closing Comment

    Switch to a different scheduling tool.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
    Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
    In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
    This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…

    734 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

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now