I am running Windows 7 RC, but have noticed this behavior on Windows Vista as well.

When I am in an area that has a wireless network and I plug in my wired network so I can get a better connection (faster, more reliable), Windows continues to use the wireless network for everything.

It is not a matter of if a connection starts on the wireless it stays there, and I just need to restart my apps. All connections, new and old, are started on the wireless if it is available, irregardless of the wired connection being active or not.

Right now I toggle my hardware wifi switch on my laptop, but I would prefer if I could tell Windows to prefer one connection over the other.

link|improve this question

54% accept rate
feedback

2 Answers

up vote 6 down vote accepted

Looks like Windows (XP, Vista, 7) are supposed to do this automatically. Windows uses the lowest 'metric' connection. You can manually alter these metrics if it isn't working correctly, but in most cases, wired should be preferred over wireless automatically. Check the source below for more how-to and explanation.

Source

link|improve this answer
My first thought in response to this was "Doesn't the metric only control routing and not what source address is used?" But I found a TechNet article that suggests the best route actually determines the connection endpoint to use in Vista and later: technet.microsoft.com/en-us/magazine/2007.09.cableguy.aspx Can someone actually confirm this behaviour? – rakslice Nov 4 '11 at 1:30
feedback

th3dude's answer is great but he doesn't mention a key point in the link he provided.

From the link that th3dude posted: http://blogs.technet.com/b/clint_huffman/archive/2009/04/19/windows-prefers-wired-connections.aspx

You should know that Vista made a change to how we handle existing sockets – after plugging in, connections will not be switched over, you must re-establish the connection in order to make use of a wired connection. For example, if you’re downloading something from a website and realize that it would go faster by plugging in, you’d have to cancel and start over after plugging in. This is a change from XP and 2003. Here is a good reference:

The Cable Guy Strong and Weak Host Models http://technet.microsoft.com/en-us/magazine/2007.09.cableguy.aspx

Which means that when I am on wireless at work in a conference room and then drop the laptop back on the dock, I have to disconnect (software) from the wireless connection OR disable (hardware switch) the wireless adapter to get back on the wired network.

Hopefully that helps you understand that it is probably not the 'metricing' that is choosing the wireless adapter but rather that Windows no longer auto-switches as it did in XP.

I'm not sure why Microsoft thought this was preferred behavior. I would have preferred a pop-up asking me whether to enable the wired adapter instead at the risk of ongoing downloads and sessions. Windows 7 makes me answer all kinds of other popups.

link|improve this answer
Leave it to Microsoft to take something that works just fine and make it harder. – Chance Feb 22 at 19:26
@Keith: your answer is slightly misleading, you do not strictly need to disable your wireless connection. new TCP connections will use the wired connection, existing TCP connections will continue to use the wireless connection if they were already using it. – dwurf May 14 at 23:09
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.