Removing a Value
The DHCP option 6 is used to set the DNS list. These data must be
set in the registry value "NameServer" if Microsoft Windows DHCP
client is NOT activated. If it is activated, the "NameServer" entry
must be set to an empty string, and the data must be set to the Dhcp-
NameServer value instead. Here is how BDRUPD is configured to
achieve this:
HKLM/System/CurrentControlSet/Services
BDRUPD (key)
DHCPTags (key)
6 (key)
Type (REG_DWORD) : 4
RegType (REG_SZ) : ""
Target (REG_MULTI_SZ) : "%ACTIVE_NIC% NameServer"
If (REG_SZ) : "\Registry\Machine\System\CurrentCon-
trolSet\Services\BDRUPD\SetDHCP"
1 (subkey)
Type (REG_DWORD) : 0
RegType (REG_SZ) : ""
Target (REG_MULTI_SZ) : "%ACTIVE_NIC% DhcpNameServer"
If (REG_SZ) : "\Registry\Machine\System\CurrentCon-
trolSet\Services\BDRUPD\SetDHCP"
2 (subkey)
Type (REG_DWORD) : 0
RegType (REG_SZ) : ""
Target (REG_MULTI_SZ) : "%ACTIVE_NIC% NameServer"
If (REG_SZ) : "\Registry\Machine\System\CurrentCon-
trolSet\Services\BDRUPD\SetDHCP"
Setting a Timeout Value
The following example uses a custom DHCP option (129) to set a
timeout value:
HKLM/System/CurrentControlSet/Services
BDRUPD
DHCPTags
129
Type (REG_DWORD) : 2
RegType (REG_DWORD) : ""
Target (REG_MULTI_SZ) : "%SERVICES%\MyService\Parame-
ters"
DHCP Reference
"Timeout"
Native DHCP Options
325