Tested on Windows 11 version 26H2 (OS Build 26300.9974), Pro edition.
When a PC has more than one way to reach the internet, Windows has to pick one. A laptop on a dock might have Ethernet and Wi-Fi at the same time, a desktop might have a USB adapter for a backup line, and a VPN adds its own adapter on top. Most of the time Windows picks the faster connection by itself, and you never think about it.
There are times when it picks the wrong one, though. You plug in a cable to get a stable connection for a video call, and the speed test still shows your Wi-Fi numbers. Or you add a metered backup adapter, and suddenly that’s the one carrying all your downloads. Even worse, a second adapter with a gateway that leads nowhere can make the internet look dead while your main connection is perfectly fine.
In this article, we’ll cover how to change network adapter priority in Windows 11 with the interface metric, using the Control Panel, PowerShell, and netsh. I didn’t want to just change a number and hope, so I added a second adapter to my test PC and checked which route Windows actually used after every change. You’ll see two results that surprised me, plus how to put everything back to automatic when you’re done.
How Windows 11 Decides Which Adapter Goes First
Windows doesn’t keep a simple “first, second, third” list of adapters anymore. Instead, every adapter gets a number called the interface metric. Think of it as a cost: the lower the number, the more Windows prefers that adapter. By default the “Automatic metric” feature sets this number from the link speed, so a faster connection gets a smaller number.
Microsoft’s documentation on the Automatic Metric feature lists the values for Windows 10 and newer. A wired adapter between 200 Mbps and 2 Gbps gets 25, and one between 80 and 200 Mbps gets 35. Wi-Fi has its own, higher table: even a 500 Mbps to 2 Gbps Wi-Fi link gets 30, and a 200 to 500 Mbps link gets 35. That’s why a normal gigabit Ethernet port usually wins over Wi-Fi without you doing anything.
There’s a second number that most guides skip. Each route also has a route metric, and Windows adds the two together. The Set-NetIPInterface documentation says it plainly: the overall metric used to pick a route is the sum of the route metric and the interface metric. Keep this in mind, because it explains one of my test results below.
So when would you change the priority yourself? Here are the common cases. Your Ethernet is slower than your Wi-Fi (for example a 100 Mbps dock port next to fast Wi-Fi). You have two wired adapters with the same speed and Windows keeps picking the wrong one. Or you have a backup connection, like a phone hotspot over USB, that should only carry traffic when the main one is gone. VPNs are a special case: Microsoft’s VPN routing documentation explains that a force tunnel VPN adds its own default routes with a lower metric than the other interfaces, which is how it pulls all traffic through the tunnel.
Note: My test PC only has a wired adapter, so I couldn’t test Ethernet against Wi-Fi. To get two real adapters, I added the Microsoft KM-TEST Loopback Adapter, which is a virtual network card built into Windows. Everything you see below happened on that setup, and the Wi-Fi values above come from Microsoft’s table, not from my own test.
How to Check Your Current Network Adapter Priority
Before you change anything, look at what Windows is doing right now. You don’t need administrator rights for this part, so any PowerShell or Terminal window will do.
The command below lists every IPv4 interface sorted by metric, so the adapter at the top of the list is the one Windows prefers. Here’s how that should go:
List interfaces by metric

Run the command and look at the “InterfaceMetric” and “AutomaticMetric” columns (number 1). On my PC, “Ethernet0” had 25 and “Enabled”, which matches the 1 Gbps row in Microsoft’s table. “Loopback Pseudo-Interface 1” is an internal interface that every Windows PC has. You can ignore it.
Get-NetIPInterface -AddressFamily IPv4 | Sort-Object InterfaceMetric | Format-Table ifIndex,InterfaceAlias,InterfaceMetric,AutomaticMetric,ConnectionState -AutoSizeWrite down the “ifIndex” number of each adapter. The PowerShell and netsh methods below use that number, not the name.
Adding a Second Adapter to Test With (Optional)
If you already have two connections, skip this part. I’m including it because it’s the easiest way to see the priority change for yourself without buying a USB adapter, and you’ll remove it at the end anyway.
The Microsoft KM-TEST Loopback Adapter is a fake network card. It doesn’t connect to anything, which makes it perfect for a test: if Windows sends your traffic to it, the internet stops, and you know for sure which adapter won. The process has several steps:
Open the Add Hardware wizard

