PowershellWindows 10

How to enable NIC Teaming in windows 10 Using PowerShell

Nic teaming or Link aggregation are various ways to combine multiple network connections to gain more speed, or it can be used for network redundancy.

In previous versions of Windows 10 Pro (before release 1809), I used to use New-NetLbfoTeam PowerShell cmdlet, and it works fine, but after the 1809 release, it stops working.

After hours of research on the internet, I find out that LBFO is no more supported on Windows 10 anymore an only works for Server Operating Systems. I will mention the LBFO cmdlet as well, so in case if you are working on windows servers, you can configure NIC Teaming.

Let's configure the NIC Teaming:

First, open up Windows PowerShell as an administrator.

Open PowerShell-As-Administrator

Next, type the Get-NetAdapter cmdlet in the PowerShell to see the list of Network Adapters available on your computer. I am going to use two Realtek Network Adapter attached to my computer you choose what is convenient for you and write them down for the next command.

Recommended For You:  Add PowerShell & Command Prompt to Context Menu In Windows 10
            Get-NetAdapter
        
Get-NetAdapter

Then type the New-NetSwitchTeam command in the Powershell, and for the Name parameter value type any name you like for me, I’m using 2Gpbs as the name. TeamMembers parameter value will need the name of the network adapters, which are going to be part of NIC teaming for me Ethernet and Ethernet 2.

            New-NetSwitchTeam -Name "2Gpbs" -TeamMembers "Ethernet","Ethernet 2"
        
New-NetSwitchTeam

After running the PowerShell command, if you did not receive any error, it’s mean you were successful. If you receive any error, make sure you type the command correctly or recheck your network adapter names.

Now run Get-NetSwitchTeam command to make sure your team is configured.

            Get-NetSwitchTeam
        
Get-NetSwitchTeam

As you can see the Nic Teaming is configured successfully on Windows 10 Pro. If you want to know more about this cmdlet, please visit New-NetSwitchTeam. If you face any issue leave a comment, and I will reply as soon as possible.

Recommended For You:  How To Disable Windows Defender Permanently in Windows 10

Before we end this topic if you want to know more about the NetLbfoTeam command visit New-NetLbfoTeam.

Now it only works for Server Operating systems.

            New-NetLbfoTeam -Name "Team1" -TeamMembers "NIC1","NIC2"
        

You might also be interested.

Install Chocolatey using PowerShell.

Muhammad Faizan

Hi, My name is Muhammad Faizan and i have spent last 15 years working as System Administrator mainly with Microsoft Technologies. I am MCSE, MCTP, MCITP, certified professional. I love scripting and Powershell is the scripting language i am in love with.

Related Articles

18 Comments

  1. i tried using ethernet realtek and wifi , able to team it but not able to grab the IP. it should the 169.xx.xx.xx.

    how to resolve this issue?

  2. This worked! I upgraded a windows 7 machine to windows 10 and the Intel Gigabit ET Dual Port Server Adapter we used could not be teamed in Windows 10 (with Pro-Set / ANS). But the new-NetSwitchTeam cmdlet worked!

    Windows 10 Version 1809.

    Thanks for documenting this!

    1. You are always welcome!

      Remember i am not making any profit from this website so please always comment if you like my work it makes a motivated to keep the website up and running. Thanks

  3. I am trying this configuration on a server connected to a layer 2 switch. And I would like to know which are the teaming mode (switch independent or dependent), load balancing mode and if LACP is enable or not?

    Then in the switch side, which are settings to be to adapt the NIC teaming configuration on the server?

    1. Hi,

      You should check the reply of @Knowitall007.

      Remove-NetSwitchTeam

      SYNTAX
      Remove-NetSwitchTeam [-Name] [-CimSession ] [-ThrottleLimit ] [-AsJob] [-PassThru]
      [-WhatIf] [-Confirm] []

      Remove-NetSwitchTeam -InputObject [-CimSession ] [-ThrottleLimit
      ] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] []

      e.g.
      PS C:\>Remove-NetSwitchTeam -Name “SwitchTeam01”
      This command deletes the switch team named SwitchTeam01

  4. Thanks

    this is the ONLY command which worked – two realtek cards 1Gbps and 100Mbps teamed successfully – the IP address of the Netswitchteam is the same as that of the first team member.

    to answer the last comment
    PS help Remove-Netswitchteam
    NAME
    Remove-NetSwitchTeam

    SYNTAX
    Remove-NetSwitchTeam [-Name] [-CimSession ] [-ThrottleLimit ] [-AsJob] [-PassThru]
    [-WhatIf] [-Confirm] []

    Remove-NetSwitchTeam -InputObject [-CimSession ] [-ThrottleLimit
    ] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] []

    e.g.
    PS C:\>Remove-NetSwitchTeam -Name “SwitchTeam01”
    This command deletes the switch team named SwitchTeam01

  5. The 2 file you need is:
    system32\drivers\MsLbfoProvider.sys
    system32\drivers\en-US\MsLbfoProvider.sys.mui
    copy the 2 file from windows server and place them into windows 10 same place where you find them in windows server
    then open powershell run:
    New-NetSwitchTeam -Name “Team Name” -TeamMembers “NIC”,”NIC 2″

  6. I can tell you that you can get it to work, but you need to do some work around and get drivers from windows server to reenable it on windows 10. As of right now I have it running on my windows 10 version 20H2.

    1. Hi I tried using the guide to re-enable lbfo I found on code insecurity but cannot get the service to install any advice would be greatly appreciated

  7. Works fine on Windows education 10.0.18363 not build 18363, but bandwidth is not as many as the added bandwidth of additional cards summed up. For 2 Cards about 140% only instead of 100% with one adapter.

  8. Nice while it lasted. Teaming is broken in 2004 / 19041.329

    Yah that’s the only way to enjoy nic teaming for now.

Leave a Reply

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

Check Also
Close
Back to top button