An error occurred when Hyper-V tried to retrieve the list of virtual switches (operation failure: general failure)

K_P__ 1 Reputation point
2022-07-15T05:34:55.727+00:00

During the process of reusing Hyper-V, I received such a prompt (the Hyper-V virtual machine was shut down at this time):
220996-image.png

I used virtual box before, but now it has been uninstalled

Attempted repair behavior:

  1. Download and open the troubleshooter that can solve the problem (id:20159), from cannot-create-hyper-v-virtual-switch, but this troubleshooter does not apply to this version of windows.
  2. Uninstalling the Microsoft network adapter multiplexer protocol failed with error code 0x80071779.
Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,570 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,397 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,426 Reputation points
    2022-07-15T10:59:52.543+00:00

    Hello

    Thank you for your question and reaching out. I can understand you are having issues related to Hyper-V

    Try re-installing the network adapter didn't help. However executing the below command in a PowerShell console should fixt it:

    New-VMSwitch VMSwitch -NetAdapterName Ethernet

    Alternatively , Try to uninstall the network adapter from the device manager, and install it again.

    In most cases, after that, Hyper-V can create the virtual switch.

    --------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept as answer--