Press Windows + R, type “hdwwiz” (number 1) and click on “OK” (number 2). Click “Yes” when User Account Control asks for permission.
Start the wizard

The “Add Hardware Wizard” opens with a warning that it’s meant for older devices. That’s fine for what we’re doing. Click on “Next” (number 1).
Choose the manual option

Select “Install the hardware that I manually select from a list (Advanced)” (number 1) and click on “Next” (number 2). The automatic search won’t find a virtual adapter, so don’t bother with it.
Pick Network adapters

From the “Common hardware types” list, select “Network adapters” (number 1). Typing “network” while the list is selected jumps straight to it. Then click on “Next” (number 2). After a few moments, the driver list loads.
Select the loopback adapter

Under “Manufacturer”, click on “Microsoft” (number 1). In the “Model” list, select “Microsoft KM-TEST Loopback Adapter” (number 2) and click on “Next” (number 3). Click “Next” again on the confirmation page.
Finish the installation

After a few seconds the wizard says the “Microsoft KM-TEST Loopback Adapter” (number 1) was installed. Click on “Finish” (number 2).
Find the new adapter

Press Windows + R, type “ncpa.cpl” and press Enter. The new adapter appears as “Ethernet” (number 1) next to your real one. Mine first showed “Identifying…” and then “Unidentified network”, which is normal because there’s nothing on the other end.
Give it an IP address and a gateway

Right-click the new adapter, choose “Properties”, and double-click “Internet Protocol Version 4 (TCP/IPv4)”. Select “Use the following IP address” (number 1). I used 10.99.0.10 with mask 255.255.255.0 and gateway 10.99.0.1 (number 2). The gateway matters, because only adapters with a gateway compete for internet traffic. Click on “OK” (number 3) and then “OK” again.
My experience: When I typed the IP address, Windows filled in the mask as 255.0.0.0 by itself. That’s the old default for addresses starting with 10. It works, but I changed it to 255.255.255.0 so the test network stayed small and tidy.
Check the metrics again

Run the same Get-NetIPInterface command. Now there are two adapters, and both got 25 (number 1). The loopback adapter reports 1.2 Gbps, so it falls in the same speed group as my 1 Gbps card. This is exactly the tie situation that confuses Windows on real PCs with two similar adapters.
Look at the routing table

Run “route print” to see the default routes (the 0.0.0.0 lines). Look at the “Metric” column (number 1). My real adapter showed 25, but the new one showed 281, even though both interfaces had 25. The reason is in the “Persistent Routes” section (number 2): a gateway you type in by hand gets a route metric of 256 on top of the interface metric, while my DHCP gateway got 0.
route print -4 0.0.0.0Confirm which route is in use

“route print” shows the options, but Find-NetRoute tells you which one Windows actually picks for a given address. I used 8.8.8.8 as an internet address. The last line shows the winner (number 1): “Ethernet0” through 192.168.207.2.
Find-NetRoute -RemoteIPAddress 8.8.8.8 | Select-Object -Last 1 | Format-Table InterfaceAlias,NextHop,RouteMetric,InterfaceMetric -AutoSizeHow to Change Network Adapter Priority Using Control Panel
This is the method most people will use, and it works on every edition of Windows 11. It changes the interface metric for one adapter and one IP version at a time, so if you use IPv6 too, repeat the same steps in “Internet Protocol Version 6 (TCP/IPv6)”.
Since I wanted the loopback adapter to go first, I gave it a very low number. Here’s what you do:
Open the adapter properties

In the Network Connections window, right-click the adapter you want to change (number 1) and click on “Properties” (number 2).
Open the IPv4 settings

Double-click “Internet Protocol Version 4 (TCP/IPv4)” (number 1). You can also select it and click the “Properties” button below the list.
Click Advanced

At the bottom of the IPv4 window, click on “Advanced…” (number 1).
Find Automatic metric

On the “IP Settings” tab, “Automatic metric” (number 1) is ticked by default and the “Interface metric” box is greyed out. Notice the gateway also has its own “Metric” set to “Automatic” (number 2). That’s the route metric we saw in route print.
Set your own interface metric

Untick “Automatic metric” (number 1) and type a number in “Interface metric” (number 2). Lower means higher priority. I typed 5. Then click on “OK” (number 3), “OK” in the IPv4 window, and “OK” (or “Close”) in the adapter properties.
Check whether it actually won

