Cannot create virtual switch Hyper-V (0x80070002)
I get following error while creating any type(external, internal and private) of virtual switch on Hyper-V using Hyper-V manager.
Failed to create virtual ethernet switch.
The system cannot find the file specified. (0x80070002)
Here is a to screenshot of error:
OS: Windows 8.1 (x64) + Update 1
Getting the same error when trying to create from Powershell.
Solution 1:
Go to Settings -> Network & Internet
Select Change adapter options
Right click on NIC Adapter -> Properties
-
Check if the Hyper-V Extensible Virtual Switch is installed in your NIC's Properties
- If it is installed, uninstall it.
-
Reinstall the Hyper-V Extensible Virtual Switch
5.1 Select Install
5.2 Select Protocol
5.3 Select Hyper-V Extensible Virtual Switch
Create the virtual switch on Hyper-V using the Hyper-V manager
Source: https://www.tenforums.com/virtualization/10699-hyper-v-error-when-creating-virtual-switch.html#post306179