netsh dhcp set optionvalue binary


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
 
Ad

Advertisements

J

Jerold Schulman

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
 
E

Emmanuel Thiry

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.
 
Ad

Advertisements

J

Jerold Schulman

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top