How to give preference over one network connection over another?

(I know there is already accepted answer, but)...

First, from XP onwards, Windows has a feature called automatic metric. This feature should automatically prioritize traffic on adapter with highest throughput. When you enable 'better' NIC (eg. by plugging in cable) Windows should automatically route traffic via that interface. Obviously yours incorrectly thinks WiFi is faster (which seems to be reported for some of WiFi cards)

What is a metric anyway and how it's used by network software? Well,a metric is used in routing when there are multiple paths to a destination and a decision needs to be made which one is the best. The lower, the better. Imagine you're at exit gates in a stadium. There are several gates and each will eventually allow you to get out - you need to select which one is the best, eg. by looking at how many people queue at each. Windows does the same, but bases it's decision on link speed.

Your gate to 'outside' is called default route. Let's look at output from route print command, which shows you ip routing table:

> (output ommited) 
Network Destination        Netmask          Gateway     Interface        Metric
>           0.0.0.0          0.0.0.0      192.168.0.1    192.168.0.12       25
>           0.0.0.0          0.0.0.0      192.168.0.1    192.168.0.22       10  
(output ommited)

Those entries with 0.0.0.0 are default routes (sometimes also called quad 0 routes). Obviously I have two (with both cable and WiFi active), which one will be selected? The one with lower metric. In my case - 0.22 which happens to be my cable connection.

Now important thing - changing adapter priority via adapter setting does not change metric. This means it will not change routing decisions!

To actually change metric you need to to to open each adapter properties, then TCP/IP properties, Advanced, uncheck automatic metric and enter your own value. Adapter with lowest metric wins.

You can quickly check which interface is actually used - open Task Manager - Network, start download/upload and look at interface usage. If you need more detail - use Perfmon.


You have to change the priority of the network adapters.

To do this, open the Network and Sharing Center and click on Change adapter settings in the left pane. you should see a list of network adapters. Press the Alt button (if the menu bar is not already visible) and click on the Advanced menu, and then choose Advanced settings.

A new control panel will pop up, and you should see it open to the Adapters and Bindings tab. In the top list should be a list of your network adapters, with an up and down arrow button to the right. This is the priority order of what adapter it will use when connecting to the Internet. Choose your Ethernet adapter and click the up arrow button until it shows at the top. Then click OK.

That should cause it to prioritize your wired connection over WiFi whenever it is connected.