How to copy many Scheduled Tasks between Windows Server 2008 machines?

view full story

http://serverfault.com – I have several standalone Win2008 (R1+R2) servers (no domain) and each of them has dozens of scheduled tasks. Each time we set up a new server, all these tasks have to be created on it. The tasks are not living in the 'root' of the 'Task Scheduler Library' they reside in sub folders, up to two levels deep. I know I can use schtasks.exe to export tasks to an xml file and then use: schtasks.exe /CREATE /XML ...' to import them on the new server. The problem is that schtasks.exe creates them all in the root, not in the sub folders where they belong. There is also no way in the GUI to move (HowTos)