Hyper-V vSwitch for Windows server 2025 Datacenter Server is failing

Vishakhan K 10 Reputation points
2025-03-13T04:18:19.0333333+00:00

Hi Team,

We have setup new windows server 2025 Datacenter, and it's configured with the Nic teaming (4 adapters 2 NIC teams).

Also, we have configured the Hyper-V server in the physical server. When we try to configure the vSwitch from the Virtual switch manager we can't be able to select the NIC Team adapters from the list. As we are getting the below error message.

Image

Then we tried to execute the below PS commands to add the vSwitch, but it doesn't work in the windows server 2025.

We can see this is working fine in the windows server 2022 and able to configure the vSwitch successfully from Blogs.

But it's not working as expected in the windows server 2025 Datacenter.

PS command.

New-VMSwitch -Name "Test-vSwitch" -NetAdapterName "VLAN 10" -AllowNetLBFOTEAMS $true -AllowManagementOS $true

&

New-VMSwitch -Name "Test-vSwitch" -NetAdapterName "VLAN 10" -EnableEmbeddedTeaming $true -AllowManagementOS $true

we also tried the SET command to configure the vSwitch but that also not working as expected.

Can you somebody help us to fix this issue?

Windows Server 2022
{count} vote

1 answer

Sort by: Most helpful
  1. Alejandro Hernández Gil 101 Reputation points
    2025-05-13T11:44:40.66+00:00

    Hi Vishakhan K,

    Delete virtual network switch, you must use this commands:

    New-VMSwitch -name "SwitchHyperV1" -NetAdapterName "InterfaceName1","InterfaceName2","InterfaceName3"-AllowManagementOS $true -EnableEmbeddedTeaming $true

    Then use this to enable load balancing and improve switch speed:

    Set-VMSwitchTeam -Name "SwitchHyperV1" -LoadBalancingAlgorithm Dynamic

    Once these commands are executed, you will have the virtual switch configured in your Hyper-V to use with your virtual machines. If you want to use VLANs, in my case, I configure the physical switch ports in hybrid mode, with the management VLAN for Hyper-V set as untagged and the VLANs for the virtual machines set as tagged. Then, you just need to configure the VLAN ID on the virtual machine's network adapter in the Hyper-V settings.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.