Change Network Binding Order

Válmison Amâncio dos Santos 1 Reputation point
2020-12-18T13:50:35.82+00:00

Dear friends,

I need to change the order of the network adapters to run software that uses the IP address of the VPN connection adapter to authenticate to a remote server.

I changed the metric for all adapters, leaving the VPN metric with the lowest metric 1, as well as the order of the key value HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Tcpip \ Linkage \ Bind, but I was unsuccessful. I found that the software uses the IP address of the first connected adapter listed in cmd "ipconfig" or powershell "Get-NetIPInterface", that is, if the "Adapter N" that was used to connect to the VPN is listed above the VPN adapter, the software will consider the IP address of "Adapter N" and not the VPN.

I clarify that I came to the conclusion of the previous paragraph after performing tests on a VM running Windows 7, where I could use to change the order of the adapters through the "Adapters and bindings" tab in the advanced settings of the adapter settings window, as shown in the image below.

However, this feature is no longer available on Windows 10 and I need a solution to change the order of the adapters for that version of the OS, as the software I am using is legacy and is no longer supported to change its programming.

49389-adaptadores-e-vinculacoes.png

Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,274 questions
Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,908 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Nick Steffen 6 Reputation points
    2021-12-12T23:09:16.87+00:00

    I was having the same issue as you, but I figured out that the menu you are looking for is not gone its just hidden behind a view setting by default in the windows 10/11 network adapters menu.

    You use the run command ncpa.cpl to bring up the adapters menu.

    Then click the organize button
    156936-image.png

    select -> layout ->menu bar
    156983-image.png

    You should now see the older style menu bar here then you just go to:
    Advanced -> Advanced Settings

    156991-image.png

    And Voila:
    156966-image.png

    1 person found this answer helpful.
    0 comments No comments

  2. Dave Patrick 426.1K Reputation points MVP
    2020-12-18T14:10:30.86+00:00

    You can report this as feedback here.
    https://support.microsoft.com/en-us/windows/send-feedback-to-microsoft-with-the-feedback-hub-app-f59187f8-8739-22d6-ba93-f66612949332

    --please don't forget to Accept as answer if the reply is helpful--


  3. Sean Liming 4,511 Reputation points
    2020-12-19T05:18:31.39+00:00

    I think what you are looking for is buried in Control Panel.

    In Control panel, open Network and Sharing Center
    Click on "Change Adapter Settings"
    The Network Connection screen appears, hit the Alt key to bring up the menu.

    49663-network-order2.jpg

    You can select Advanced ->Advanced settings, which I think brings up the screen you are looking for:

    49467-network-order.jpg


  4. Gloria Gu 3,891 Reputation points
    2020-12-21T07:08:09.907+00:00

    @Válmison Amâncio dos Santos Hi,

    Thank you for posting in Q&A!

    Based on my experience and test in the environment, you can manually change the metric value of the preferred NIC will change the order of NIC you want to use.

    In my environment, I used this command to change the metric value of one NIC of my windows 10 client.
    Get-NetIPInterface
    Set-NetIPInterface -InterfaceIndex“ 11” -InterfaceMetric“ 90”

    Then I use the command "route print" to show the list of NIC, the one with the lowest metric value is the NIC I modified. So theoretically, the command can be useful in your situation. Please try to test in your window10 environment.

    49886-11.png
    49740-12.png

    Merry Christmas, Hope you have a nice day : )
    Gloria

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    https://learn.microsoft.com/en-us/answers/articles/67444/email-notifications.html