Skip navigation

JSI Tip 2135. How do I move a DHCP Server from Windows 2000 to another Windows 2000 Server?


If the desination Windows 2000 Server has DHCP installed, you MUST uninstall it:

1. Control Panel / Add/Remove Programs.

2. Select Add/Remove Windows Components.

3. Double click the words Networking Services.

4. Uncheck the DHCP Server box.

On the source server:

01. Control Panel / Services / Microsoft DHCP Server.

02. Configure Startup as Disabled.

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

04. Use Regedt32 to navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DhcpServer\Configuration

05. With the Configuration key selected, use Save Key on the Registry and enter C:\DHCPCFG.KEY.

NOTE: Do NOT use Save Subtree As.

NOTE: The following settings will NOT migrate and can be manually configured at the conclusion of this procedure, using the DHCP snap-in.

        APIProtocolSupport 
        DatabaseCleanupInterval 
        DatabaseLoggingFlag 
        DetectConflictRetries 
        DatabasePath 
        BackupDatabasePath 
        DatabaseName 
        BackupInterval 
        RestoreFlag
On the destination Windows 2000 Server:

01. Control Panel / Add/Remove Programs.

02. Select Add/Remove Windows Components.

03. Double click the words Networking Services.

04. Check the Dynamic Host Configuration Protocol (DHCP) box.

NOTE: Do NOT start the DHCP MMC until instructed, as this will invalidate the migration.

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

06. Copy the C:\DHCPCFG.KEY file from the source server to the destination Windows 2000 server as C:\DHCPCFG.KEY.

07. Use Regedt32 to navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DhcpServer\Configuration.

08. With the Configuration key selected, use Restore on the Registry and enter C:\DHCPCFG.KEY.

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

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

11. Copy %systemroot%\system32\dhcp\Dhcp.mdb from the source server to %systemroot%\system32\dhcp.

12. At a CMD prompt, type: net start dhcpserver. You should receive:

      The DHCP Server service was started successfully.

13. In the Administrative Tools group, start the DHCP Server snap-in.

14. Select the destination server and Reconcile All Scopes on the Action menu. Click Verify. Click Reconsile to synchronize the registry and database.

15. If this is an Active Directory Domain, Authorize the server.

Hide comments

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.
Publish