WeTheArmed.com

General Topics => R & R => Science and Technology => Topic started by: Coronach on November 09, 2014, 05:04:12 pm

Title: Win7 Networking Annoyance
Post by: Coronach on November 09, 2014, 05:04:12 pm
Anyone know what would cause Win7 to ignore your choices for preferred wireless network and connect to a secondary network first? Here's the situation:

I have two wireless networks set up for Windows to recognize. We'll call them Net1 and Net2. Net2 is the network that it originally connected to all of the time, but has since been surpassed by Net1. My original plan was to keep profiles for both networks and just set priority to Net1 (pretty straightforward), but Win7 is having none of it. Every time I start the computer, it connects to Net 2. If you open up the network menu from the task bar, it shows both Net 1 and Net 2, and it has connected to Net2.

If you open network connection and sharing center, Net 2 is listed as on top (preferred network). You can disconnect and manually connect it to Net 1. If you set Net1 as preferred (on top) it will accept that move. However, the next time you start the computer, it will have inverted the order, placed Net2 as preferred, and connected to it.

If you then go into Net2's properties and set it so that a manual connection is required, it will accept those changes and let you click OK. However, if you restart the computer, it will connect to Net2, and if you open the properties tab again, "connect automatically" will be checked.

If you sabotage it by entering false information (bad password, etc), the same thing happens.

If you delete/remove the profile, when you restart the computer it will be back, set to the preferred network position, and it will connect to it automatically. Also, if the computer ever loses connection to the Net1 after being manually connected to it, it will reconnect to Net2.

Any ideas? It's a minor PITA, but still a PITA, because all of my network drives are on Net1 and it slows everything down to have to switch networks in the middle of something.

Mike

Title: Re: Win7 Networking Annoyance
Post by: booksmart on November 09, 2014, 07:14:02 pm
What precisely are you trying to accomplish? What're the two networks for?
Title: Re: Win7 Networking Annoyance
Post by: Coronach on November 09, 2014, 07:19:12 pm
What

The

F***.

I decided, eff it, I went into the registry and deleted (what I thought was) the registry key for Net2, saved and rebooted. It connected to Net2 again upon startup, but it asked me to enter a type of network for it (home or public). WTF?

Where are the registry keys for wireless networks in Win7? I'm going to nuke the site from orbit, just to make sure.
Title: Re: Win7 Networking Annoyance
Post by: Coronach on November 09, 2014, 07:20:16 pm
Quote
What precisely are you trying to accomplish? What're the two networks for?
One is an internet connection, off of my phone (wifi hotspot). The other is my LAN. The computer insists on connecting to my phone instead of the LAN.
Title: Re: Win7 Networking Annoyance
Post by: Coronach on November 09, 2014, 07:39:31 pm
Update, I did the following in cmd:

netsh wlan show profiles

It returned the two wireless profiles. I then did the following:

netsh wlan delete profile name="Net2"

It said it was deleted. I hit netsh wlan show profiles again, and it showed only one profile, Net1.

I rebooted.

It connected to Net2 again.

Title: Re: Win7 Networking Annoyance
Post by: Coronach on November 09, 2014, 07:42:16 pm
Two thoughts:

1. I have another Win7 computer that has both wireless profiles on it, and it very obediently obeys the preferences set in the Network and Sharing Center.

2. This is why I could never go into computer science or networking. I would start throwing stuff out of windows (literally) in short order.
Title: Re: Win7 Networking Annoyance
Post by: Coronach on November 09, 2014, 07:53:23 pm
Sigh. Looks like it is a fairly common problem: http://answers.microsoft.com/en-us/windows/forum/windows_7-networking/windows-7-wireless-networking-keeps-returning/621d4c06-8185-4e10-9ecf-50d02aa4d141?page=2 (http://answers.microsoft.com/en-us/windows/forum/windows_7-networking/windows-7-wireless-networking-keeps-returning/621d4c06-8185-4e10-9ecf-50d02aa4d141?page=2)

Gotta love the Micro$oft tech support guy reading the FAQ to the user.  ::)

So, maybe a third party utility is doing it, maybe I need to scrub the registry manually, maybe it is just the device manager ... grrrr

Mike
Title: Re: Win7 Networking Annoyance
Post by: Coronach on November 09, 2014, 08:31:47 pm
Ok, I took the shotgun approach. Deleted everything, scrubbed the registry. Also reinstalled the wirless utility. Now HAL9000 and I seem to be on the same page.
Title: Re: Win7 Networking Annoyance
Post by: ksuguy on November 09, 2014, 08:49:28 pm
Don't go outside, you might find the door locked when you try to get back in. 
Title: Re: Win7 Networking Annoyance
Post by: booksmart on November 09, 2014, 11:30:51 pm
And certainly don't let it give you any s___ about the uplink antenna about to fail...
Title: Re: Win7 Networking Annoyance
Post by: Coronach on November 10, 2014, 01:09:42 am
"Connect to the LAN, HAL."

"I'm sorry ... I can't do that, Mike."