大网数据广告活动
Hyper-V与虚拟化

Creating V-switches within the hyper-V environment fails

· 52CE 我爱测

Provides workarounds for an issue where creating V-switches within the hyper-V environment fails.

This article provides workarounds for an issue where creating V-switches within the hyper-V environment fails.

Original KB number:   2486812

Symptoms

When trying to create a virtual switch from the Virtual Network Manager, you receive an error message while applying the new virtual network changes. The error message states: "Setup switch failed. Cannot bind to <name of network adapter> because it is already bound to another virtual network."

When creating the virtual switch via a script, you may receive an error similar to one of the following:

Creating Net2New-VirtualNetwork : VMM cannot complete the Hyper-V operation on server ... (Error ID: 12700, Detailed Error: Unknown error (0x8005))

Or:

Remove-VirtualNetwork : A Hardware Management error has occurred trying to contact server k9-campos7000-5.ad.iss-eps.net.(Error ID: 2927, Detailed Error: Unknown error (0x80338029))

There are many possible error codes depending on the script, but in general the errors may not directly point back to a switch.

Cause

The network adapter has the protocol used by the Hyper-V virtual switch still bound to it. This is called the vms_pp binding. (Microsoft Virtual Network Switch Protocol)

Note: This issue is not currently known to be specific to a particular network adapter or hardware platform.

Modify network bindings

To work around this issue, modify network bindings by using the following steps:

  1. Produce a list of all the network adapters and their bindings. Find the problematic adapter and see if the vms_pp binding is enabled. Run the following cmdlet and note the name of the adapter.

    Get-NetAdapterBinding -ComponentID "vms_pp"
    
  2. Disable the vms_pp binding by using the following cmdlet:

    Disable-NetAdapterBinding -Name "<Adapter Name>" -ComponentID "vms_pp"
    
  3. Take the first step again and confirm that the value of the Enabled property is False. This is to confirm that the binding has been removed.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。