I'm having trouble creating a virtual switch for a virtual machine I have in hyper-v. I had a virtual ethernet switch set up and connected to the machine before, after deleting this at some point, I now cannot create one again.
Within hyper-v the error is:
After researching the problem, this appears to be related to the 'Hyper-V Virtual Extensible Switch' item not being checked in the ethernet adapters properties.
Trying to enable this in the GUI isn't possible, as after checking the item then clicking on OK the message is "Your current selection will also disable the following features: Hyper-V Extensible Virtual Switch", like here: https://www.tenforums.com/virtualization/31369-cant-enable-hyper-v-extensible-virtual-switch-networking.html
Within powershell when trying to enable this the error is
PS C:\Windows\System32\WindowsPowerShell\v1.0> Set-VMSwitch Internet -NetAdapterName "Ethernet"
Set-VMSwitch : Hyper-V was unable to find a virtual switch with name "Internet". At line:1 char:1Set-VMSwitch Internet -NetAdapterName "Ethernet" + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (:) [Set-VMSwitch], VirtualizationException + FullyQualifiedErrorId : ObjectNotFound,Microsoft.HyperV.PowerShell.Commands.SetVMSwitch
Using the following command with a microsft uitilty called nvspbind:
nvspbind.exe" /b "Realtek PCIe GbE Family Controller"
the result is:
applying changes... cleaning up...releasing write lock...success finished (0)
But inspection afterwards using the properties GUI, powershell and nsvpbind reveals that the virtual switch is in not binded (all list as not binded).
Any ideas?
Specs: Windows 10 64 bit.