Windows 8 and 8.1 Forums


hyper-v - error in creating external virtual switch

  1. #1


    Posts : 37
    windows 8.1 pro wmc x64

    hyper-v - error in creating external virtual switch


    hyper-v - error in creating external virtual switch


    I got an error in creating external virtual switch at hyper-v on windows 8 pro x64.

    I have one xp vm and tried to make an network connection, but I coul not success.

    Please let me know how to make creating external virtual switch at hyper-v.

    Thanks in advance.

      My System SpecsSystem Spec

  2. #2


    A Finnish ex-pat in Leipzig, Germany
    Posts : 1,452
    Windows 8.1 Pro with Media Center


    Check this tutorial from our own Dwarf: Hyper-V - How to Use in Windows 8.

    The tutorial explains to you how to create a virtual switch and your Hyper-V virtual machine.

    Kari
    Last edited by Kari; 01 Feb 2013 at 13:06. Reason: Tutorial is made by Dwarf, not Brink as I stated. Fixed.
      My System SpecsSystem Spec

  3. #3


    Posts : 37
    windows 8.1 pro wmc x64


    Kari/

    Thanks, but there's an error message when making virtual switch.
      My System SpecsSystem Spec

  4. #4


    A Finnish ex-pat in Leipzig, Germany
    Posts : 1,452
    Windows 8.1 Pro with Media Center


    What is the error message you get?
      My System SpecsSystem Spec

  5. #5


    Posts : 37
    windows 8.1 pro wmc x64


    Kari/

    Event Viewer shows this:

    - <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    - <System>
    <Provider Name="Microsoft-Windows-Hyper-V-VMMS" Guid="{6066F867-7CA1-4418-85FD-36E3F9C0600C}" />

    <EventID>26138</EventID>

    <Version>0</Version>

    <Level>2</Level>

    <Task>0</Task>

    <Opcode>0</Opcode>

    <Keywords>0x2000000000000000</Keywords>

    <TimeCreated SystemTime="2013-02-15T11:56:20.315506700Z" />

    <EventRecordID>79</EventRecordID>

    <Correlation />

    <Execution ProcessID="3084" ThreadID="5600" />

    <Channel>Microsoft-Windows-Hyper-V-VMMS-Networking</Channel>

    <Computer>tester</Computer>

    <Security UserID="S-1-5-18" />

    </System>


    - <UserData>
    <VmlEventLog xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="http://www.microsoft.com/Windows/Virtualization/Events" />

    </UserData>


    </Event>


      My System SpecsSystem Spec

  6. #6


    A Finnish ex-pat in Leipzig, Germany
    Posts : 1,452
    Windows 8.1 Pro with Media Center


    Please simply tell me what is the error message you told you get when you create an external switch!
      My System SpecsSystem Spec

  7. #7


    Posts : 37
    windows 8.1 pro wmc x64


    In English, it is like this.

    There's an error in changing properties of virtual switch at making virtual ethernet switch
      My System SpecsSystem Spec

  8. #8


    A Finnish ex-pat in Leipzig, Germany
    Posts : 1,452
    Windows 8.1 Pro with Media Center


    OK, that error message normally means one of two things:
    • Problems with Microsoft NDIS Packet Capture Filter Driver
      - OR -
    • A switch is already tied to NIC you are using when creating a new switch

    Let's try first to create the switch manually:

    1. Run Hyper-V manager, it needs to be running to do the next steps
    2. Run PowerShell as administrator by right clicking the PowerShell shortcut in C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools and selecting Run as administrator
    3. First to be sure we use correct NIC name, type Get-NetAdapter in PowerShell and press Enter
    4. Check the correct name and spelling of a NIC which is free (not already tied to a switch). In my example I use the wireless NIC with the name Wi-Fi
    5. Type New-VMSwitch -Name “NewSwitch” -NetAdapterName “Wi-Fi” -AllowManagementOS $True and press Enter:
      .
      Click image for larger version


    • NewSwitch = name of your switch, whatever you want to
    • Wi-Fi = change here the name of your NIC
    • The parameter -AllowManagementOS should have value $False​ if you want to deny your host using this connection


    A new switch will now be created and can be seen in Virtual Switch Manager:
    .
    Click image for larger version
    .

    If you get an error message instead, please copy the full text of that message and post here!

    Kari

      My System SpecsSystem Spec

  9. #9


    Posts : 37
    windows 8.1 pro wmc x64


    The error message is this:
    Code:
    PS C:\Users\Administrator> New-VMSwitch -Name “hyperv_vlan” -NetAdapterName “이더넷 3” -AllowManagementOS $True
    New-VMSwitch : 가상 이더넷 스위치를 만드는 동안 오류가 발생했습니다.
    위치 줄:1 문자:1
    + New-VMSwitch -Name “hyperv_vlan” -NetAdapterName “이더넷 3” -AllowManagementOS $Tru ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (Microsoft.HyperV.PowerShell.VMTask:VMTask) [New-VMSwitch], Virtualization
       OperationFailedException
        + FullyQualifiedErrorId : OperationFailed,Microsoft.HyperV.PowerShell.Commands.NewVMSwitchCommand
    And photo's here:

    Click image for larger version
      My System SpecsSystem Spec

  10. #10


    A Finnish ex-pat in Leipzig, Germany
    Posts : 1,452
    Windows 8.1 Pro with Media Center


    Could you please tell me
    - Which switches you already have and to which NIC (if any) they are connected to
    - How many NICs you have
    - The English names of your NICs as PowerShell Get-NetAdapter tells them

    You could also make helping you a bit easier by creating a local account on your Windows 8 Pro, logging in to that new account and changing it to English Display Language. This would make your whole account totally in English and we could really understand your error messages and screenshots.

    When we are ready, you can then simply delete the English local user account.

    Here's a tutorial to show how to create a user account: User Account - Add a New User in Windows 8

    And here how to change Display Language: Display Language - Change in Windows 8

    Kari
      My System SpecsSystem Spec

