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.
Windows for business | Windows Client for IT Pros | Storage high availability | Virtualization and Hyper-V
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. N Ptr 10 Reputation points
    2024-10-22T09:33:56.1433333+00:00

    It's a bit late but in case anyone else ends here.

    This could be something related to this: https://github.com/microsoft/WSL/issues/9888

    To fix it:

    • Run the PS1 script -> https://github.com/microsoft/WSL/issues/9888#issuecomment-1607589141
    • In "add windows features" uncheck: hyper-v , virtual machine platform, windows hypervisor platform, windows subsystem for linux
    • reboot
    • In "add windows features" check: hyper-v , virtual machine platform, windows hypervisor platform, windows subsystem for linux
    • reboot
    2 people found this answer helpful.

  2. Limitless Technology 40,081 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--


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.