Tip

Moving DHCP database to a new server

Periodically system administrators may need to upgrade or decommission the DHCP server. They can use the backup and restore procedure to move the DHCP database to a new server during such situations.

Follow these steps to configure a new DHCP server and move the current DHCP database from the old server to the new server.

  1. Start by installing the DHCP Server service on the destination server and then restart the server.
  2. When the server restarts, log on, and at the command prompt type net stop "dhcp server" to stop the DHCP Server service.
  3. Remove the contents of the %SystemRoot%System32Dhcp folder on this server.
  4. Now log on to the original (source) server, and at the command prompt type net stop "dhcp server" to stop the DHCP Server service.
  5. In the Services node of Computer Management, disable the DHCP Server service so that it can no longer be started, then copy the entire contents of the %SystemRoot%System32Dhcp folder to the %SystemRoot% System32Dhcp folder on the destination server.
  6. Once all the necessary files are on the destination server, type net start "dhcp server" to start the DHCP Server service on the destination server, which completes the migration.

Please let us know how useful you find this tip by rating it below! If you have a useful Windows tip, timesaver or workaround to share, submit it to our

    Requires Free Membership to View

tip contest and you could win a prize!

This was first published in July 2006

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.