Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How do you move DHCP from Server 2003 to Server 2012 R2?

Posted on 2016-07-29
9
Medium Priority
?
53 Views
Last Modified: 2016-08-22
Is there an easy way to move DHCP from Server 2003 to Server 2012 R2 along with all Address Pools, Reservations, Etc. Getting ready to retire the old server and looking for an easy way to migrate from one to the other.

Thanks
0
Comment
Question by:avsc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 17

Expert Comment

by:lruiz52
ID: 41735408
0
 
LVL 8

Expert Comment

by:Senior IT System Engineer
ID: 41735415
Hi AVSC,

You can use the tested method that I use to migrate the DHCP server multiple times.

It's been also tested with many other experts in this forum.
DHCP.docx
1
 
LVL 71

Expert Comment

by:Qlemo
ID: 41735745
Just backup DHCP configuration
 netsh dhcp server export \\server\share\folder\dhcp-backup.txt
and restore it on the new server
 netsh dhcp server import  \\server\share\folder\dhcp-backup.txt
(both in an admin/elevated cmd prompt, and with a valid path of course).
Then disable the scope on the old DHCP server.
On the new DHCP server you need to authorize it using DHCP Management console, right click on the server name, Authorize.
As soon as everything is fine, removing the old DHCP server (by deinstalling it) should be done.

The link provided in the first comment show step by step instructions by example, in case my description is not sufficient for you.
2
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:avsc
ID: 41735936
ITSystemEngineer step by step instructions worked flawlessly. Thanks much.
1
 
LVL 8

Expert Comment

by:Senior IT System Engineer
ID: 41736387
avsc,

Many thanks for the confirmation :-)
Glad that it helps you.
0
 
LVL 8

Accepted Solution

by:
Senior IT System Engineer earned 2000 total points (awarded by participants)
ID: 41736408
DHCP Server role migration
This document explains the steps to migrate the DHCP server from the existing Physical server OLDSERVER into new physical machine NEWSERVER.
Here are the steps that must be executed in order to successfully transfer the NTP server role:
1.      Modify DHCP server lease configuration on OLDSERVER
The DHCP lease for each of the subnet setting can be shorten so that it will automatically pick up new NEWSERVER as the DHCP server:
1.      Login to OLDSERVER using DOMAIN\Administrator account using RDP connection.
2.      Open up the DHCP console.
3.      Go to IPV4 and right click on scope option [10.1.3.0] then select properties.
4.      Change the lease duration into 1 hour then click on OK.
5.      Repeat the steps above for the rest of the scope.

2.      Export the DHCP server configuration database on OLDSERVER
The DHCP server setting can be exported into .MDB file which can then can be imported to the new NEWSERVER to retain and custom configuration for the IP address assignment:
1.      Login to OLDSERVER using DOMAIN\Administrator account using RDP connection.
2.      Open up command prompt
3.      Type the following Command: netsh
4.      Type the following Command: DHCP
5.      Type the following Command: server \\10.1.3.2
6.      Type the following Command: export c:\w2k3DHCPdb all

3.      Install the DHCP server role on NEWSERVER
After the DHCP database or configuration export above, the DHCP database will be imported to the new DHCP server on NEWSERVER:
1.      Connect to NEWSERVER using Remote Desktop as DOMAIN\Administrator.
2.      Copy the exported DHCP database file from OLDSERVER to the local hard disk of NEWSERVER.
3.      From within Server Manager, select Add roles and features
4.      Select Role-based of featured-based installation and select Next.
5.      On the Server Selection window, leave the default and select Next. When the Server Roles window opens, select DHCP.
6.      Select Add Features in the pop-up window, then select Next.
7.      Once the DHCP install has been completed, select DHCP located in the Server Manager dashboard
8.      Right click the designated DHCP server in the services pane, then select Stop.
9.      Delete the DHCP.mdb file under c:\windows\system32\DHCP folder.
10.      Return to DHCP located in the Server Manager dashboard
11.      Right click the designated DHCP server in the services pane, then select Start.
12.      Right-click on the bottom left hand side of the desktop screen to invoke the admin menu
13.      Select Command Prompt (Admin) to open the cmd prompt using elevated privileges.
14.      Type the following Command: netsh
15.      Type the following Command: DHCP
16.      Type the following Command: server \\10.1.3.26
17.      Type the following Command: import C:\w2k3DHCPdb
18.      Close the command prompt when completed.
19.      Return to DHCP located in the Server Manager dashboard.
20.      Right click the designated DHCP server in the services pane, then select Restart.
21.      Disable and remove DHCP from the Windows 2003 server.

4.      Enable the DHCP server role and change DNS option to NEWSERVER
After the DHCP scope and settings import has completed, the DNS server value in the DHCP scope must be configured to NEWSERVER before authorizing the DHCP server.
1.      Open the DHCP Console.
2.      Expand NEWSERVER.
3.      If open the IPv4.
4.      Open the relevant scope.
5.      Click on the Scope Options.
6.      Click on the 006 DNS Servers option, right click and select properties.
7.      Highlight the old IP address 10.1.3.2 and click remove.
8.      Insert the new IP address 10.1.3.99 and click add.
9.      Click Apply then OK.
10.      Right click on the NEWSERVER object then Authorize it within your domain.

5.      Modify DHCP server lease configuration on NEWSERVER
Reconfigure the DHCP lease to be the default values before the migration on NEWSERVER as the new DHCP server:
1.      Login to NEWSERVER using DOMAIN\Administrator account using RDP connection.
2.      Open up the DHCP console.
3.      Go to IPV4 and right click on scope option [10.1.3.0] then select properties.
4.      Change the lease duration into 8 hours then click on OK.
5.      Repeat the steps above for the rest of the scope.
0
 
LVL 8

Expert Comment

by:Senior IT System Engineer
ID: 41762203
Hope that helps.
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
A procedure for exporting installed hotfix details of remote computers using powershell
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question