Use this process to migrate DHCP Server from one Windows server to another. It brings over everything – scopes, leases, reservations and options.
On the Old DHCP Server
Run from a command prompt:
netsh dhcp server export c:\myscopes.txt all
Stop and disable the DHCP Server service via services.msc.
Copy myscopes.txt to c:\ on the new DHCP server.
On the New DHCP Server
Install the DHCP Server role.
Run from a command prompt:
netsh dhcp server import c:\myscopes.txt all
Notes
Remember to change any IP Helpers in the environment to point to the new server.
Successfully used this going from:
- Windows 2008 R2 -> 2012, 2012 R2, 2016, 2019
- Windows 2012 -> 2012 R2, 2016, 2019
- Windows 2012 R2 -> 2016, 2019
Jason works as a project specialist at an IT MSP in Pennsylvania, USA. He’s an IT/security professional with 20 years experience.