netsh command is not working correctly for XPE

  • Thread starter Thread starter mike-ca
  • Start date Start date
M

mike-ca

i tried to run the command in my XPE image:
netsh interface ip set address "Local Area Connection" static 193.45.6.0

got the error message "the following command was not found: interface
ip set address",

but this command works in XP Pro, why doesn't work in XPE??

thanks
 
mike,

You are not running Explorer shell, are you?

Then the "Local Area Connection" interface name is not registered.
First try to run the following command: "rundll32 netshell.dll HrRenameConnection",
and then repeat the netsh interface ip set address test.
 
Hi

there are additional components to net shell. Look for "net shell *" or
"network command shell *"

Add the Component "network command shell interface context". This should
contain the "interface ip" command.
 
thanks KM and Andreas!

yes, the soultion is adding 'network command shell interface context"
component, it contains the "ifmon.dll" which is needed for "interface
ip" command

cheers
 

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

Back
Top