The Real (and Virtual) Adventures of Nathan the IT Guy

Apr 20 2011   2:30AM GMT

Migrate DHCP from Server 2003 to Server 2008



Posted by: Nathan Simon
Tags:
DHCP Scope
DHCP Server
export DHCP
import DHCP
migrate DHCP
move DHCP
netsh
Windows Server 2003
Windows Server 2008 R2

Wan to know how to export DHCP from Server 2003 and move it to Server 2008? Well I found the step by step instructions of how to do so. Mind you this could also be used to backup a DHCP Scope on Windows Server 2003 as well. Not sure how many of you techies out there are using Server 2003 as your primary DHCP Scope anyways, but just in case!

Click Start, click Run, type cmd in the Open box, and then click OK.

Type netsh dhcp server export C:\dhcpdatabase.dat all, and then press ENTER.

Note: While the export command runs, DHCP server is stopped and does not respond to clients seeking new leases or lease renewals.

At the end of this step, you will have the DHCP configuration as well as address lease information exported into the dhcpdatabase.dat file. You can now stop the DHCP service on the source server.

Install the DHCP server service on the server that is running Windows Server 2008

To install the DHCP Server service on an existing Windows Server 2008 computer:

1. Start Server Manager.

2. Click on Add Roles.

3. Select the DHCP server role and press Next.

4. Click through the next sequence for screens of the installation wizard to complete the DHCP server installation. You should not authorize the DHCP server at this point.

Import the DHCP database

1. Log on as a user who is a member of the local Administrators group or DHCP administrators group.

2. Copy the exported DHCP database file to the local hard disk of the Windows Server 2008 computer.

3. Verify that the DHCP service is started on the Windows Server 2008 computer.

4. Click Start, click Run, type cmd in the Open box, and then click OK.

5. At the command prompt, type netsh dhcp server import c:\dhcpdatabase.dat all

And there you have it, no manual entries needed!

Good Luck!

 Comment on this Post

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

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

Forgot Password

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

Your password has been sent to: