RESOLUTION
If, for example, you tried to set DHCP lease duration to one hour (3600 seconds) on subnet 192-168.1.1 with the following command:
DHCPCMD 192.168.1.254 SetSubnetOptionValue 192.168.1.1 051 DWORD 3600
You actually set option 041 (decimal) to a value of 3600. Option (decimal) 041 is the IP address of NIS servers on the client subnet. 3600 is not a valid value for this option.
To properly set the lease duration (or any other subnet option value), eliminate the leading 0 from OptionID on the DHCPCMD command line. In this case, the working version of the previous example would be:
DHCPCMD 192.168.1.254 SetSubnetOptionValue 192.168.1.1 51 DWORD 3600
Note also that the registry value is not a DWORD but is a binary value. Most, if not all, of the DHCP option values are stored in binary registry entries. (Strings, IP addresses, byte data, and so forth). It is possible to set many of the values by specifying DWORD as the type. If an option is of type STRING, then STRING must be specified as the type.