Improve company productivity with a Business Account.Sign Up

x
?
Solved

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

Posted on 2016-07-29
9
Medium Priority
?
62 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
7 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 72

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
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Learn about cloud computing and its benefits for small business owners.
Measuring Server's processing rate with a simple powershell command. The differences in processing rate also was recorded in different use-cases, when a server in free and busy states.
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

606 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