The information in this article applies to:
- Microsoft Windows NT Server version 4.0
IMPORTANT: This article contains information about editing the registry.
Before you edit the registry, make sure you understand how to restore it
if a problem occurs. For information on how to do this, view the "Restoring
the Registry" online Help topic in Regedit.exe or the "Restoring a Registry
Key" online Help topic in Regedt32.exe.
SUMMARY
This article describes how a Windows NT Administrator can move scheduled
jobs from one Windows NT 4.0 server to another. For example, a server with
several different batch jobs scheduled to run at various times throughout
the week needs to be taken offline, so the jobs need to be moved to another
server.
NOTE: The purpose of this article is to instruct you how to move the
schedule from one server to another. All batch files, applications, or
services called upon by these scheduled jobs still have to be installed
locally on the computer you are moving the scheduled jobs to.
MORE INFORMATION
Follow the steps below to move all scheduled jobs from Server1 to
Server2:
Server1
- Click Start, point to Settings, click Control Panel, and then
double-click Services.
- Stop the Schedule service.
WARNING: Using Registry Editor incorrectly can cause serious problems
that may require you to reinstall your operating system. Microsoft
cannot guarantee that problems resulting from the incorrect use of
Registry Editor can be solved. Use Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing Keys
And Values" online Help topic in Registry Editor (Regedit.exe) or the
"Add and Delete Information in the Registry" and "Edit Registry Data"
online Help topics in Regedt32.exe. Note that you should back up the
registry before you edit it.
- Run Registry Editor (Regedt32.exe) and go to the following subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule
- On the Registry menu, click Save Key.
- Navigate to a network share accessible by both servers, then name the
file Schedule.reg.
Server2
- Click Start, point to Settings, click Control Panel, and then NOTE:
double-click Services.
- Stop the Schedule service, if it is running.
- Run Registry Editor (Regedt32.exe) and go to the following subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule
- On the Registry menu, click Restore, select the saved file on the
network share mentioned in Step 5 under Server1, and then click Open.
You will be prompted with a warning that Registry Editor will
restore a key on top of the currently selected Key. If there were jobs
previously scheduled on Server 2, they will be replaced.
Click OK to continue.
- Close Registry Editor.
- Click Start, point to Setting, click Control Panel, and then
double-click Services.
- Start the Schedule service.
The entire job schedule is now transferred to the new server without
having to manually recreate them using the AT command or WinAT.
|