What's new

hyper-v - error in creating external virtual switch

windstory

Member
Member
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 Computer

System One

  • OS
    windows 8.1 pro wmc x64
    System Manufacturer/Model
    customise
    CPU
    i7-920
    Motherboard
    asus p6x58d
    Memory
    G Skill F3-12800CL9-2GBNQ 2G x 6
    Graphics Card(s)
    Nvidia Geforce 9600 GT
    Screen Resolution
    2560 x 1440

Kari

Old geek, new tricks
Team Member
VIP Member
Pro User
Last edited:

My Computer

System One

  • OS
    Windows 8.1 Pro with Media Center
    Computer type
    Laptop
    System Manufacturer/Model
    HP ENVY 17-1150eg
    CPU
    1.6 GHz Intel Core i7-720QM Processor
    Memory
    6 GB
    Graphics Card(s)
    ATI Mobility Radeon HD 5850 Graphics
    Sound Card
    Beats sound system with integrated subwoofer
    Monitor(s) Displays
    17" laptop display, 22" LED and 32" Full HD TV through HDMI
    Screen Resolution
    1600*900 (1), 1920*1080 (2&3)
    Hard Drives
    Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
    External: 2TB for backups, 3TB USB3 network drive for media
    Cooling
    As Envy runs a bit warm, I have it on a Cooler Master pad
    Keyboard
    Logitech diNovo Media Desktop Laser (bluetooth)
    Mouse
    Logitech MX1000 Laser (Bluetooth)
    Internet Speed
    50 MB VDSL
    Browser
    Maxthon 3.5.2., IE11
    Antivirus
    Windows Defender 4.3.9431.0
    Other Info
    Windows in English, additional user accounts in Finnish, German and Swedish.

windstory

Member
Member
Kari/

Thanks, but there's an error message when making virtual switch.
 

My Computer

System One

  • OS
    windows 8.1 pro wmc x64
    System Manufacturer/Model
    customise
    CPU
    i7-920
    Motherboard
    asus p6x58d
    Memory
    G Skill F3-12800CL9-2GBNQ 2G x 6
    Graphics Card(s)
    Nvidia Geforce 9600 GT
    Screen Resolution
    2560 x 1440

Kari

Old geek, new tricks
Team Member
VIP Member
Pro User
What is the error message you get?
 

My Computer

System One

  • OS
    Windows 8.1 Pro with Media Center
    Computer type
    Laptop
    System Manufacturer/Model
    HP ENVY 17-1150eg
    CPU
    1.6 GHz Intel Core i7-720QM Processor
    Memory
    6 GB
    Graphics Card(s)
    ATI Mobility Radeon HD 5850 Graphics
    Sound Card
    Beats sound system with integrated subwoofer
    Monitor(s) Displays
    17" laptop display, 22" LED and 32" Full HD TV through HDMI
    Screen Resolution
    1600*900 (1), 1920*1080 (2&3)
    Hard Drives
    Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
    External: 2TB for backups, 3TB USB3 network drive for media
    Cooling
    As Envy runs a bit warm, I have it on a Cooler Master pad
    Keyboard
    Logitech diNovo Media Desktop Laser (bluetooth)
    Mouse
    Logitech MX1000 Laser (Bluetooth)
    Internet Speed
    50 MB VDSL
    Browser
    Maxthon 3.5.2., IE11
    Antivirus
    Windows Defender 4.3.9431.0
    Other Info
    Windows in English, additional user accounts in Finnish, German and Swedish.

windstory

Member
Member
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 Computer

System One

  • OS
    windows 8.1 pro wmc x64
    System Manufacturer/Model
    customise
    CPU
    i7-920
    Motherboard
    asus p6x58d
    Memory
    G Skill F3-12800CL9-2GBNQ 2G x 6
    Graphics Card(s)
    Nvidia Geforce 9600 GT
    Screen Resolution
    2560 x 1440

Kari

Old geek, new tricks
Team Member
VIP Member
Pro User
Please simply tell me what is the error message you told you get when you create an external switch!
 

My Computer

System One

  • OS
    Windows 8.1 Pro with Media Center
    Computer type
    Laptop
    System Manufacturer/Model
    HP ENVY 17-1150eg
    CPU
    1.6 GHz Intel Core i7-720QM Processor
    Memory
    6 GB
    Graphics Card(s)
    ATI Mobility Radeon HD 5850 Graphics
    Sound Card
    Beats sound system with integrated subwoofer
    Monitor(s) Displays
    17" laptop display, 22" LED and 32" Full HD TV through HDMI
    Screen Resolution
    1600*900 (1), 1920*1080 (2&3)
    Hard Drives
    Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
    External: 2TB for backups, 3TB USB3 network drive for media
    Cooling
    As Envy runs a bit warm, I have it on a Cooler Master pad
    Keyboard
    Logitech diNovo Media Desktop Laser (bluetooth)
    Mouse
    Logitech MX1000 Laser (Bluetooth)
    Internet Speed
    50 MB VDSL
    Browser
    Maxthon 3.5.2., IE11
    Antivirus
    Windows Defender 4.3.9431.0
    Other Info
    Windows in English, additional user accounts in Finnish, German and Swedish.

windstory

Member
Member
In English, it is like this.

There's an error in changing properties of virtual switch at making virtual ethernet switch
 

My Computer

System One

  • OS
    windows 8.1 pro wmc x64
    System Manufacturer/Model
    customise
    CPU
    i7-920
    Motherboard
    asus p6x58d
    Memory
    G Skill F3-12800CL9-2GBNQ 2G x 6
    Graphics Card(s)
    Nvidia Geforce 9600 GT
    Screen Resolution
    2560 x 1440

Kari

