Binding error for creating external switch for a wifi adapter.

Vijayaragavan Selvaraj 0 Reputation points
2023-09-05T12:53:09.8733333+00:00

I used to create a virtual external switch in hyper for a external Wi-Fi adapter. Where it automatically, creates a network bridge. If I unknowingly removed and insert any other external adapter I was not able to create external switch.

I can not able to delete the bridge it goes hidden. If I delete from pnp unknown devices also not works. How to overcome this binding issue.

How to create a external virtual switch for external wifi adapters without binding issue. How to delete the bridge without any issue?

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,271 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,147 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Mason Wheare 60 Reputation points
    2023-09-06T03:46:53.81+00:00

    The issue you're facing with creating an external virtual switch for an external Wi-Fi adapter and dealing with a hidden bridge can be challenging. To overcome this binding issue and create a new external virtual switch, you can follow these steps:

    Note: Before proceeding, ensure that you have administrative privileges on your Windows 10 machine.

    1. Remove Existing Bridge (If Present):
      • Press Win + X and open "Network Connections."
      • Look for a "Network Bridge" adapter, right-click on it, and select "Delete."
    2. Uninstall Previous Wi-Fi Adapter (If Necessary):
      • If the previous Wi-Fi adapter is still listed under "Device Manager" as an unknown device or with any issues, right-click on it and select "Uninstall." Make sure to remove any lingering remnants.
    3. Disable and Re-enable Wi-Fi Adapter:
      • Go to "Device Manager."
      • Find your Wi-Fi adapter under "Network adapters," right-click on it, and select "Disable."
      • After disabling it, right-click again and select "Enable."
    4. Restart Your Computer:
      • A restart can sometimes help clear any lingering issues.
    5. Create a New External Virtual Switch:
      • Open "Hyper-V Manager."
      • In the Actions pane on the right, click on "Virtual Switch Manager."
      • Select "External" and click "Create Virtual Switch."
      • Choose the appropriate Wi-Fi adapter from the drop-down list and provide a name for the switch.
      • Click "OK" to create the new external virtual switch.
    6. Configure Networking:
      • In the Hyper-V virtual machine settings, attach your virtual machine to the newly created external virtual switch.

    This should allow you to create a new external virtual switch without the previous binding issue.

    If the old bridge still persists in your network settings and cannot be deleted through regular means, you can try using PowerShell to remove it. Here's how:

    1. Open PowerShell as Administrator:
      • Right-click on the Start button and select "Windows Terminal (Admin)" or "Windows PowerShell (Admin)."
    2. List Network Bridges:
      • Type the following command to list network bridges:
        
             Get-NetBridge
        
        
    3. Remove the Bridge:
      • To remove a specific bridge, use the following command (replace BridgeName with the actual bridge name):
        
             Remove-NetBridge -Name BridgeName
        
        

    This PowerShell method should help you delete the bridge if it's still present and hidden in the network settings.

    After performing these steps, you should be able to create a new external virtual switch for your Wi-Fi adapter without any binding issues.

    0 comments No comments

  2. Ian Xue (Shanghai Wicresoft Co., Ltd.) 22,191 Reputation points Microsoft Vendor
    2023-09-06T04:31:25.4266667+00:00

    Hi,

    Are there any error messages when you create the external virtual switch? Open PowerShell as administrator and run Get-VMSwitch to see if your virtual switch is listed. If yes, run Remove-VMSwitch -Nam <vswitch name> to remove it. Replace <vswitch name> with your own virtual switch name. Then you can create a new virtual switch by running New-VMSwitch -Name <vswitch name> -NetAdapterName <wifi adapter name> .

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments