Sign in to follow this  
Followers 0
Stuempi

changing the properties of a network connection

2 posts in this topic

#1 ·  Posted (edited)

Hi there,

I got a little problem... perhaps someone got an idea how I can automate this with autoit...

I got a nice little pda and if I connect it a new network connection is created called "lan connection %number%" where %number% is a variable.

I now want to make a script to read the properties of this lan connection and set a tick on "internet protocol tcp/ip".

To make myself more clear:

I mean this window

Posted Image

Don't be confused with the read markings... they have nothing to do with my problem.

So the tricky part is to automatically read the number the lan connection gets and how to set the tick :)

Edited by Stuempi

Share this post


Link to post
Share on other sites



Just an idea:

A good place to start is in the registry over here:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\AdapterIdentifier

Grab the Identifier numbers and paste them to the registry entries that you can find here (keep an eye on the syntax!):

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Linkage

As i mentioned - it's just an idea, don't know if this works! ...and of course you should backup the registry keys before changing them :)

Share this post


Link to post
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
Sign in to follow this  
Followers 0