Old geek, new tricks
Team Member
VIP Member
Pro User
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:
    .
    2013-02-15_180506.png

  • 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:
.
2013-02-15_180607.png
.

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

Kari

 

My Computer

System One

  • OS
    Windows 8.1 Pro with Media Center
    Computer type
    Laptop
    System Manufacturer/Model
    HP ENVY 17-1150eg
    CPU
    1.6 GHz Intel Core i7-720QM Processor
    Memory
    6 GB
    Graphics Card(s)
    ATI Mobility Radeon HD 5850 Graphics
    Sound Card
    Beats sound system with integrated subwoofer
    Monitor(s) Displays
    17" laptop display, 22" LED and 32" Full HD TV through HDMI
    Screen Resolution
    1600*900 (1), 1920*1080 (2&3)
    Hard Drives
    Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
    External: 2TB for backups, 3TB USB3 network drive for media
    Cooling
    As Envy runs a bit warm, I have it on a Cooler Master pad
    Keyboard
    Logitech diNovo Media Desktop Laser (bluetooth)
    Mouse
    Logitech MX1000 Laser (Bluetooth)
    Internet Speed
    50 MB VDSL
    Browser
    Maxthon 3.5.2., IE11
    Antivirus
    Windows Defender 4.3.9431.0
    Other Info
    Windows in English, additional user accounts in Finnish, German and Swedish.

windstory

Member
Member
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:

20130216__2_hyperv_error.jpg
 

My Computer

System One

  • OS
    windows 8.1 pro wmc x64
    System Manufacturer/Model
    customise
    CPU
    i7-920
    Motherboard
    asus p6x58d
    Memory
    G Skill F3-12800CL9-2GBNQ 2G x 6
    Graphics Card(s)
    Nvidia Geforce 9600 GT
    Screen Resolution
    2560 x 1440

Kari

Old geek, new tricks
Team Member
VIP Member
Pro User
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: http://www.eightforums.com/tutorials/5536-user-account-add-new-user-windows-8-a.html

And here how to change Display Language: http://www.eightforums.com/tutorials/5853-display-language-change-windows-8-a.html

Kari
 

My Computer

System One

  • OS
    Windows 8.1 Pro with Media Center
    Computer type
    Laptop
    System Manufacturer/Model
    HP ENVY 17-1150eg
    CPU
    1.6 GHz Intel Core i7-720QM Processor
    Memory
    6 GB
    Graphics Card(s)
    ATI Mobility Radeon HD 5850 Graphics
    Sound Card
    Beats sound system with integrated subwoofer
    Monitor(s) Displays
    17" laptop display, 22" LED and 32" Full HD TV through HDMI
    Screen Resolution
    1600*900 (1), 1920*1080 (2&3)
    Hard Drives
    Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
    External: 2TB for backups, 3TB USB3 network drive for media
    Cooling
    As Envy runs a bit warm, I have it on a Cooler Master pad
    Keyboard
    Logitech diNovo Media Desktop Laser (bluetooth)
    Mouse
    Logitech MX1000 Laser (Bluetooth)
    Internet Speed
    50 MB VDSL
    Browser
    Maxthon 3.5.2., IE11
    Antivirus
    Windows Defender 4.3.9431.0
    Other Info
    Windows in English, additional user accounts in Finnish, German and Swedish.

windstory

Member
Member
I made an local account, and changed English locale, and open Hyper-V manager as Administrator, then Hyper-V manager shows Korean Mode.

lang.jpg

And the error messages also shows in English.
 

My Computer

System One

  • OS
    windows 8.1 pro wmc x64
    System Manufacturer/Model
    customise
    CPU
    i7-920
    Motherboard
    asus p6x58d
    Memory
    G Skill F3-12800CL9-2GBNQ 2G x 6
    Graphics Card(s)
    Nvidia Geforce 9600 GT
    Screen Resolution
    2560 x 1440

windstory

Member
Member
I added local account and changed in English, but I should open Hyper-v Manager as Administrator and hyper-v manager shows in Korean and the error message also. So I chnanged Administrator's account in English mode, and got this message.

PS C:\Users\Administrator> Get-NetAdapter

Name InterfaceDescription ifIndex Status MacAddress LinkSpeed
---- -------------------- ------- ------ ---------- ---------
Bluetooth 네트워크 연결 Bluetooth 장치(개인 영역 네트워크) 660 Disconnected 00-19-86-00-2D-CE 3 Mbps
Ethernet_3 Marvell Yukon 88E8056 PCI-E Gigabit ... 673 Up E0-CB-4E-92-77-21 100 Mbps
VirtualBox Host-Only N... VirtualBox Host-Only Ethernet Adapter 672 Up 08-00-27-00-2C-D2 100 Mbps
Ethernet 2_Disabled Marvell Yukon 88E8056 PCI-E Gigabit ... 668 Not Present E0-CB-4E-92-7D-B1 0 bps


PS C:\Users\Administrator> New-VMSwitch -Name “NewSwitch” -NetAdapterName “Ethernet_3” -AllowManagementOS $True and
press Enter
New-VMSwitch : A positional parameter cannot be found that accepts argument 'and'.
At line:1 char:1
+ New-VMSwitch -Name “NewSwitch” -NetAdapterName “Ethernet_3” -AllowManagementOS $ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: :)) [New-VMSwitch], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.HyperV.PowerShell.Commands.NewVMSwitchCommand


20130216__1_vs1.jpg
 

My Computer

System One

  • OS
    windows 8.1 pro wmc x64
    System Manufacturer/Model
    customise
    CPU
    i7-920
    Motherboard
    asus p6x58d
    Memory
    G Skill F3-12800CL9-2GBNQ 2G x 6
    Graphics Card(s)
    Nvidia Geforce 9600 GT
    Screen Resolution
    2560 x 1440

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top