Following post explains how to migrate your DHCP database to a new server.
- log on to the source DHCP server. Note that the account must have local admin privileges
- Fire up an elevated command prompt and enter the following command
- netsh dhcp server export c:\dhcp.txt all
- copy the created text file to the destination server.
Install the DHCP Server role on the destination Server using add roles wizard from Server Manager. You do not need to configure any scopes.
- Log on to the destination server with an account which has local admin privileges.A user account in a group that is a member of the local Administrators group will not work. (My destination server was a Domain controller and i logged in as administrator :P )
- assuming that the exported text file was copied to C:\, fire up and elevated command prompt and run the following command. Make sure the DHCP Server service is running.
- netsh dhcp server import c:\dhcp.txt all
- Open the DHCP console on the new server and you may see the server with a red arrow pointing downwards. This new server has not been authorized yet!
- Right click the server and select Authorize.
- check whether you have all your scope options and Reservations in the new server.
On your old server, Unauthorize the DHCP server, Stop and disable the DHCP Server service from the services snap-in.
No comments:
Post a Comment