Run Get-NetIPInterface and route print together. The adapter now has 5 and “Disabled” automatic metric (number 1), and it even moved to the top of the Interface List. But look at the default routes (number 2): 261 against 25. My real adapter still won.
Get-NetIPInterface -AddressFamily IPv4 | Sort InterfaceMetric | Format-Table ifIndex,InterfaceAlias,InterfaceMetric,AutomaticMetric -AutoSize; route print -4 0.0.0.0My experience: This was the first surprise. I set the metric to 5, which is lower than 25, and nothing changed. The 256 from the manually typed gateway was still sitting on top of it. So if you change the interface metric and Windows seems to ignore you, run route print and compare the full numbers, not just the interface metric. You can also lower the gateway’s own metric with the “Edit…” button under “Default gateways”.
How to Change Network Adapter Priority with PowerShell
PowerShell does the same thing in one line, and it’s easier when you need to set several adapters or repeat it on another PC. It needs an administrator window, though.
I wanted the loopback adapter to win this time, so instead of lowering it further, I raised my real adapter above 261. The process has several steps:
Try it in a normal window first

If you run Set-NetIPInterface in a normal PowerShell window, you get “Access is denied” (number 1). I got it twice, because without “-AddressFamily” the command tries both the IPv4 and the IPv6 interface. Open PowerShell as administrator (right-click Start, then “Terminal (Admin)”) and try again.
Set the interface metric

Run the command with your adapter’s ifIndex (number 1). I set “Ethernet0” (index 7) to 300. The list now shows it at the bottom with “Disabled” automatic metric (number 2). Setting a metric turns automatic off by itself, just like unticking the box.
Set-NetIPInterface -InterfaceIndex 7 -AddressFamily IPv4 -InterfaceMetric 300Check the route again

On paper the loopback adapter should win now, 261 against 300 (number 1). But Find-NetRoute still picked Ethernet0, and ping still worked. Get-NetNeighbor showed why (number 2): the gateway 10.99.0.1 was “Incomplete”, which means Windows asked for it on the network and nobody answered. My real gateway was “Reachable”.
Get-NetNeighbor -IPAddress 10.99.0.1,192.168.207.2 | Format-Table ifIndex,IPAddress,State -AutoSizeMy experience: This was the second surprise, and honestly a good one. Windows didn’t blindly follow the lower number. It skipped a gateway it couldn’t reach and kept using the one that worked. So a low metric only decides between gateways that actually answer.
Make the test gateway reachable

To finish the test, I gave the fake gateway a permanent entry so Windows would treat it as reachable. Right away, Find-NetRoute switched to “Ethernet” through 10.99.0.1 (number 1), and ping 8.8.8.8 failed with 100% loss (number 2). The priority change worked, and because the loopback adapter leads nowhere, the internet went dead.
New-NetNeighbor -InterfaceIndex 24 -IPAddress 10.99.0.1 -LinkLayerAddress 02-00-4c-4f-4f-51 -State PermanentConfirm with tracert

tracert shows the same thing from another angle. Every hop timed out (number 1), so the packets never reached my router. When you see this after changing priorities, the wrong adapter is in front.
tracert -d -h 3 -w 1000 8.8.8.8Warning: This is exactly what happens on a real PC when a VPN, a dock, or a backup adapter wins with a gateway that doesn’t lead to the internet. If you change priorities on a PC you’re controlling remotely, keep a way back in, because you can cut your own connection.
How to Change Network Adapter Priority with netsh
netsh is the older command-line tool, and it still works in Windows 11 26H2. It’s handy if you’re in Command Prompt, or if you’re following an older guide. Like PowerShell, it needs an administrator window.
I used it to fix the mess from the previous section and put my real adapter back in front. Here’s how that should go:
Show and set the metric

“netsh interface ipv4 show interfaces” lists the index (“Idx”) and metric (“Met”) of each adapter. Then set the new metric with the index (number 1). Windows answered “Ok.” and the list showed Ethernet0 at 10 (number 2).
netsh interface ipv4 show interfaces
netsh interface ipv4 set interface 7 metric=10Check that traffic moved back

