Migrate Windows DHCP Server

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

Leave a Reply

Your email address will not be published. Required fields are marked *