JSI Tip 2127. How do I move a <b>DHCP</b> database from NT Server 4.0 to another NT Server 4.0?

Unfortuneatly, DHCPadmin.exe won't do it.

I recommend that you backup your DHCP configuration before performing this procedure.

NOTE: This procedure will set the destination to %systemroot%\system32\dhcp\dhcp.mdb.

On the Source DHCP server:

01. Control Panel / Services / Microsoft DHCP Server.

02. Configure Startup as Disabled.

03. At a CMD prompt, type: net stop DHCPserver.

04. Copy the DHCP folder (%SystemRoot%\system32\Dhcp) to \\Destination\c$\Temp\dhcp.

On the destination DHCP server:

01. Install DCHP using Control Panel / Network / Services. Reapply your latest Service Pack and restart the server.

02. At a CMD prompt, type: net stop DHCPserver.

03. Delete the contents of %systemroot%\system32\dhcp, including subfolders.

04. Copy C:\Temp\dhcp to %systemroot%\system32\dhcp.

05. Using Regedt32, navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCPServer\Configuration.

06. Select the Configuration key and click Restore from the Registry menu.

07. Enter %SystemRoot%\System32\Dhcp\Backup\Dhcpcfg when prompted for a file name.

08. Press Yes when prompted to restore over an existing key.

09. Exit Regedt32.

10. At a CMD prompt, type: net start DHCPserver.

11. Start the DHCP Manager.

12. Double-click a scope to view the Active Leases dialogue. Reconcile to synchronize the database with the registry.

13. Repeat step 12 for each scope.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.