Wednesday, March 16, 2011

Migrating DHCP server from 2003 to 2008R2

So I'm in the process of migrating all AD services from 2003 to 2008R2, currently I have a 2003 SP2 x86 server hosting AD, DHCP, DNS, and RRAS.  After adprepping the domain, I was able to promote a 2008R2 server to a DC, and now I have to move all the existing services, including FMSO roles to the new 2008R2 server.  After a quick google search, I found that MS has migration tools for PowerShell, this is NOT my idea of a good time ;)  very complex series of web pages and command..ugh.  Migrating DHCP as it turns out is not complicated, at all.

From the source server command prompt: netsh dhcp server export c:\dhcpdb
copy the file to the destination server
On the destination server, administrator command prompt: netsh dhcp server import c:\dhcpdb

Stop the DHCP service on the source, authorize and start on the new server. That is all there is to it.

Simple, for the win!

No comments: