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.
Useful Microsoft Docs pages:
Too many articles about Windows 11…
Thank you Martin! That was very informative, and very helpful. And as far as “too many articles about Windows 11…”, much of what you described applies to Windows 8.1 and 10. For example, I didn’t know what the “Automatic metric” toggle and the “Interface metric” value were for. Now I know, and I can use that knowledge to troubleshoot multiple network connections.
Thank you for this article. I have just his sort of situation on my home server. Three (3) network interfaces. 1st adapter handles cifs and ftp traffic, 2nd adapter handles dns services for all machines on the network, third adpater handles smtp, imap, and http e-mail traffic.
Does this not work in Win10? And if it does, why title the article “… Win11”?
This didn’t work at all in Windows 10, it was a joke compared to the older “binding order” that did work. I sure hope they fixed it, I will be testing soon and will update.
Yes nice faq but everything is not working manual setting via powershell and window.
I vahe PPTP connection and everything is going via PPTP. I did uncheck “use gateway….”, metric too. Everytime browser using pptp.
Hi, I read the this article about changing the priority of the adapters and followed the instructions. My problem is that I am connecting to a printer using a wireless router and the router is connected to the Windows 11 computer using the RJ45 port. However internet is coming from a hotspot on a cell phone. We can print but there is no internet unless we disconnect the cable to the router. I changed the priorities as you described. Currently the wifi priority is set to 20 and the ethernet priority is set to 3. Still no internet unless we disconnect the network cable to the router. I am not sure what I might be doing wrong.
One very useful option you don’t mention is to add ” | Sort-Object InterfaceMetric”, which will then sort the table by the interface metric, to show you the interfaces in priority order.