We are running DHCP servers on several of our 2008 R2 DCs in different sites. I have been able to back up those servers using the netsh dhcp server dump command. I am not able to import that dhcp file onto any of our other 2008R2 DCs. I have tried opening the file up and replacing the IPs, making sure the new server is authorized, deleting the current dhcp mdb(on the target server) before attempt the import, running the netsh command from an elevated command prompt, using "netsh exec" or "netsh dhcp server import", etc. It always fails. I usually either get "the following command was not found |. or sometimes get "access denied" I have tried this with 2 different netsh dumps from 2 different 2008 R2 dhcp servers and restoring on (2)different DCs that have dhcp on them and are authorized in AD, with no dhcp databse. I know that I can backup the DHCP database through the gui and restore through the gui, but not looking to do it that way because I want to use a netsh scripting solution. If anyone has any ideas of some commands I an use to restore my netsh dhcp dump, let me know and I will try them. I have read most of the MS dhcp migration articles, but maybe I missed something.
Thanks,
Dan
Dan Heim