Can I put rundll32 netshell.dll HrRenameConnection in TD?

P

Paul Cuthbert

Hello

I am using netsh to set a static IP address as discussed in this forum and
MSDN.

Everything works fine but I am using Minlogon so I have to use rundll32
netshell.dll HrRenameConnection to name the interface. Can I set this in TD
using RunOnce or something similar?

Thanks

Paul Cuthbert
 
P

Paul Cuthbert

Well I said everything worked fine but when I reboot it loses the network
set up information. I thought that it would save this in the registry. If
you need to do this everytime it boots it makes it unworkable.

Your input would be greatly appreciated.

Thanks

Paul
 
S

Slobodan Brcin \(eMVP\)

You need to do this only once, and EWF should be disabled, or at least you
should commit your changes.

You can create component that will initialize your XPe specific
requirements, like these.
I can't remember exact phase when you can call this to work before first
reboot. But every phase after first reboot is ok

So you can call this only once during some FBA phase and it will work.

Regards,
Slobodan
 
P

Paul Cuthbert

When you say commit what do you mean?


Slobodan Brcin (eMVP) said:
You need to do this only once, and EWF should be disabled, or at least you
should commit your changes.

You can create component that will initialize your XPe specific
requirements, like these.
I can't remember exact phase when you can call this to work before first
reboot. But every phase after first reboot is ok

So you can call this only once during some FBA phase and it will work.

Regards,
Slobodan
 
S

Slobodan Brcin \(eMVP\)

Are you using EWF?
If you are then use ewfmgr C: -commit.
Also read more info on EWF.

If you are not using EWF then I don't know what could be the problem.

Regards,
Slobodan
 
P

Paul Cuthbert

I am not using EWF.

Basically, I do not think this works and is a real problem or "bug". I am
sending a new post. The article from Susannah Raub at Microsoft that is
recommended for setting static ip address in xpe does not tell you that you
need to somehow run rundll32 netshell.dll HrRenameConnection and set ip with
netsh every time you reboot. Which makes it useless.

Paul
 

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