Here’s a quick post that will hopefully save some time for those in similar situation. Last night I was trying modify a scope option but due to the fact that the option was set at the server level, I could not change it through the GUI.
When this happens, there is another option, doing it through the command line using netsh. It’s quite simple actually. Let’s say I wanted to change the scope option 003, we’ll then have to do run the following command:
netsh dhcp server <ip address> scope <ip address> set optionvaule 003 ipaddress <ip address>
Lets say that my DHCP server IP is 10.10.10.15 and my scope subnet is 10.10.10.0 and I want my option 003 IP address to be 10.10.10.1, then the command will look like this:
netsh dhcp server 10.10.10.15 scope 10.10.10.0 set optionvalue 003 ipaddress 10.10.10.1
This will change the scope option 003 IP address to 10.10.10.1 even though we defined a server option and could not change it within the GUI.
Here’s also a link with more on the netsh options when working with DHCP, Netsh Commands for DHCP