Login to the DHCP server with appropriate credentials
Click start – run – type cmd and press enter
In the command console
netsh dhcp server export c:\dhcp.txt all
Then press enter. You can change the path and filename to suit your needs.
You should see confirmation after a short bit
The amount of time to backup your database will be dependent upon the size. You should get a confirmation that it was completed successfully.
Login to your target server
Login with the appropriate credentials on your target server for importing. If you haven’t installed the DHCP role yet open the server manager console and click on Add Roles.
click the DHCP Server box to add the role
then click Next, then Next again
Make sure the correct IP is selected for binding
then click Next
Set parent domain, Primary and Secondary DNS server IPs and click Next (in this instance the primary is the loopback for the DC that is being used as an example)
If WINS is in use…
click the radio button for “WINS is required…” and configure your Primary and Secondary server IPs then click Next, if you don’t use WINS, leave the default setting and click Next
Since we are importing a database, just click Next on this screen
Usually you can disable DHCPv6 stateless mode
If you aren’t sure you I can’t tell you if you need it or not so either accept the default or change it and click Next
You should get a confirmation message saying the install succeeded.
I wouldn’t import the database onto the new server until you have gone to your old DHCP server and either disabled the DHCP Server service, deactivated the scopes or Unauthorized it.
Open a command prompt on the new server
In the command console
netsh dhcp server import c:\dhcp.txt all
Then press enter. You can change the path and filename to whatever you are using. This how to skips the step of copying the file you exported to the root of C: on the new server.
Authorize the DHCP server
Click Start, point to All Programs, point to Administrative Tools, and then click DHCP.
In the console tree of the DHCP snap-in, expand the new DHCP server. If there is a red arrow in the lower-right corner of the server object, the server has not yet been authorized.
Right-click the server object, and then click Authorize.
After several moments, right-click the server again, and then click Refresh. A green arrow indicates that the DHCP server is authorized.