I recently built a new 2016 domain controller, exported the old 2012 DHCP server config and imported it in Server 2016 via the DHCP GUI.
On the new 2016 server DHCP failed with an error “The DHCP service failed to restore the DHCP registry configuration”.
I was stuck and couldn’t restore the new DHCP server.
Here is an alternate way of exporting/importing DHCP. Here is the solution:
- Open cmd on the server you want to export the DHCP config (In my case it was the older 2012 R2 server)
- netsh dhcp server export C:\Users\username\Desktop\dhcp.txt all
- Copy this file to the new server you wish to restore the DHCP config and open cmd
- netsh dhcp server import C:\Users\username\Desktop\dhcp.txt all
- Select “Authorize” in the DHCP management console of the new server.
- All done. Did it work for you?
Did our article help you? Here are some ways you can help us.
Have a look at our IT Tech Tool Kit List, need ideas on what to buy? I have listed my top 30 tools here.