in

How to change priority order of network connections Windows 10?

How to change priority order of network connections Windows 10?

This tutorial explains how to change the priority of WiFi or LAN network connections in Windows 10.

In Windows 10 operating system, each of the network interfaces used has an assignment with an automatic priority value which is based on its respective network metric, this results in the way in which the interface will be used to send and receive all network traffic. And you can change this easily.

How to change priority order of network connections Windows 10?

  • To use this method, you should initially go to Start > Settings > Network and Internet. There you can click on the option “Change adapter options”
  • Now right click on your network adapter and select the “Properties” option
  • In the displayed window, select the line “IPv4” and click on the “Properties” button
  • Now go to the “General” tab and click on the “Advanced options” button located at the bottom and in the new window that will be opened, deactivate the “Interface metrics” box and set the desired value. The assigned number is the priority level of this network.
  • Click on OK to save the changes
  • When using the Control Panel option and based on the network settings, it may be necessary to adjust the metric for Internet Protocol version 6 (TCP / IPv6) in case of using that protocol. At the moment in which we want to omit this priority, it is enough to activate the “Automatic metric” box

You can also change the priority order of network connections in Windows 10 through Windows PowerShell

Windows PowerShell is the console that is being included in Windows 10 and thanks to which we can carry out various administrative tasks in the system.

  • To use this method, access Windows PowerShell as an administrator and there you can execute the following line:

    Get-NetIPInterface

  • There you will find two fundamental details:
    – Interface identifier (ifIndex)
    – Used metric level (InterfaceMetric)
  • Now, use the following syntax to define the metric to indicate:

    Set -NetIPInterface -InterfaceIndex ( interface #) -InterfaceMetric (Metric level)

  • Select the interface you are using assign the priority.
  • Now execute the “Get-NetIPInterface” command again to verify that this change has been made correctly.
  • After completing this process, Windows 10 will prioritize network traffic as defined by these settings when connecting multiple network adapters.
  • If you want to set the default configuration again, execute the following line as administrator in PowerShell:

    Set -NetIPInterface -InterfaceIndex 22 -AutomaticMetric enabled

  • Indicate the correct interface for this.

With any of these two methods you will have the opportunity to set the network priority in Windows 10.