Find-NetRoute picked “Ethernet0” through 192.168.207.2 again, with metric 10 (number 1), and the first tracert hop answered from my router (number 2). The later hops timing out is normal on my network, since the router upstream doesn’t reply to tracert.
How to Go Back to Automatic Metric
If you only changed things to test, or the new priority caused problems, it’s better to let Windows handle it again. Automatic metric adjusts itself when the link speed changes, and a manual number doesn’t.
In the Control Panel, just tick “Automatic metric” again in the same Advanced window. In PowerShell, it’s one line for any number of adapters. Here’s what you do:
Turn Automatic metric back on

Run the command with the index of every adapter you changed (number 1). Both of mine went back to 25 with “Enabled” (number 2).
Set-NetIPInterface -InterfaceIndex 7,24 -AddressFamily IPv4 -AutomaticMetric EnabledBefore that, I also removed the fake gateway entry I created for the test, so nothing extra stays behind:
Remove-NetNeighbor -InterfaceIndex 24 -IPAddress 10.99.0.1 -Confirm:$falseHow to Remove the Test Loopback Adapter
If you added the loopback adapter only for testing, remove it now. It’s harmless on its own, but it keeps a persistent gateway route, and that’s the kind of thing that confuses you months later.
Device Manager removes the adapter together with its IP settings. The process has several steps:
Uninstall the adapter

Right-click Start and open “Device Manager”. Expand “Network adapters”, right-click “Microsoft KM-TEST Loopback Adapter” (number 1), and click on “Uninstall device” (number 2).
Confirm

Click on “Uninstall” (number 1). There was no “delete the driver” checkbox here, because the driver is part of Windows.
Make sure the internet is normal

Run the check one last time. Only “Ethernet0” is left with automatic metric 25 (number 1), there’s a single default route and “Persistent Routes: None” (number 2), and ping 8.8.8.8 gets replies (number 3).
Get-NetIPInterface -AddressFamily IPv4 | Format-Table ifIndex,InterfaceAlias,InterfaceMetric,AutomaticMetric -AutoSize; route print -4 0.0.0.0; ping -n 2 8.8.8.8Common Problems and How to Fix Them
Most “Windows ignores my metric” complaints I’ve seen on Microsoft’s Q&A forum come down to the route metric, an unreachable gateway, or a connection that was already open. Here’s what to check before you assume something is broken.
As always, run Find-NetRoute after every change. It’s the only check that tells you which adapter Windows really picked, not which one should win on paper.
The metric changed but traffic still uses the old adapter
Compare the full numbers in route print, not just the interface metric. A manually typed gateway adds 256, as you saw above. Either lower the gateway metric under “Default gateways” > “Edit…”, or raise the other adapter’s interface metric high enough to beat the total.
The lower metric adapter has no internet
That’s the trap from my tracert test. If the preferred adapter has a gateway that doesn’t lead out, every connection breaks. If only one of your adapters should carry internet traffic, the cleanest fix is to leave the gateway empty on the other one, so it never competes for the default route at all.
Downloads keep using Wi-Fi after I plug in Ethernet
Connections that were already open usually stay on the adapter they started on. Close the app or pause and restart the download after the change. If you’re on a laptop, also check the Wi-Fi metric in the table above, because a fast Wi-Fi card can tie with a slow dock port.
The VPN no longer gets all the traffic
A force tunnel VPN depends on having a lower total metric than your physical adapters. If you’ve set a very low interface metric on Ethernet or Wi-Fi, you can push the VPN behind it. Set those adapters back to automatic and reconnect the VPN.
IPv6 traffic goes a different way
IPv4 and IPv6 have separate metrics. Use “-AddressFamily IPv6” in PowerShell, “netsh interface ipv6 set interface”, or the “Internet Protocol Version 6 (TCP/IPv6)” properties to change it too. If you don’t use IPv6 at all, you can also learn how to disable IPv6 in Windows 11 so there’s only one set of routes to worry about.
This concludes our guide to changing network adapter priority in Windows 11. For most people, the Control Panel method plus a quick Find-NetRoute check is all you need, and setting it back to automatic is just one tick away. If your connection still acts up after you undo everything, a network reset in Windows 11 rebuilds all adapters from scratch. Next, you would probably want to change DNS in Windows 11 on the adapter that now goes first. If Windows still picks the wrong adapter on your PC, write your route print result in the comments and I’ll help you figure it out.












