I can't add Wireless Adaptor in External Virtual Switch Network in Hyper-V. Error: Object Not Found

I was tried to create a virtual switch network in Hyper-V. I was select External and then select Create Virtual Switch. (Picture 1)

Under Connection Type I selected External Network, Then I select Qualcomm QCA9377 802.11ac Wireless Adaptor. (Picture 2)

After that When I tried to click on Apply button, but an error occurred that Object Not Found (Picture 3)

After this error my internet connection get lost. If I again try to connect to my Wi-Fi, I get connected to my Wi-Fi, but it shows that No Internet, even could not connect to any Wi-Fi. (Picture 4)

Now if I disable the Hyper-V from Turn Windows features on or off and restart my Laptop, again I can connect to the Wi-Fi.

Now if I try to again create a virtual switch, the same problem occurred and again I have to disable Hyper-V for use internet.


Solution 1:

There is a weird bug which happens with some WiFi cards where the Network Bridge is not created (this is the missing "object"). All credit goes to the comments posted by Craig in here: https://pomeroy.me/2020/08/hyper-v-virtual-switch-creation-woes/

Craig S. In this link discovered why this happens: the Network Bridge disappears from network adapters. Disabling and enabling the WiFi adapter while applying the external virtual switch change will magically bring the Network Bridge back and the virtual switch setup will succeed immediately!

Restarting the host and VM usually is a good idea after that.