Microsoft KB,  MS Server

Backup & Restore of DHCP Server 2012 and above

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:

  1. Open cmd on the server you want to export the DHCP config (In my case it was the older 2012 R2 server)
  2. netsh dhcp server export C:\Users\username\Desktop\dhcp.txt allĀ 
  3. Copy this file to the new server you wish to restore the DHCP config and open cmd
  4. netsh dhcp server import C:\Users\username\Desktop\dhcp.txt allĀ 
  5. Select “Authorize” in the DHCP management console of the new server.
  6. 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.

Buy me a coffeeBuy me a coffee

Rating: 5.0/5. From 1 vote.
Please wait...

One Comment

  • Network Admin

    After hours trying to restore a backup, this worked in 5 minutes……………

    No votes yet.
    Please wait...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.