How to change network adapter priorities on Windows 11

Network adapter priorities are used by the Windows 11 device to determine the network adapter that is used to establish network and Internet connections. If a device has multiple network adapters, say multiple networking cards, VPNS, virtual machines, or a network card and a Wi-Fi module, it may not be clear immediately which it will use to connect to a network or the Internet.
Good news is that you can set the network adapter priority manually; this is useful in some cases, including to make sure that a specific adapter is prioritized all the time, or to troubleshoot connection issues.
Check out our guide on changing Windows 10 network adapter priorities here.
Change Network Adapter Priorities in Windows 11
One of the first things that you may want to do is check current priorities of all networking adapters.
- Select Start.
- Type Powershell.
- Select "run as administrator".
- Run the command Get-NetIPinterface in the PowerShell window.
The command returns all network adapters and their interface index numbers plus other information, e.g. the connection state.
The index number, displayed in the first column, is unique for each network adapter. The InterfaceMetric value defines the priority. Lower InterfaceMetric numbers are prioritized over larger numbers.
Tip: the command supports several parameters to customize the query. Some interesting options include:
- Get-NetIPInterface -AddressFamily IPv6 -- displays only IPv6 network adapters.
- Get-NetIPInterface | Format-Table -- formats the table.
- Get-NetIPInterface -InterfaceIndex 12 -- displays information about the network adapter with the index 12.
All that is required now is to set the values according to the requirements.
The base command for that is Set-NetIPInterface -InterfaceIndex "XX" -InterfaceMetric "YY".
- InterfaceIndex refers to the current ifIndex of the network adapter.
- InterfaceMetric sets the new priority of the network adapter.
Here is an example:
- Set-NetIPInterface -InterfaceIndex "5" -InterfaceMetric "50"
This changes the priority of the network adapter with the interface index 5 to 50. Note that there is no confirmation message.
Tip: the command is very powerful, as it supports parameters to change certain network adapter specific attributes, e.g. add -Dhcp Disabled to disable DHCP for the specified adapter.
Once you are done, run the Get command again to make sure that the changes were set correctly.
PowerShell offers a quick and easy option to change network adapter priorities. You may alternatively use the network connections control panel applet to modify the priorities.
Change network adapter priorities in Network Connections
You may change network adapter priorities using the network connections control panel applet. It does not provide as good of an overview as the PowerShell option, but some users may prefer the graphical user interface over the command line option.
You may still want to run the PowerShell command that lists all network adapters and their priority, as you won't get an overview in the Network Connections applet.
Step 1: Open the Network Connections control panel applet
Select Start. Type ncpa.cpl and run the command; this opens the Network Connections control panel applet. Tip: check out our full list of commands to open Control Panel applets on Windows.
Step 2: Open the Properties of the network adapter.
Right-click on the network adapter that you want to change the priority for, and select properties from the context menu that opens.
Step 3: Open the Properties of the IPv4 or IPv6 protocol
Locate Internet Protocol Version 4 (TCP/IPv4) or Internet Protocol Version 6 (TCP/IPv6) and select the properties button. If you want to change the priority for both, repeat the process multiple times.
Step 4: Open the Advanced properties of the protocol.
Select the Advanced button on the next screen that opens.
Step 5: Change the priority of the adapter
The Interface metric value defines the priority of the adapter. Change it to the desired priority and select OK to complete the process.
Addendum
Useful Microsoft Docs pages:


There is not still W11 23H2 and these instructions are nonsense by now. :[
It worked for me just fine. You’re probably not following the instructions clearly.
Just tried the password option and the OOBE option and didnt work.
Worked perfectly. Thank OP.
Worked perfectly for me just now. Specifically, the regedit option.
Is this cut and paste from a Microsoft PR paper, because it 1000% BS:
“By listening to user insights, Microsoft has demonstrated its commitment to refining the Windows experience based on real-world needs.”
Windows 11 is proof they don’t give a s*it.
Worked for me just now
I agree! Windows 11 was a downgrade to me and I kept all 8 computers in our family on Windows 10 as a result. They didn’t listen to any customers. The taskbar was THE main reason I stayed away from Windows 11. With 6 monitors, it is impossible to navigate so many browser tabs, without the feature. I will try the new version in the virtual box to see if it is worth it yet.
Microsoft did a terrible job with this implementation.
They simply need to employ the creator of StartAllBack to fix Windows. He is smarter and more talented than the entire campus of Microsoft employees.
lol
Thank you so much! I work in IT and this is extremely useful information!
Thanks man. The second method worked great!
I used the second method, and i got exactly what i expected.
Using the Bypass 2: Use a banned email address email worked fantastically as I had gone to far to use the bypass 1.
I will be back when I next have a problem.
Keep you the great work
W11 File Explorer is the worst crap ever done. W11 is the biggest shame ever.
Just one more reason for me to go to Linux when Windows 10 ages out.
@ MarineRecon,
Be careful which Linux distro you choose. Some of them don’t include the Wayland protocol which is a security issue i.e. apps can copy, paste and inject data without user interaction.
It’s included in Fedora: https://docs.fedoraproject.org/en-US/fedora/latest/system-administrators-guide/Wayland/
How about a DARK MODE for your website? That would be oh so nice.
Something like this : [https://img.justpaste.me/image/8617] maybe?
Done with ‘Dark Reader Extension for ? Firefox’ [https://addons.mozilla.org/en-US/firefox/addon/darkreader/]
This comment was written on [https://www.ghacks.net/windows-11-installation-has-failed-how-to-fix-this-upgrade-error/#comment-4573155}
Definitely NOT! Once you get older and your eyesight starts to fail you’ll positively loathe dark mode.
Microsoft completely ruined File Explorer by converting to XAML/WinUI/whatever new bloated modern garbage. Its worse than it ever was.
i tested it on win10 current edition. speeds up explorer like a charm
SO what is the priority numbers to give preference to ethernet over wireless?
Worked very well happy to have Windows Photo Viewer back in action in Windows-11
Worked for me (registry option) thank god, I can use the search option to find things on my computer again. Thank you so much!
Install Everything Search and dispense with Microsoft’s crappy search tool. https://www.voidtools.com/
Martin wrote an article on it: https://www.ghacks.net/2020/10/09/add-everything-search-to-the-windows-taskbar-for-even-faster-searches/
I presume the text “WindowsCopilot,,” is a typographical error (2023/09/17/how-to-disable-windows-copilot-in-windows/). The broken comment system unfortunately looks like it is populating itself via AI autopilot.
Hopefully, this Windows Copilot nonsense fails even more spectacularly than Cortana. Who requested this? We want all of the UX features removed back in 11, not this copilot nonsense.
I really don’t mind all of these Windows enhancement but Microsoft get one thing very wrong. ‘Opt in’, is far better than seek information and work to disable.
Turn off Windows Copilot entirely is not good enough.
How to uninstall Copilot entirely ?
@ ilev,
Use Gpedit or the registry. Explained in this article: https://www.ghacks.net/2023/09/17/how-to-disable-windows-copilot-in-windows/
With that snake oil salesman Panos gone, hopefully Windows can return to a normal desktop operating system without all the insanity it has right now in Windows 11.
Can we please stop being ‘politically correct’ (lying) and call them ads again instead of ‘suggestions’?