To work around this behavior, use the following method that
correlates to how you installed the DHCP service.
Method 1: Remote install or unattended install
Copy the Dhcp.mdb database file from another DHCP server. To do
this, you can use the following batch file:
net stop dhcpserver
del %systemroot%\system32\dhcp\dhcp.mdb
copy location of source Dhcp.mdb file on a functional DHCP server C:\WINDOWS\system32\dhcp
net start dhcpserver
netsh dhcp server IP address set optionvalue Value dword Value
When you copy the Dhcp.mdb database file from another DHCP server, make
sure that the following conditions are true:
- The DHCP server service is stopped before you copy the
Dhcp.mdb database file.
- The source DHCP server is functional.
- Only the DHCP MMC is open, and the DHCP server is connected
for the option definitions to be created.
Method 2: Manual install
Open the DHCP MMC and then connect to one or more DHCP servers
before you use the Netsh.exe tool to configure scope options.