Windows 8 and 8.1 Forums


Hyper-v cannot add any network switches

  1. #1


    Posts : 5
    Win 8 Enterprise

    Hyper-v cannot add any network switches


    I just upgraded from from Win 7 to Win 8 enterprise and have installed hyper-v. I am now unable to add any network switches (external, internal or private). I have uninstalled hyper-v and my nics multiple times. I have also tried to adding a switch using the powershell command New-VMSwitch.

    All the errors come down to a file not found error but here is the one from powershell:

    New-VMSwitch : Failed while creating virtual Ethernet switch.
    Switch create failed, name = '21B8292F-A4FD-4FFF-93A9-76602E2DE9EE', friendly name = '': The system cannot find the file specified. (0x80070002).
    The operation failed because the file was not found.
    At line:1 char:1
    + New-VMSwitch "Wireless NIC" –NetAdapterName "Wi-Fi" –MinimumBandwidthMode Weight
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (Microsoft.HyperV.PowerShell.VMTask:VMTask) [New-VMSwitch], Virtualizati
    onOperationFailedException
    + FullyQualifiedErrorId : ObjectNotFound,Microsoft.HyperV.PowerShell.Commands.NewVMSwitchCommand

    Any thoughts would be appreciated.

      My System SpecsSystem Spec

  2. #2


    Redmond
    Posts : 651
    Windows 8.1 x64


    Does this work from the Hyper-V MMC UI itself? I'm curious if it only fails from powershell.
      My System SpecsSystem Spec

  3. #3


    Posts : 5
    Win 8 Enterprise


    Fails everywhere. I just showed the powershell message for the greatest detail.
      My System SpecsSystem Spec

  4. #4


    Posts : 354
    Windows Server 2012 Standard w/Hyper-V


    You're likely to have issues with Powershell if you aren't in the Hyper-V admins list. You can fix this with azman:

    Allowing non-Administrators to control Hyper-V - Ben Armstrong - Site Home - MSDN Blogs
      My System SpecsSystem Spec

  5. #5


    Posts : 5
    Win 8 Enterprise


    I am an admin on the laptop but I went ahead and added me to the Hyper-v admins group. Rebooted & retested with both the UI & powershell - no change
      My System SpecsSystem Spec

  6. #6


    Posts : 354
    Windows Server 2012 Standard w/Hyper-V


    Even though I'm admin on my laptop, I needed to add myself to the Hyper-V admin group before I could do anything in Powershell or with the Hyper-V Virtual Machine Connection. I figured it was worth a shot.

    What's the error message you get from the MMC?
      My System SpecsSystem Spec

  7. #7


    Posts : 5
    Win 8 Enterprise


    Click image for larger version
      My System SpecsSystem Spec

  8. #8


    Posts : 354
    Windows Server 2012 Standard w/Hyper-V
      My System SpecsSystem Spec

  9. #9


    Posts : 5
    Win 8 Enterprise


    I had tried this earlier today but I went ahead and tried again - no change
      My System SpecsSystem Spec

  10. #10


    Posts : 354
    Windows Server 2012 Standard w/Hyper-V


    I'm not really sure what to suggest, I'm sorry
      My System SpecsSystem Spec

Page 1 of 2 12 LastLast
Hyper-v cannot add any network switches
Related Threads
Hi, Does anyone succeed in installing Kali Linux Network connection on Hyper-V VM using external switches? I tried so but the connection icon keeps rolling endlessly until it fails. I have installed before Windows XP and it was quite easy. The problem may be that I'm not experienced with Linux...
Hello EightForums administrators and other members :D Today, I installed Linux Mint 13 to try some appliactions, programs and other good things. I downloaded it normally , followed guide from this forum and after installing it I don't have network connection. I tried with all type of network...
Question about Hyper-V Network in Network & Sharing
Hello and thank you for your time. I'm wondering if there is a way to force my host operating system to use a specific network card? Here is my story. I recently enabled Hyper-V on my Windows 8.1 desktop. When enabling Hyper-V it created a network switch. This switch is an external switch with...
I've been using Hyper-V since Win-8 launch day. I run a Windows 2008 SQL Server VM for app development support, as well as an XP Machine and a couple Linux machines for various testing purposes. This has all been working great until this weekend. The Win 8 machine lost its network connection,...
Defender switches off in System Security
I am finding lately that Defender is off and I have to start it manually. I thought Defender would remain switched on unless I switched it off. Any ideas?
OK so I always watch video and movies with my ASUS computer attached to my HDTV. I have never had a problem then one day the audio stopped switching to my tv automatically. I also use surround sound headphones sometimes which require a USB connection and the audio no longer switches to them...
The host is W8 Pro RTM. If attempt is made to access the guest XP(SP3) from the host, "The user name or password is incorrect" is returned. If I try to access the XP from another PC on the network the user ID in the dialog box is grayed. The grayed user ID shows xxxx\Guest, xxx being the computer...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook