“Generic failure” when creating virtual switch in Hyper-V Manager
I have installed Hyper-V from Windows Features but when i open Hyper-V Manager and try to create a Virtual Switch i get this error (NONAME is the computer name):
I read over the internet for solution but I don't find anything that solve my problem. I have checked at the Ethernet properties option "Hyper-V Extensible Virtual Switch" but error still show up. Also I tried to uninstall and install again the Hyper-V Manager but also nothing happened.I have Windows 10 Pro and is clean installation. Any ideas what to do?
33 Answers
In ran into the same symptoms after a Windows 10 update, and re-installing the network adapter didn't help. However executing the following command in a PowerShell console fixed it:
New-VMSwitch VMSwitch -NetAdapterName Ethernet
This seemed to repair the network switch configuration so after this the Virtual Switch Manager started successfully and I was able to use it to remove and create virtual switches at will.
1Try 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.
I was unable to open the Virtual Switch Manager and use Docker. Solved it by:
- Turn Windows features on or off > uncheck Containers and Hyper-V
- Reboot
- Turn Windows features on or off > check Containers and Hyper-V
- Reboot
Hyper-V Manager's Virtual Switch Manager and Docker then worked correctly.