How to Change Network Priority in Windows (Ethernet + Wifi Networks)

Windows assigns metrics that determine the priority of the network adapter and the networks. However, you can change this using the adapter properties, through the command line, and by using third-party software.

Change Network Adapter Priority Windows 11

Most modern PCs and laptops come with at least 2 network adapters: Ethernet and Wi-Fi. Ever wondered what would happen if you used them both simultaneously? The adapter that supports faster speeds will be given preference. Although most people use the Wi-Fi network adapter as they are always on the go, how will Windows know which one is faster and give preference to it?

Windows 11, Windows 10, and Windows 7 come with the Automatic Metrics feature, which is responsible for assigning a metric number to each network adapter based on different parameters. Regardless of the number of adapters a device has, a metric will be automatically assigned to it, even if the adapter is virtual.

Depending on your internet needs, you may sometimes need to override the automatic preferences assigned by Windows to the network adapter. Moreover, you can also manage the priorities of the networks you connect to using Wi-Fi. This article tells you how to change your adapter and network preferences on a Windows machine.

We’ll show you how to change the network priority in Windows 10, Windows 11, Windows 8/8.1 and Windows 7, but first let’s learn a bit about what it is and how Windows assigns these metrics.

What is Network Priority

Network priority refers to the use of a specific network over others, while more than one is available. Network priority defines a backup network to use if the one with the highest preference is unavailable.

By default, Windows assigns priority to a network connected through Wi-Fi, as well as the network adapters on the machine. The reason for prioritizing the adapters is the same as for network priority; where one adapter is used more (when available) than the others.

Windows assigns metrics to every network adapter, which in turn defines its priority.

How does Windows Assign Network Interface Metric Priority

As we mentioned earlier, a feature known as Automatic Metric assigns metrics to each network adapter on the device. These can be both physical and virtual adapters.

By definition, a metric is an integer value assigned to an IP route for a specific network interface. Windows identifies the feasibility of a network, also known as cost, by considering the following parameters:

  • Speed of the link
  • Number of hops to a specific destination
  • Delay time

Taking these factors into account, Windows assigns a metric to each network adapter. The lower the metric number, the higher its priority.

Prioritizing network adapters is useful, especially in scenarios where you find multiple adapters connected to the same network. Will Windows send network traffic through an Ethernet cable, or via Wi-Fi? An adapter with more speed capability will be preferred over other adapters.

Below is a table that indicates the metrics assigned by Automatic Metric in Windows 11 to the network adapters:

Link SpeedMetric
Less than 500 Kb75
Greater than or equal to 500 Kb and less than 4 Mb65
Greater than or equal to 4 Mb and less than 20 Mb55
Greater than or equal to 20 Mb and less than 80 Mb45
Greater than or equal to 80 Mb and less than 200 Mb35
Greater than or equal to 200 Mb and less than 2 Gb25
Greater than or equal to 2 Gb and less than 10 Gb20
Greater than or equal to 10 Gb and less than 40 Gb15
Greater than or equal to 40 Gb and less than 100 Gb10
Greater than or equal to 100 Gb5
Automatic Metric assigning values against adapter link speed

To learn more about Automatic Metric in Windows, read this Microsoft document.

You can manually change the assigned metrics according to the order of network card. This can be useful in scenarios where you prefer Wi-Fi over Ethernet cable.

How to Change Network Interface Metric in Windows 11 and Windows 10

You can manually set the network adapter priority metric. This can be done for any network adapter. Follow the guide below to change your network adapter priority.

Change Network Adapter Priority Through Control Panel

If you would rather change the metric using the Graphical User Interface (GUI) in Windows 10 or 11, follow the steps below:

Learn how to change your network adapter name.

  1. Open Network Connections.

    ncpa
    Open Network Connections

    Type in ncpa.cpl in the Run Command box to open the Network Connection applet.

  2. Right-click on the network adapter and then click Properties.

    properties 3
    Open adapter properties
  3. Click Internet Protocol version 4 (TCP/IPv4) and then click Properties.

    ipv4 properties
    Open IPv4 properties
  4. Click Advanced.

    advanced 1
    Open advanced IPv4 settings
  5. Uncheck the Automatic Metric box and then enter the metric in the text field.

    auto metric
    Assign metric value

    You can enter a metric value depending on the priority you want to give to this network adapter. For example, if you want to give top preference to the selected network adapter, assign the metric value “5.”

  6. Close all windows.

  7. Repeat steps 2 through 7 to change the metrics of other adapters as well.

This will change the network connection priority for multiple network adapters. If these seem like a lot of steps, you can also change the metric values using the Command Line Interface (CLI).

Change Network Adapter Priority Through PowerShell

Follow the steps below to change network adapter metrics using Windows PowerShell:

  1. Launch an elevated PowerShell instance.

  2. Run the following command:

    Get-NetIPInterface

    This cmdlet will display information about all network adapters, both physical and virtual.

    pwsh get net
    Display all network adapter information
  3. Note down the interface index (ifIndex) of the network adapter.

  4. Run the following “Set-NetIPInterface” command to change the interface metric of the adapter.

    Replace [IFIndex] with the interface index and [IFMetric] with the metric value that you want to assign to the network adapter.

    Set-NetIPInterface -InterfaceIndex [IFIndex] -InterfaceMetric [IFMetric]
    set net ip
    Assign priority metric to network interface from PowerShell
  5. Confirm the new metric has been applied by rerunning the command in Step 2 above.

You have now learned the steps to change the network priorities of network interfaces on your device.

By default, the LAN adapter has a higher priority than the wireless network adapter. However, you can disable your Wi-Fi adapter to ensure that all your traffic is routed through the LAN adapter. Otherwise, any established connection before connecting a LAN wire would still send data packets through the Wi-Fi adapter.

You can disable your wireless adapter through the Quick Access menu in the taskbar (Windows 11/10) or from the Network and Connections applet.

Let us now move on to show you how you can also manage the priorities of the wireless networks your Windows device connects to.

How to Change Wi-Fi Network Connection Priority in Windows 11/10

Has it ever happened to you that your computer keeps connecting to the Wi-Fi connection whose wireless router is further than the one which is placed right beside you? It is likely because your Windows is configured to connect to it automatically, disregarding the wireless router which has stronger wireless signals.

Similar to network adapters, you can also change the priority of the wireless networks that your device(s) connect to. This way, you will not have to keep “forgetting” a wireless SSID that your computer connects to automatically, and then reconnect to it when you change your location.

Manually changing your Wi-Fi connection priority is also useful when you want your device to prefer a wireless connection over all others when available, but also automatically connect to the other one(s) in case the one with the highest priority is not available.

There are several ways you can manage the priorities of your Wi-Fi connections.

Enable Automatic Connection when in Range

One way to prioritize a Wi-Fi network is to configure your computer to connect to a wireless SSID automatically when it is available. Of course, this will only happen when your device is in the range of the router’s wireless signal transmission.

This method allows you to prioritize a network over others. However, when this capability is enabled for more than one Wi-Fi network, all those networks then have the same priority. Therefore, we suggest that you only enable the “Connect automatically when in range” capability for one SSID at a time.

Here is how you can prioritize networks using this technique in Windows OS:

  1. Navigate to the following:

    Settings app >> Network & internet >> Wi-Fi >> Manage known networks
  2. Click on the wireless network that you want to prioritize.

    manage known networks
    Select the network
  3. Check the “Connect automatically when in range” box.

    check box 2
    Connect automatically to network
  4. Return to the previous “Manage known networks” page.

  5. Click on all other wireless networks and uncheck the “Connect automatically when in range” box.

After performing the steps above, your computer will now automatically connect to the wireless network you have configured to connect it with, even while other networks are saved on your device.

If you want to assign a different priority to more than one wireless network, we suggest you opt for any one of the methods given below.

Change Wi-Fi Connection Priority from Command Prompt

