Post

Microsoft - Migrate DHCP server to another Windows Server

img

img


Ref:


Before migration to the new server:

  1. Install features to DHCP feature to the new server via Server Manager.

  2. Export the DHCP scope from the existing DHCP server.

    • copy the exported xml file the new server
1
Export-DhcpServer -ComputerName "Server1.fqdn.com" -File "C:\temp\dhcp.xml" -Leases -Force
  1. Stop the current DHCP server

    img

  2. Disable the “DCHP Server” services

  3. On the new server,
    • Import the DHCP scope
      1
      
      Import-DhcpServer -ComputerName "Server2.fqdn.com" -File "C:\temp\dhcp.xml" -Leases -Force
      
    • Enter the backup path: C:\temp\DHCP-backup.xml
    • Click yes
  4. Test on client PC via ipconfig /all, and ipconfig /release
    • Check the DHCP Server ip address is the same as the new server
  5. On the old DHCP, decommision
    • Right click on the DHCP
    • Select Manage authorized server …

      img

    • Unauthorize the old server

      img

This post is licensed under CC BY 4.0 by the author.