Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 55
  • Last Modified:

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

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
avsc
Asked:
avsc
1 Solution
 
lruiz52Commented:
0
 
Senior IT System EngineerIT ProfessionalCommented:
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
 
QlemoC++ DeveloperCommented:
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
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 
avscAuthor Commented:
ITSystemEngineer step by step instructions worked flawlessly. Thanks much.
1
 
Senior IT System EngineerIT ProfessionalCommented:
avsc,

Many thanks for the confirmation :-)
Glad that it helps you.
0
 
Senior IT System EngineerIT ProfessionalCommented:
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
 
Senior IT System EngineerIT ProfessionalCommented:
Hope that helps.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now