This method is also applicable to Windows 7.

Unfortunately, unlike the network adapters, the priority for the Wi-Fi networks cannot be assigned using the Graphical User Interface (GUI). Nonetheless, you can still prioritize all known networks. This will allow you to manage which network your device’s Wi-Fi connects to even when all of them are available at the same time.

Follow the guide below to learn how to do so:

  1. Launch an elevated Command Prompt.

  2. Run the following command:

    netsh wlan show profiles

    This will show all the names of the known network profiles on your device.

    show network profiles
    Show network profiles in Command Prompt

    Note down the name of the profile that you want to change the priority of

  3. Now run this command:

    netsh wlan show interfaces

    This will show you the information on the wireless interfaces on your PC.

    interface name
    Show details of wireless device interfaces
  4. Use the following cmdlet to assign a new priority to the wireless network:

    Replace [ProfileName] with the name of the network, [AdapterName] with the name of your wireless adapter, and [PriorityValue] with a priority number (1 being of highest priority).

    netsh wlan set profileorder name="[ProfileName]" interface="[AdapterName]" priority=[PriorityValue]
    cmd change priority
    Change wireless network priority using Command Prompt
  5. Repeat Step 4 to assign different priorities for different network profiles on the same network adapter.

Using the command in Step 4 above, you can keep the [AdapterName] constant while changing the [PriorityValue] for the different [ProfileNames] and assign different priorities to all of the known networks on your computer.

Change Wi-Fi Connection Priority Using Third-Party Software

Wlan10 Utility

The name of the tool implies that it was designed for Windows 10. However, after testing it out thoroughly, we discovered that the tool also functions just as smoothly on Windows 11 as well.

Using this small, portable utility, you can prioritize the known wireless networks on your computer through the GUI. Not only that, but you can also control the auto-connect feature as well as auto-switch (switches to the network automatically when prioritized). Here is how:

  1. Open, download, and install Wlan10.

  2. Drag and drop the networks according to the priority that you want to implement (top to bottom).

    wlan10
    Wlan 10 network Manager

    You will now see the app with the known networks already populated. Simply rearrange them to configure their priority over one another.

  3. Close the tool when you are finished with the re-ordered networks.

    The settings will be saved automatically.

Wifinian

Wifinian is an application installed on your OS which is available to download through Microsoft Store. Once installed, you can access and manage your known networks directly from the menu on the Taskbar.

  1. Open the Wifinian Microsoft Store page and click Get.

    get
    Download Wifinian
  2. Click Open Microsoft Store.

    open ms store
    Open Microsoft Store
  3. Click Install to get the app.

    install 1
    Install Wifinian

    The app will now be installed on your device.

  4. Click on the Wifinian icon from the Quick Access menu.

    icon
    Click Wifinian icon from Quick Access
  5. Click Organize and then click on the network that you want to move within the list. Then click on either Up or Down to move the network in the list.

    up down
    Rearrange network priority using Wifinian

    The signal strength of each network will now be visible. Set the priority of each network, where the one with the highest priority will be at the top.

  6. When done, click Organize again to implement the changes.

At any time, you can click on the Engage button to execute automatic connections depending upon the signal strength, placement of the profile in the list, and its automatic switch setting. The Rush button performs a rescan of available wireless networks at short intervals, delivering optimized network connectivity.

Final Thoughts

After you have successfully changed the metric of a network adapter, we suggest that you go through all the metrics of all network adapters to ensure that the same value is not assigned to another adapter (accidentally).

Moreover, when network adapter prioritization is combined with Wi-Fi network prioritization, you can increase your internet speed drastically by ensuring that the strongest internet connection is readily available to your computer.

Also see:

Subhan Zafar is an established IT professional with interests in Windows and Server infrastructure testing and research, and is currently working with Itechtics as a research consultant. He has studied Electrical Engineering and is also certified by Huawei (HCNA & HCNP Routing and Switching).

Leave a Reply

Your email address will not be published. Required fields are marked *