How to Move a DHCP Database to Another Windows NT Server
ID: Q130642
|
The information in this article applies to:
-
Microsoft Windows NT Workstation versions 3.5, 3.51, 4.0
-
Microsoft Windows NT Server versions 3.5, 3.51, 4.0
-
Microsoft Windows 2000 Professional
-
Microsoft Windows 2000 Server
-
Microsoft Windows 2000 Advanced Server
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 about how to do this, view the "Restoring
Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help
topic in Regedt32.exe.
SUMMARY
Windows NT provides an administration utility called Dynamic Host
Configuration Protocol (DHCP) Manager (Dhcpadmn.exe) that allows you to
manage DHCP servers. However, Dhcpadmn.exe does not allow you to move a
database from a server to another server. This article explains how to move
a database from a server to another server if the database and backup
directories are on default drive.
MORE INFORMATION
To move a database from a server computer to another server computer,
perform the following procedures:
From the Source Server
- Stop the DHCP Server service using the Control Panel Service tool.
- To prevent DHCP from starting after the database has been transferred,
disable DHCP. To do so, use the Control Panel Services tool. Select
Microsoft DHCP Server from the Services list, click Startup, click
Disabled, and then click OK.
- Copy the DHCP directory tree (%SystemRoot%\system32\Dhcp) to a temporary
location on the new (destination) DHCP server. For example, copy the
directory tree to C:\Temp\System32\Dhcp.
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" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete
Information in the Registry" and "Edit Registry Data" Help topics in
Regedt32.exe. Note that you should back up the registry before you edit it.
- Start Registry Editor (Regedt32.exe) and go to the following subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCPServer\Configuration
- From the Registry menu, click Save Key. Create a name for this key. For
example <Temp1>.
NOTE: The following three steps are optional.
- Remove the DHCP directory (%SystemRoot%\System32\Dhcp).
- Click the Start button, point to Settings, click Control Panel, and then
double-click the Network icon.
- Click the Protocols tab, select DHCP from the Network Protocols list,
and then click Remove.
From the New DHCP Server
- If you have not already installed the DHCP Server software, install it
and then restart the server.
- Stop the DHCP Server service.
- Rename the System.mdb file in the temporary System32\Dhcp directory to System.src.
NOTE: In Windows NT 3.5, copying the System.mdb file from one system to another can cause problems.
NOTE: Windows NT 4.0 does not have a System.mdb file. It is now called Dhcp.mdb. This step is for Windows NT 3.51 only. If you are using Windows NT 4.0, skip to step 4.
- Copy the DHCP directory tree from the temporary directory to
%SystemRoot%\system32 to replace the existing DHCP directory.
- Start Registry Editor (Regedt32.exe) and go to the following subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCPServer
- Select Configuration under the DHCPServer subkey.
- From the Registry menu, click Restore.
- Select %SystemRoot%\System32\Dhcp\Backup\Dhcpcfg.
- When prompted, click Yes.
NOTE: After clicking Yes to the prompt to overwrite the existing
registry entries, you may get the following error message:
Registry editor could not accomplish the requested operation.
This error can be caused by trying to remotely restore the registry from
one system to another, as indicated in the following Microsoft Knowledge
Base article:
Q139600
: Registry Editor Save Key Saves Key on Wrong Computer
But, this error can also be caused by clicking Save Subtree As rather
than the Save Key option as indicated in step 5 above when carried out
on the previous (source) server.
- Exit Registry Editor.
- Start the DHCP service.
- Start the DHCP Manager.
- Select each Scope, Active Leases and click Reconcile to synchronize the
database with the registry.
Additional query words:
admin administrator
Keywords : kbnetwork ntnetserv ntregistry NTSrvWkst
Version : WINDOWS:2000; winnt:3.5,3.51,4.0
Platform : WINDOWS winnt
Issue type : kbinfo
|