How to rename network interface on target without Explorer shell?

G

garang

Hi there,

According to MSDN Library article:
http://msdn.microsoft.com/library/d...netshtoconfigurenetworkingonrun-timeimage.asp

One can invoke netshell.dll as:
"rundll32 netshell.dll HrRenameConnection"
to rename network interface names to meaningful ones so as to issue "netsh
interface ip" commands later on. I tried the rundll32 command but nothing
happened. I thought I might be missing some components in the target system
so I tried the same rundll32 command on my WinXP desktop system and nothing
happened as well. Since I am not using the Explorer shell, my interface
names are non-intuitive hash strings. I tried using that hash-string name in
netsh but it refused to accept it. Am I forced to include the Explorer shell
so that it renames the interfaces for me automatically on bootup?

Thanks in advance.
/Swee
 
H

Heidi Linda eMVP

There's a component on xpefiles.com which could help. It's under components,
other, netsetup. It contains a vbscript file which sets the machine name,
and is controlled by a batch file that runs it and then sets the IP address
with netsh. It doesn't have to be used with the batch file, however.
 

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