Export/Import DHCP

Migrate DHCP from a Windows Server 2003/2008 to a new Windows Server 2008 Server.

Export DHCP Database from source server

1.   Log on to the existing source DHCP server (win2003/2008) as a domain administrator account or an account with appropriate privilege.
2.   Click Start then Run, type cmd in the Open box and click Ok.
3.   Type netsh dhcp server export C:\dhcp.dat all and Enter

Import DHCP Database to target server

Log on to the new (destination) Windows server 2008/R2 machine as domain administrator or member of domain administrator group account.

1.   Click Start, click Administrative Tools and click Server Manager.
2.   In Roles Summary click Add Roles, click Next, check DHCP server, and then click Next.
2.   Now move the exported DHCP database file (C:\dhcp.dat ) to target Windows server 2008 server hard disk.
3.   Ensure DHCP service is started on the target Windows Server 2008-based server.
4.   Click Start then Run, type cmd in the Open box, and then click OK. (run cmd in elevated mode).
5.Type: net stop dhcpserver (confirm dhcp server service is stop).
6. Remove DHCP database called dhcp.mdb file from following location: (C:\Windows\System32\dhcp\).
7. Type: net stat dhcpserver (confirm dhcp server service is started and dhcp.mdb file will be recreated)
8.   At the command prompt, type netsh dhcp server import c:\ C:\dhcp.dat
and press Enter.
9.   Click Start, click All Programs and to Administrative Tools then click DHCP.
10.   In DHCP console, expand the new DHCP server.
11.   Right-click the DHCP server objects and click on Authorize.
12.   Wait for a while for green (authorize). Alternatively restart the server or press F5 for refresh.


About Robiul

Robiul has 15 years of continuous successful career experience in ICT with extensive background in System Engineering, IT infrastructure design, operations and service delivery, managing IT projects / MIS functions for local and multi-national companies with in-depth knowledge of multiple operating systems as well as construct / manage small to medium size Data Center. Proven ability to design and implement medium to semi-large scale LAN/WAN/WLAN and system infrastructures. Academic qualification: Master of Science in Information Systems. Professional certifications are: MCSE, CCNA, ITIL and FoundStone Security Professional, VCP, NetAPP, CISSP etc.
This entry was posted in Windows and tagged . Bookmark the permalink.