Applies to:
Windows Server 2008 R2, Windows Server 2012R2, Windows Server 2016
From the command prompt on the source DHCP server run the following command:
1 |
netsh dhcp server export c:\dhcp.dat all |
2. Copy the “dhcp.dat†file to the new, or destination, DHCP server and run the following command:
1 |
netsh dhcp server import c:\dhcp.dat all |
While running the export command, the DHCP service will be temporarily stopped and won’t respond to DHCP requests. Also, the import will fail if there are any existing DHCP scopes that overlap with the original DHCP servers configuration.