netsh dhcp set optionvalue binary

  • Thread starter Thread starter Emmanuel Thiry
  • Start date Start date
E

Emmanuel Thiry

Hi,
I need to modify option 43 of a Windows 2000 DHCP server with IP=192.168.0.6
The command line :
netsh dhcp server 192.168.0.6 set optionvalue 43 byte xxxx
should do the trick according to the online help, but I don't know how to
write my data (the xxx in the command line).
By the way I think that the key word should be "binary" instead of "byte".

I succeeded in modifying options with every types (word, dword, string,
ipaddress) except binary.
My DHCP server is a Windows 2000 Server SP2 in French.

Can anyone help ?

thanks
Manu
 
Hi,
I need to modify option 43 of a Windows 2000 DHCP server with IP=192.168.0.6
The command line :
netsh dhcp server 192.168.0.6 set optionvalue 43 byte xxxx
should do the trick according to the online help, but I don't know how to
write my data (the xxx in the command line).
By the way I think that the key word should be "binary" instead of "byte".

I succeeded in modifying options with every types (word, dword, string,
ipaddress) except binary.
My DHCP server is a Windows 2000 Server SP2 in French.

Can anyone help ?

thanks
Manu
A Google search turned up the following example:
set optionvalue 060 binary 505845436C69656E74


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
Hi,
A Google search turned up the following example:
set optionvalue 060 binary 505845436C69656E74


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com

I tried but it fails : parameters incomplete or invalid.
Can it be a problem with the DHCP server ? Its version is 5.5.
 
I tried but it fails : parameters incomplete or invalid.
Can it be a problem with the DHCP server ? Its version is 5.5.
It is possible, as you are only running SP2.
SP4 has been out for quite a while.



Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
Back
Top