Clear "Automatically connect to non-preferred networks" from registry

  • Thread starter Thomas Johansen
  • Start date
T

Thomas Johansen

Hi

Is it possible til unchek the "Automatically connect to non preferred
networks" from the Advanced setting under my Wireless LAN Connection with
some registry keys ?

I have tried editing the following keys in registry:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WZCSVC\Parameters\Interfaces\{C44E31A
F-AD57-471D-97D6-8BE437196519}]
"LayoutVersion"
"ControlFlags"
"ActiveSettings"
"Static#0000"

With no luck. ( I did a windiff on REG file with chek box chekced and
unchecked)

Thats because I have som units, that has this checked and they must never
try connecting to other WLAN connection that I have specified under
preferred networks.

Thomas
 
S

Slobodan Brcin

Thomas,

We are talking about XP Embedded, right?

If you want to do this from Target Designer, then you are probably out of
luck because {C44E31AF-AD57-471D-97D6-8BE437196519} is an interface GUID (it
is created during the FBA PnP phase).

You have two options.
One is to modify inf file for your adapter so when it is detected values
will be loaded directly from inf file.

Second option is to write some application that will enumerate installed
adapters and change values programmatically.
You can call it during some late FBA phase.


Regards,
Slobodan
 
T

Thomas Johansen

We are talking about XP Embedded, right?

yep.. But it could be XP Pro aswell...
If you want to do this from Target Designer, then you are probably out of
luck because {C44E31AF-AD57-471D-97D6-8BE437196519} is an interface GUID (it
is created during the FBA PnP phase).

Its not fromn the Target Designer. IT's must be done runtime...

Im aware that it's a class GUID. !!!!
You have two options.
One is to modify inf file for your adapter so when it is detected values
will be loaded directly from inf file.

Second option is to write some application that will enumerate installed
adapters and change values programmatically.
You can call it during some late FBA phase.


Regards,
Slobodan



Thomas Johansen said:
Hi

Is it possible til unchek the "Automatically connect to non preferred
networks" from the Advanced setting under my Wireless LAN Connection with
some registry keys ?

I have tried editing the following keys in registry:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WZCSVC\Parameters\Interfaces\{C44E31A
F-AD57-471D-97D6-8BE437196519}]
"LayoutVersion"
"ControlFlags"
"ActiveSettings"
"Static#0000"

With no luck. ( I did a windiff on REG file with chek box chekced and
unchecked)

Thats because I have som units, that has this checked and they must never
try connecting to other WLAN connection that I have specified under
preferred networks.

Thomas
 
S

Slobodan Brcin

If it is a class GUID... (fixed value).
Then check the access rights for your account to this key.
You can use regedit to see permissions.

If you are planning to use this program on Windows XP Professional as well,
then you should go trough some API, or network interface.
Changing values directly in registry is not recommended in this case.

Regards,
Slobodan

Thomas Johansen said:
We are talking about XP Embedded, right?

yep.. But it could be XP Pro aswell...
If you want to do this from Target Designer, then you are probably out of
luck because {C44E31AF-AD57-471D-97D6-8BE437196519} is an interface GUID (it
is created during the FBA PnP phase).

Its not fromn the Target Designer. IT's must be done runtime...

Im aware that it's a class GUID. !!!!
You have two options.
One is to modify inf file for your adapter so when it is detected values
will be loaded directly from inf file.

Second option is to write some application that will enumerate installed
adapters and change values programmatically.
You can call it during some late FBA phase.


Regards,
Slobodan
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WZCSVC\Parameters\Interfaces\{C44E31A
F-AD57-471D-97D6-8BE437196519}]
"LayoutVersion"
"ControlFlags"
"ActiveSettings"
"Static#0000"

With no luck. ( I did a windiff on REG file with chek box chekced and
unchecked)

Thats because I have som units, that has this checked and they must never
try connecting to other WLAN connection that I have specified under
preferred networks.

Thomas
 

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