How to Migrate DHCP from Windows Server 2008 R2 to Windows Server 2016

There are two ways how you can assign IP addresses to hosts in your computer network, including static and dynamic addressing. Static addressing is manually assigning IP addresses to your hosts which consume much more time and decrease the productivity of IT Administrator. We are recommending you to use dynamic addressing using DHCP (Dynamic Host Computer Protocol) protocol. The best practice will include static addressing for servers, storage and network printers, and dynamic addressing to other hosts in the network. You can promote your router, firewall or physical server as DHCP server.

Imagine the next scenario: You are managing 200 hosts in the small company. Currently, you are using Windows Server 2008 R2 as DHCP server and your plan is to migrate your DHCP server to new physical server powered by server Dell PowerEdge R730 and Windows Server 2016.

We will show you how to migrate DHCP from Windows Server 2008 R2 to Windows Server 2016. There are different ways how to do it, but we will show you how to do it by using Powershell. So let’s start.

In the first part, we will install DHCP Server on Windows Server 2016. Your Windows Server 2016 should be a part of domain infrastructure. Before doing this step, please add your server to your current domain. In our example, Windows Server 2016 is added to a domain named appuals.com.

  1. Log on Windows Server 2016 by using Administrator account
  2. Open Server Manager
  3. Under Configure this local server click Add roles and features
  4. Under Before You Begin click Next
  5. Under Installation Type, choose Role-based or feature-based installation and then click Next
  6. Under Server selection, choose your server and then click. In our example, we will install DHCP Server on a server named DHCPSRV1.
  7. Under Server Roles select DHCP Server and then click Add Features. After that click Next.
  8. Under Features click Next
  9. Under DHCP Server click Next
  10. Under Confirmation click Install
  11. Wait until Windows is finished installing DHCP Server

In the second part, we will export DHCP Server configuration from Windows Server 2008 R2. In this example, we will save DHCP Server configuration on local disk C:. You can save on external disk, USB flash disk or network location. Later, you will need this file on the new server.

  1. Log on Windows Server 2008 R2 by using Administrator account
  2. Click Start menu and type Powershell
  3. Right click on Powershell and then choose Run as Administrator
  4. Type netsh DHCP server export C:dhcp.txt and then press Enter to export DHCP server to .txt file

In the third part we will import DHCP Server configuration to a new server powered by Windows Server 2016, and then we will authorize the new DHCP. In this part you will need access to exported DHCP Server configuration, so please copy the .txt file to your local storage or network location. In our example, we will copy the .txt file to C:.

  1. Log on Windows Server 2016 by using Administrator account
  2. Click Start menu and type Powershell
  3. Right click on Powershell and then choose Run as Administrator
  4. Type netsh DHCP server import C:dhcp.txt and press Enter to import .txt file
  5. Open Server Manager
  6. At the right top corner choose Tools and then click DHCP
  7. Right click on your server and then click Authorize
  8. Make sure that your new DHCP has all of the same configuration, including scopes, reservations

In the fourth part, we will remove DHCP Server role from old server powered by Windows Server 2008 R2. Before that, we will check is the old DHCP active or not. It should be deactivated.

  1. Log on Windows Server 2008 R2 by using Administrator account
  2. Hold Windows logo and press R
  3. Type dhcpmgmt.msc and press Enter to open DHCP Management
  4. Make sure your old DHCP server is not active anymore. After you authorize your new DHCP server, your old DHCP server will deauthorize automatically, as you can see in next screenshot.
  5. Open Server Manager, again
  6. Under Roles Summary click Remove Roles
  7. Under Before Your Begin click Next
  8. Deselect DHCP Server and then click Next
  9. Under Confirmation click Remove
  10. Restart your Windows Server 2008 R2

 

The post How to Migrate DHCP from Windows Server 2008 R2 to Windows Server 2016 appeared first on Android News.

Check Also

What is srtasks.exe and should I Delete it?

The srtasks.exe file is the executable of a legitimate Microsoft process called System Protection Background …

Leave a Reply

Your email address will not be published. Required fields are marked *