Tuesday, October 7, 2008

DHCP server database migration

Steps to migrate a DHCP server database migration from a Windows 2003 Server to Windows 2003 Server.

In the source server, log in as local or domain administrator account.

1.- click Start -> Run
2.- type "cmd" and then press Enter
3.- type the next line:
netsh dhcp server export C:\dhcpdatabase.txt all
4.- stop DHCP server service

Now, log in as local or domain administrator in the new dhcp server.

1.- copy dhcpdatabase.txt from remote system to local filesystem in C:\dchpdatabase.txt.
2.- be sure you have dhcp server service running. (If you don't have it then you need to install it.)
3.- click Start -> Run
4.- type "cmd" and then press Enter
5.- type the next line:
netsh dhcp server import C:\dhcpdatabase.txt all

Finally you only have to authorize the dhcp server.
For detailed info you can visit the reference.

References:
http://support.microsoft.com/kb/325473/

No comments: