Skip to main content

Migrate DHCP from one Server to Another

http://www.terminalworks.com/blog/post/2016/03/08/dhcp-server-migration-from-server-2008r2-to-server-2012r2 

 

 

netsh dhcp server export C:\Accent\dhcpdata.dat all 

netsh dhcp server import C:\Accent\dhcpdata.dat all 

 

  1. Log into old server and run these commands: 

    1. C:\> netsh 

    2. netsh> dhcp 

    3. netsh dhcp> server 

    4. netsh dhcp server> export C:\Accent\dhcpdata.dat all 

  2. Make sure DHCP is installed and authorized on new server. 

  3. Copy dhcpdata.dat to new server 

  4. Disable DHCP service on old server 

  5. Log into new server and run these commands: 

    1. C:\> netsh 

    2. netsh> dhcp 

    3. netsh dhcp> server 

    4. netsh dhcp server> import C:\Accent\dhcpdata.dat all 

  6. Validate and test by renewing an IP on a PC. 

That is all folks!