Skip to content

Lost network to Hyper-V 2016 after changing virtual switch settings

In Hyper-V Virtual Switch Manager i had unticked “Allow management operating system to share this network adapter” and also enabled VLAN identification.
After applying this i lost all network connectivity to the host Hyper-V Server.

I had to access it through the console and run PS cmdlet:
Get-VMSwitch
Remove-VMSwitch “Name of Switch”
1 of them was in use so i had to stop running VMs:
Get-VM
then Get-VM | Stop-VM

I also had to plug in USB and run nvspbind script which allowed me to clear the settings of Ethernet and Ethernet 2 adapters.
The scripts and process can be found in the below links.
This has now restored connectivity to the Hyper-V Core Server.

Refs:
https://serverfault.com/questions/223989/how-can-i-delete-virtual-networks-from-command-line

Troubleshooting the Hyper-V Virtual Switch – Part 2


https://blogs.technet.microsoft.com/jhoward/2010/01/25/announcing-nvspbind
https://gallery.technet.microsoft.com/Hyper-V-Network-VSP-Bind-cf937850

0 0 votes
Article Rating
Share this Post
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x