Page 1 of 2 12 LastLast
hyper-v - error in creating external virtual switch
Related Threads
Hyper-V Virtual Switch 101: How to create and use Virtual Switches to connect Virtual Machines to Network I will try to make this tutorial as simple and easy to understand as possible. Therefore some examples used might seem to you fellow geeks too simple. However, I ask you to understand that...
I'm using an AlienWare M14 machine. I tried to create a virtual machine locally using Client Hyper-V on Windows 8 Pro, but it still doesn't work (took me a lot of time). I added the Hyper-V features in "Turn windows feature on or off", and all of the requirements to run Hyper-V are fulfilled (SLAT,...
Hello all, I'm learning windows phone 8, and I want to run the windows phone 8 simulator on my PC ( OS windows 8.1 pro ), but the simulator can not run because it can not create the virtual switch in Hyper-V, and I also can not do it manually :mad:. This is the error when I create the new virtual...
I am running Windows 8.1 Pro with Hyper-V enabled. When I had Windows 8 I could install a Virtual switch with out any problems, since upgrading I can not install a Virtual Switch with External or Internal settings. Not sure if this is relevant or not but when I look at the Ethernet properties...
Hi, I had Hyper-V and Ubuntu running on Windows 8 no problem. I've since done a fresh install to 8.1, and I can no longer create an External Virtual Switch. The button for "Create Virtual Switch" is grayed out when I select "External". I can create Internal and Private switches, but not...
I have a Win8-64 system hosting a Win8-32 VM. A physical Wifi adapter provides Internet sharing, and a virtual switch provides Internet access to the guest VM via "internal network". However, the Win8-64 host seems to be confused as to which adapter provides Internet access. If I delete the...
Hi All, Getting a strange error with Hyper-V on Windows 8 Pro x64. When I try and add a virtual switch I get: Error Applying Virtual Switch Properties Changes Failed while adding virtual Ethernet switch connections. Ethernet port '{a bunch of stuff}' bind failed: The data is invalid....
Eight Forums Android App Eight Forums IOS App Follow us on Facebook