JSI Tip 0462 - How do I move scheduled jobs to a different Server?

Jerold Schulman

March 22, 1998

1 Min Read
ITPro Today logo

If you need to take a computer offline, it may be useful to copy the scheduled jobs to another server.

Note: In addition to the procedure describe below, you will have to manually copy programs and files used by the scheduled jobs.

To move the schedule from MachineA to MachineB:

On MachineA:

Use Control Panel / Services to navigate to the Schedule Service and Stop it.

Run Regedit.exe and navigate to:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesSchedule

On the Registry menu, choose Export Registry File and save the file as MachineA on a share accessible to both servers or on removeable media.

Start the Schedule Service.

Use a text editor (Notepad) to edit the MachineA.reg file created and remove the

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesSchedule] line and the Values listed below it, so that only the sub-keys of the Schedule Service and their Values remain. Example:

REGEDIT4

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesSchedule22CDB7B4]
"Schedule"=hex:c0,42,c0,00,00,00,00,00,40,01,00,00
"Command"=""C:\Program Files\NAVNTavwnt" /L"

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesSchedule4DCBA1C7]
"Schedule"=hex:00,7c,92,00,00,00,00,00,00,00,00,00
"Command"="C:\scrnsave.cmd"

Change the sub-keys so that they are unique on MachineB. I prefer to just number them. This makes them easily identifiable for subsequent removal. Example:

REGEDIT4

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesSchedule01]
"Schedule"=hex:c0,42,c0,00,00,00,00,00,40,01,00,00
"Command"=""C:\Program Files\NAVNTavwnt" /L"

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesSchedule02]
"Schedule"=hex:00,7c,92,00,00,00,00,00,00,00,00,00
"Command"="C:\scrnsave.cmd"

On MachineB:

Use Control Panel / Services to navigate to the Schedule Service and Stop it.

Double click the MachineA.reg file to install it.

Start the Schedule Service.


Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like