“Generic failure” when creating virtual switch in Hyper-V Manager

You have installed Hyper-V from Windows Features but when you open Hyper-V Manager and try to create a Virtual Switch, you get the following error:

The operation on computer ‘DESKTOP-V1A0142’ failed: Generic failure

hyper-v-generic-failure

To solve this issue:

First thing to check is that the Hyper-V Extensible Virtual Switch is enabled in your NIC’s Properties:

hyper-v-generic-failure1

If it’s missing then click the Install button and add it (located under Protocol):

hyper-v-generic-failure2

Don’t forget to reboot!

 

Thanks for reading! You can follow me on Twitter @PrigentNico

About Nicolas 270 Articles
I work as an IT Production Manager, based in Paris (France) with a primary focus on Microsoft technologies. I have 10 years experience in administering Windows Servers. . I am a Microsoft MVP for Cloud & Datacenter Management. I also received the PowerShell Hero 2016 award by PowerShell.0rg. And finally, I am "MCSE: Cloud Platform and Infrastructure", "MCSA: Windows Servers", "Administering & Deploying SCCM", and CheckPoint CCSA certified.