Configure network interface order in Windows Server 2016/2019 and Windows 10

I get asked a lot about this: What is the easiest way to configure network interface order?

The simplest way is to use the network metric in order to be able to actually configure this order.
The order in which adapters appear in a list is determined by the IPv4 or IPv6 interface metric.
When network traffic routes are chosen and you have configured the InterfaceMetric parameter of the Set-NetIPInterface command, the overall metric that is used to determine the interface preference is the sum of the route metric and the interface metric. The interface metric gives preference to a particular interface, such as using wired if both wired and wireless are available.

In order to do this we can use powershell:

Get-NetIPInterface

If you need to decrease the priority of a network interface set the metric for it to a very large number like 5000 or similar.

Set-NetIPInterface -InterfaceIndex 7 -InterfaceMetric 1000
Get-NetIPInterface

2 thoughts on “Configure network interface order in Windows Server 2016/2019 and Windows 10”

  1. Hi Alin, apart from the technical bits, maybe you could change some grammar stuff as well.

    The title should be “ConfigurING THE network interface…”

    Then it’s “I get askED a lot”and “what is the easiest way to configure THE network…””

    Hope this helps. Jimmy.

  2. Hi Jimmy,
    From a grammar point of view I think my way of writing it is fine.
    I did correct the ask to asked, but other than that I do not see your point.
    The “ing” suffix is added for a continuous action, but the configure action is done just once and is not something needed to be a ongoing action.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.