none
Seeking to fix this error: "Failed while adding virtual Ethernet switch connections." RRS feed

  • Question

  • I am getting the error below when trying ot make modifications to my Hyper-V.

    I am trying to add a new Virtual Adaptor.

    Hoping someone may have a suggestion on how to fix this.

    Error:

    New-VMSwitch : Failed while adding virtual Ethernet switch connections.
    Failed to connect Ethernet switch port (switch name = 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX', port name =
    'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX', adapter GUID = '{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}'): The system cannot
    find the file specified. (0x80070002).
    The operation failed because the file was not found.
    At line:1 char:1
    + New-VMSwitch -Name "LAN1" -NetAdapterName "Ethernet" -AllowManagementOS $True
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (Microsoft.HyperV.PowerShell.VMTask:VMTask) [New-VMSwitch], Virtualizati
       onOperationFailedException
        + FullyQualifiedErrorId : ObjectNotFound,Microsoft.HyperV.PowerShell.Commands.NewVMSwitchCommand
    Monday, April 20, 2015 7:33 AM

All replies