Microsoft - Migrate DHCP server to another Windows Server
Ref:
Before migration to the new server:
Install features to DHCP feature to the new server via Server Manager.
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
Stop the current DHCP server
Disable the “DCHP Server” services
- 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
- Import the DHCP scope
- Test on client PC via ipconfig /all, and ipconfig /release
- Check the DHCP Server ip address is the same as the new server
- On the old DHCP, decommision
This post is licensed under CC BY 4.0 by the author.