Windows 10: Hyper-V - Unable to Create External Virtual Switch

Page 1 of 2 12 LastLast
  1.    06 Mar 2016 #1

    Hyper-V - Unable to Create External Virtual Switch


    I get the error "bind failed: General access denied error" when I try to create an external virtual switch.

    Click image for larger version. 

Name:	2016-03-06_0-23-27.png 
Views:	57 
Size:	12.3 KB 
ID:	67920

    I tried running Hyper-V with as admin without success.

    Kevin
      My ComputerSystem Spec


  2. Posts : 12,396
    Windows 10 Pro
       06 Mar 2016 #2

    Please run PowerShell, type Get-VMSwitch and hit Enter. Take a screenshot of results and post here, see below for an example:



    In case you need help with posting screenshots:

      My ComputerSystem Spec

  3.    06 Mar 2016 #3

    Nothing is listed:

    Click image for larger version. 

Name:	2016-03-06_3-26-57.png 
Views:	4 
Size:	14.7 KB 
ID:	67937

    Kevin
      My ComputerSystem Spec


  4. Posts : 12,396
    Windows 10 Pro
       06 Mar 2016 #4

    OK.

    Which Windows 10 build you are using? Are you signed in with an admin account? Are you trying to create an external switch using Ethernet adapter or the wireless adapter?
      My ComputerSystem Spec

  5.    06 Mar 2016 #5

    Windows 10 Enterprise, Version 1511, OS Build 10586.122.

    I am signed in as myself, an admin.

    I'm trying to connect to a wireless adapter.

    Kevin
      My ComputerSystem Spec


  6. Posts : 12,396
    Windows 10 Pro
       06 Mar 2016 #6

    Two suggestions. First a safe workaround, then a bit more risky solution which might or might not work.

    A safe workaround:
    1.) Create an Internal virtual switch

    2.) Change your virtual machine Network Adapter to your new Internal switch

    Click image for larger version. 

Name:	2016_03_06_11_50_481.png 
Views:	9 
Size:	97.9 KB 
ID:	67939

    3.) Before starting the vm, make sure your host physical wireless adapter is connected, then open its Properties and under the Sharing tab, enable sharing the connection with your new Internal switch:



    That's it. Your vm is now using an Internal switch which then gets a shared connection from the wireless adapter on host.


    A not so safe but more permanent solution:
    1.) Open an elevated admin Command Prompt

    2.) Enter command netcfg -d, hit Enter. All your host network connections will be reset, all possible virtual switches removed, even those "half there" not shown but yet making it impossible to create new switches as in your case

    3.)
    Restart, reconnect the wireless adapter (notice that it's reset, you need to enter the network security key again)

    4.) Create the external switch

    5.)
    If you can now create the external switch, everything is OK. If not, you can still use the above workaround

    warning   Warning
    Please notice: The netcfg -d command when it works can show a few errors, followed by a few "Success" messages. It's totally normal.

    Click image for larger version. 

Name:	2016_03_06_12_16_381.png 
Views:	3 
Size:	78.9 KB 
ID:	67941

    The command might crash the PC causing a BSOD, for instance when I tested this just now, the first netcfg -d gave a BSOD, the second one after the restart worked.

    I will take no responsibility, if you decide to test this scenario you do it at your own risk!


    Kari
    Last edited by Kari; 06 Mar 2016 at 07:38. Reason: Typos
      My ComputerSystem Spec

  7.    06 Mar 2016 #7

    Before I try these solutions, what about using RDP? I was reading about that was a good way to get the screen resolution to match my host system. Would that somehow change how the networking works or would I still have the same problem?

    Kevin
      My ComputerSystem Spec


  8. Posts : 12,396
    Windows 10 Pro
       06 Mar 2016 #8

    zorvek said: View Post
    Before I try these solutions, what about using RDP? I was reading about that was a good way to get the screen resolution to match my host system. Would that somehow change how the networking works or would I still have the same problem?
    The vm needs to be connected to the network before you can remotely connect to it. To connect, a vm needs a virtual switch. To use Remote Desktop, you first need to create a working virtual switch and set the vm to use it.
      My ComputerSystem Spec


  9. Posts : 45
    Windows 10 Pro / Windows Server 2012 (VM)
       09 Mar 2016 #9

    zorvek said: View Post
    Nothing is listed:

    Click image for larger version. 

Name:	2016-03-06_3-26-57.png 
Views:	4 
Size:	14.7 KB 
ID:	67937

    Kevin
    I see Windows PowerShell Listed at top left corner --- It Does Not Say "Administrator" Maybe problem
      My ComputerSystem Spec


  10. Posts : 12,396
    Windows 10 Pro
       09 Mar 2016 #10

    Dadicator said: View Post
    I see Windows PowerShell Listed at top left corner --- It Does Not Say "Administrator" Maybe problem
    No, that's not an issue. Get-VMSwitch does not need elevated PowerShell. See my screenshot in post #2.
      My ComputerSystem Spec


 
Page 1 of 2 12 LastLast

Related Threads
Hi this is my first post but I am really confused as to an issue with hyper-V Whenever I go to open the virtual switch manager, it says; The operation on computer 'DESKTOP-V1A0142' failed: Generic error. Is there anyway to fix this. I have not...
creation of virtual switch seems to be proceeding but stops and I get a message similar to this: "Error applying virtual switch properties changes" Failed while adding virtual switch connections External ethernet adapter "'realtek pcie gbe'...
I have succesfully used a Hyper-V virtual switch connected to the wireless adapter in my laptop. All my VM's could access my LAN independently, and could get an ip address from the DHCP server. This means, AFAIK, that my wireless adapter can and...
I can find the dialog to enable the Hyper-V Extensible Switch for my network card but when I say OK then it says: "Your current selection will also disable the following features: Hyper-V Extensible Virtual Switch" Yes or No Either way...
Hey, new here. I wasn't sure if this should go in Network and Sharing or Programs and Apps, so I apologize if this is in the wrong category. Anyways, while trying to set up a virtual switch I discover I need to install the 'Hyper-v Extensible...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 04:25.
Find Us