netsh

B

Barney

I used to use the netsh.exe that came with Windows 2000
Professional to add some dhcp reservations (to our Windows
2000 server) from the command line.

I just upgraded my client (and the adminpak.msi if this is
relevant) but the XPSP1 netsh.exe (06/30/2003
04:33PM 83,456) does not offer me a dhcp sub-
command. If I type netsh dhcp /? it responds

"The following command was not found: dhcp /?."

The references to netsh on Microsoft's site (for both XP
and Windows Server 2003) suggest that this subcommand
should still be an option:

http://www.microsoft.com/resources/documentation/windows/xp
/all/proddocs/en-us/netsh.mspx


What am I missing?
 
D

David Wang [Msft]

What does this show:
NETSH SHOW HELPER

The documentation you referenced indicates that contexts may not available
until you add the appropriate helper context. In fact, I didn't see DHCP
context loaded by default on XPSP1 either, but according to documentation,
DHCP context is implemented by dhcpmon.dll, so I ran:
NETSH ADD HELPER DHCPMON.DLL

And I had access to the DHCP context.

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
I used to use the netsh.exe that came with Windows 2000
Professional to add some dhcp reservations (to our Windows
2000 server) from the command line.

I just upgraded my client (and the adminpak.msi if this is
relevant) but the XPSP1 netsh.exe (06/30/2003
04:33PM 83,456) does not offer me a dhcp sub-
command. If I type netsh dhcp /? it responds

"The following command was not found: dhcp /?."

The references to netsh on Microsoft's site (for both XP
and Windows Server 2003) suggest that this subcommand
should still be an option:

http://www.microsoft.com/resources/documentation/windows/xp
/all/proddocs/en-us/netsh.mspx


What am I missing?
 

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