Setting Network Priority for Windows


To set the network adapter priority, please follow these steps based on which Windows operating system you use:

Windows Vista through Windows 8

  1. Open Network Connections.

  2. Go to Advanced.

  3. Under Advanced, change the order for the network adapters.

Windows 10 and Windows Server 2012 and Higher

For Windows 10 and Windows Server 2012 and higher, you need to set the priority per adapter using "Interface metric". Adapters with a lower InterfaceMetric number are prioritized over adapters that have a higher number.

  1. Open Network Connections.

  2. Go to each adapter and click on Properties.

  3. Click on IPv4 and click on Properties again in the new window.

  4. Click on Advanced.

  5. Change to a value of 2 or higher, as 1 is reserved for the loopback adapter.

If you prefer Powershell, you can run the following:

  1. Open a new elevated PowerShell prompt.

  2. Run the command Get-NetIPInterface.

  3. Find your Ethernet adapters in the list and look at the InterfaceMetric and Index column. Make note of index and InterfaceMetric value of the adapter you want to change.

  4. Run the command Set-NetIPInterface -InterfaceIndex "indexValue" -InterfaceMetric "metricValue" where indexValue is the index of the adapter and metricValue is the InterfaceMetric value you want to set. For example, Set-NetIPInterface -InterfaceIndex "11" -InterfaceMetric "20" would set adapter 11’s Interface Metric to 20.

Last Update: 16. Oktober 2019