Undetectable Humanizer: Lifetime Subscription
Transform AI-Generated Text into Human-Like, High-Ranking Content & Bypass Even the Most Sophisticated AI Detectors
Get 95% Deal

How to change network adapter priorities on Windows 11

Martin Brinkmann
Nov 9, 2021
Windows 11 Help
|
10

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

powershell network adapter priorities

One of the first things that you may want to do is check current priorities of all networking adapters.

  1. Select Start.
  2. Type Powershell.
  3. Select "run as administrator".
  4. 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.

change network adapter priorities windows 11 powershell

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

ncpa.cpl

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.

change network priorities

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

ipv4 properties

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.

network advanced

Select the Advanced button on the next screen that opens.

Step 5: Change the priority of the adapter

interface metric

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:

Summary
How to change network adapter priorities on Windows 11
Article Name
How to change network adapter priorities on Windows 11
Description
The guide walks you through the steps of changing network adapter priorities on Windows 11. These determine which adapter the OS uses for connections.
Author
Publisher
Ghacks Technology News
Logo
Advertisement

Tutorials & Tips


Previous Post: «
Next Post: «

Comments

  1. maclighter said on August 4, 2023 at 3:17 pm
    Reply

    Thanks for this explanation. The most useful and complete I found and worked a treat.

  2. frank said on August 1, 2023 at 9:35 am
    Reply

    in w10 its different there u have to press alt to connect to the hidden setting…

  3. Michael Firth said on March 28, 2023 at 10:03 am
    Reply

    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.

  4. garthmicro said on April 11, 2022 at 9:52 pm
    Reply

    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.

  5. Dawid said on January 6, 2022 at 6:24 pm
    Reply

    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.

  6. Alex said on November 12, 2021 at 7:18 am
    Reply

    Does this not work in Win10? And if it does, why title the article “… Win11”?

    1. Steve Thomasma said on February 7, 2022 at 6:13 pm
      Reply

      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.

  7. CyberCipher said on November 10, 2021 at 5:21 pm
    Reply

    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.

  8. Norio said on November 9, 2021 at 8:16 pm
    Reply

    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.

  9. Leopeva64 said on November 9, 2021 at 1:35 pm
    Reply

    Too many articles about Windows 11…

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.