DHCP server migration from server Windows 2008 R2 to server 2012 R2 with Exporting and Importing the DHCP Database

You can use this procedure to move a DHCP database from one server computer (the source server) to another server computer (the destination server).

Member of the DHCP Administrators group on the source and destination DHCP servers is the minimum required to complete this procedure.

To complete this we need follow this steps:

  • Export configuration from Windows 2008 r2 server
  • Install new Windows 2012 r2 server, connect to domain and install DHCP role
  • Stop DHCP service on Windows 2008 r2 server
  • Import configuration to Windows 2012 r2 server

 

Our Windows server 2008 r2 DHCP server look like below:

0migrte08to12sds

To export  DHCP database and configuration open command prompt as Administrator and type commands below:

netsh

dhcp

server

export C:\dhcp2008.dat all

1migrte08to12sds

As you see DHCP database file exported:

2migrte08to12sds

Install new Windows 2012 r2 server, connect to domain and install DHCP role on the destination DHCP server and Log on to the destination DHCP server.

Copy this file to destination windows server 2012 r2 server :

3migrte08to12sds

Verify that the DHCP service is started on the destination DHCP server.

4migrte08to12sds

Stop DHCP service on old windows server 2008R2 server:

5migrte08to12sds

DHCP server stopped:

6migrte08to12sds

After that we can import DHCP database to new installed DHCP server. Open command prompt as administator and type commands below:

netsh

dhcp

server

import C:\dhcp2008.dat all

7migrte08to12sds

After imported database we need to refresh to see new configurations:

8migrte08to12sds

That is all. We moved a DHCP database and configuration from a server that is running Windows Server 2008 r2 to another server that is running Windows Server 2012 R2:

9migrte08to12sds

 

2 thoughts on “DHCP server migration from server Windows 2008 R2 to server 2012 R2 with Exporting and Importing the DHCP Database

Add Comment