Error Applying Virtual Switch Properties Changes. The Requested Resource Is In Use (0x800700AA). #HyperV

Hello folks,

The other day, I came across the following error when I was trying to create a Hyper-V vSwitch using a WiFi network adapter.

HV-WiFi-vSwitch01

As some of you might know that wireless networking is a bit tricky in virtualization, and sometimes does not work.

There is a great post that goes into the needy-greedy details on why supporting VM communication through wireless network adapters is sometimes problematic.

As you can see in the error message above, we don’t have much information to find the root cause of the issue.

Let’s try to create the same Virtual Switch with PowerShell this time.

HV-WiFi-vSwitch06

The error is different now, [The virtual switch cannot be bound to the WiFi adapter because the network bridge is already in use]. No, we are not talking about San Francisco bridge here Winking smile

When you create a Hyper-V vSwitch and bound it to a WiFi Adapter, Hyper-V behind the scene integrates the bridge as part of creating the virtual switch in such a way that when you create an external virtual switch using a WiFi adapter, Hyper-V will do the following:

  1. Create a single adapter bridge connected to the WiFi adapter.
  2. Create the external virtual switch.
  3. Bind the external virtual switch to use the bridge, instead of the WiFi adapter directly.

The error message shows clearly that we have a network bridge already created and bound to the WiFi adapter.

We can confirm this by running: netsh bridge show adapter

HV-WiFi-vSwitch07

Yes indeed we have a network bridge.

Let’s open Network and Connections applet in control panel

HV-WiFi-vSwitch02

Yes, the Network Bridge is already available and connected, but have you noticed something different here?

The Virtual Switch is unplugged, we can confirm this in Hyper-V Manager under Virtual Switch Manager:

HV-WiFi-vSwitch03

We can see the Ethernet External vSwitch, but where is the WiFi vSwitch? Confused smile

Sometimes when you remove the virtual switch that is bound to the WiFi adapter, the network bridge is not deleted automatically.

The resolution is very simple. We will remove the network bridge manually and create the Virtual Switch again:

HV-WiFi-vSwitch09

Here you go, the WiFi vSwitch is created successfully now Smile

HV-WiFi-vSwitch10

However there is a better way to use Hyper-V with a Wireless Network adapter, here is a great post on how to do it documented by Ben Armstrong (Principal program manager on the Hyper-V team).

Hope this helps!

Enjoy your day…

Cheers,
/Charbel

About Charbel Nemnom 306 Articles
Charbel Nemnom is a Microsoft Cloud Consultant and Technical Evangelist, totally fan of the latest's IT platform solutions, accomplished hands-on technical professional with over 15 years of broad IT Infrastructure experience serving on and guiding technical teams to optimize performance of mission-critical enterprise systems. Excellent communicator adept at identifying business needs and bridging the gap between functional groups and technology to foster targeted and innovative IT project development. Well respected by peers through demonstrating passion for technology and performance improvement. Extensive practical knowledge of complex systems builds, network design and virtualization.

Be the first to comment

Leave a Reply