Solved

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

Posted on 2016-07-29
9
35 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
9 Comments
 
LVL 17

Expert Comment

by:lruiz52
ID: 41735408
0
 
LVL 7

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 68

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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

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

Expert Comment

by:Senior IT System Engineer
ID: 41736387
avsc,

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

Accepted Solution

by:
Senior IT System Engineer earned 500 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 7

Expert Comment

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

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Understanding the various editions available is vital when you decide to purchase Windows Server 2012. You need to have a basic understanding of the features and limitations in each edition in order to make a well-informed decision that best suits y…
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.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now