Wednesday, August 20, 2008

Moving Windows 2003 DHCP Service

In order to prep for migrating over to a Windows 2008 domain, I had to move the DHCP service from one of my Windows 2003 domain controllers to another. Below are the steps I used to complete this easy task:

Installed DHCP service on the new DHCP server

Ran the following command on the old DHCP server:

netsh dhcp server export C:\dhcp.txt all

Copied the dhcp.txt file over to the same location on the new DHCP server

Ran the following command on the new DHCP server:

netsh dhcp server import C:\dhcp.txt all

On the old DHCP server, right-clicked the Scope and selected Deactivate

On the old DHCP server, right-clicked the Server -> All Tasks -> Stop

On the new DHCP server, right-clicked the Server -> All Tasks -> Start