Microsoft’s Hyper-V mainly offers hardware virtualization. Therefore, each and every virtual machine can easily run on virtual hardware on the Windows 10 platform. It basically allows you to add and run multiple operating systems as virtual machines on Windows. Coming to the depth, it lets you create virtual switches, virtual hard drivers, and other virtual devices that can be included in the virtual machine. However, some of the affected users can face Hyper-V error when creating a virtual switch – Generic Failure. If you’re also one of them, check the troubleshooting guide below.
According to some of the affected users, whenever they trying to open a virtual switch manager, it literally says that “An error occurred while trying to retrieve a list of virtual switches. The operation on computer ‘DESKTOP-V1A0142’ failed: Generic failure.” So, if in case, anything goes wrong with your virtual switch creation, then you can always check this full-depth guide below.
Also Read
Fix: Hyper-V error when creating virtual switch – Generic Failure
Here we’ve provided some of the possible workarounds below that you should try on your PC.
1. Use PowerShell Method
- Click on the Start menu on your Windows > Type PowerShell > Right-click on it from the search result > Select Run as administrator mode.
- Type the following command and hit Enter in order to create a new external virtual switch.
New-VMSwitch -name ExternalSwitch -NetAdapterName Ethernet -AllowManagementOS $true
Note: Replace name with the network adapter for Hyper-V Manager. NetAdapterName will replace the name of the command. AllowManagementOS is $true for both the host and VM that have an internet connection.
- Now, open Virtual Switch Manager in Hyper-V Manager.