C
Carl
I have set rundll32 netshell.dll HrRenameConnection to run as a first
boot agent generic command. I was then trying to configure the ip
address for it and it was failing everytime. I finally figured out that
command wasn't giving the network ports there default name. I know it
isn't working because I outputted the text of it into a text file to
show me the interface names after it is run and I got this:
Admin State State Type Interface Name
-------------------------------------------------------------------------
Enabled Dedicated
{73E49643-983F-451F-A661-C3D46055F8EF}
Enabled Dedicated
{F1D214A8-E7FD-4D38-87EC-475D40579F73}
Enabled Internal Internal
Enabled Loopback Loopback
Yet when windows runs explorer.exe, it will then name them for me. But
then I can't have them be configured on first boot. Here is the command
I'm using to name them and then output the interfaces to check:
%11%\cmd.exe /c %11%\Rundll32.exe %11%\netshell.dll HrRenameConnection
%11%\cmd.exe /c %11%\netsh interface show interface >> C:\1.txt
So how can I have them be named? Is there any other way to do this?
This is really holding me back on this.
boot agent generic command. I was then trying to configure the ip
address for it and it was failing everytime. I finally figured out that
command wasn't giving the network ports there default name. I know it
isn't working because I outputted the text of it into a text file to
show me the interface names after it is run and I got this:
Admin State State Type Interface Name
-------------------------------------------------------------------------
Enabled Dedicated
{73E49643-983F-451F-A661-C3D46055F8EF}
Enabled Dedicated
{F1D214A8-E7FD-4D38-87EC-475D40579F73}
Enabled Internal Internal
Enabled Loopback Loopback
Yet when windows runs explorer.exe, it will then name them for me. But
then I can't have them be configured on first boot. Here is the command
I'm using to name them and then output the interfaces to check:
%11%\cmd.exe /c %11%\Rundll32.exe %11%\netshell.dll HrRenameConnection
%11%\cmd.exe /c %11%\netsh interface show interface >> C:\1.txt
So how can I have them be named? Is there any other way to do this?
This is really holding me back on this.