Jump to content

Static IP Configuration in WinPE using AutoIT


Recommended Posts

Hello,

I am trying to write a script that would automatically configure the IP to a static address that I preset in WinPE.

Right now I am using AutoIT to configure a program called PENETCFG to using a specific network address. I find this method a little bit unfriendly.

Is there another way?

Thank you.

Link to comment
Share on other sites

Do some research on NETSH.

Yes, I have but the only problem is that in Win XP if you were to use the NETSH command to configure the network adapter you would have to refer to it by the name "Local Area Connection". In WinPE, this adapter's name is the MAC address. This is unique to a NIC and therefore I cannot base my NETSH commands (and therefore a AutoIt script) on something that changes from machine to machine.

Maybe there is another way to use NETSH and I do not know about it.

Any further help is greatly appreciated.

Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...