Solved

Export Scheduled Task from XP to Windows 2008

Posted on 2012-03-12
8
1,658 Views
Last Modified: 2012-03-16
I am replacing a windows XP machine with Windows 2008.
I have lot of scheduled task in Windows XP SP2 machine and I want to copy them to windows 2008 machine.
How can I do that without re creating the tasks in windows 2008 machine.

Thank you.
0
Comment
Question by:Professor_MB
  • 3
  • 3
8 Comments
 
LVL 8

Assisted Solution

by:Frank McCourry
Frank McCourry earned 250 total points
Comment Utility
0
 

Author Comment

by:Professor_MB
Comment Utility
I do not know use of powershell. could you give me a step by step, what needs to be done.
0
 
LVL 8

Expert Comment

by:Frank McCourry
Comment Utility
That article is a step by step.  Powershell is nothing to fear, think of it as a command prompt on steroids.  You can always type "help".
0
The problems with reply email signatures

Do you wish that you could place an email signature under a reply? Well, unfortunately, you can't. That great Exchange/Office 365 signature you've created will just appear at the bottom of an email chain. What a pain! Is there really no way to solve this? Well, there might be...

 

Author Comment

by:Professor_MB
Comment Utility
WHile running its giving below error.  I have replaced my remote servername


{
Exception calling "Connect" with "1" argument(s): "The network path was not found. (Exception from HRESULT: 0x80070035)
"
At C:\New\script1.ps1:2 char:13
+ $sch.Connect( <<<< "MyRemoteServer")
Exception calling "GetFolder" with "1" argument(s): "This operation is supported only when you are connected to the ser
ver. (Exception from HRESULT: 0x800704E3)"
At C:\New\script1.ps1:3 char:24
+ $tasks = $sch.GetFolder( <<<< "\").GetTasks(0)
Get-Member : No object has been specified to get-member.
At C:\New\script1.ps1:4 char:19
+ $tasks | Get-Member <<<<
}
0
 

Author Comment

by:Professor_MB
Comment Utility
I found the in msdn link that /XML option not available for schtasks.exe in XP and 2003.
Could someone assist me exporting these Windows XP Scheduled tasks to Windows Vista/2008
0
 
LVL 8

Expert Comment

by:Frank McCourry
Comment Utility
Can you post the script exactly as you have run it?
0
 
LVL 28

Accepted Solution

by:
Michael Pfister earned 250 total points
Comment Utility
For exporting to XML you have to run schtasks remotely from a Windows 7/Server 2008 machine command prompt.
If both machines are on the same domain, its easy. Just make sure the user is on the admin group on both sides.
If not, connect to the c$ drive (i.e. net use * \\<xpmachine>\c$ /user:<xpmachine>\<localuser>) from the 2008 to the XP machine and then run the schtasks export job like written in the link provided by frankmcc.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

744 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

13 Experts available now in Live!

Get 1:1 Help Now