Pages

Sunday, 7 June 2015

Windows 10 Update Causes Host Network and Hyper-V Network to Stop Working

Unable to Enable Network Device for both Host Network and Hyper-V Network After Windows 10 Update

Unable to Enable Hyper-V Network Device

Symptom:
1. After updating Windows 10 to the latest build, host machine looses connectivity to LAN.
2. Virtual machines in Hyper-V still has connectivity to LAN but host machine doesn't have have connectivity to LAN.
3. In Network Connections, Hyper-V network device is disabled and cannot be enabled.

Solution:
1. Perform this in elevated administrator rights.
2. Windows Key + F, enter "cmd".
3. Right click on CMD and run as Administrator.
4. Enter "devmgmt.msc" to open up Device Manager.
5. In Devie Manager, uninstall both physical NIC and virtual Hyper-V NIC.
6. Scan for hardware changes.
7. Physical NIC will be reinstalled automatically.
8. Open up Power Shell in elevated administrator rights.
9. Windows Key + F, enter "powershell", right click run as Administrator.
10. Enter "Get-NetAdapter" in PowerShell to list physical NIC.
11. Create a new Hyper-V virtual network device.
12. Enter New-VMSwitch "vSwitch" -NetAdapterName "Ethernet" -AllowManagementOS $True
* vSwitch = desired name for your Hyper-V virtual switch and Ethernet = name of your physical adapter.
13. Enter "Get-NetAdapter" again to view newly created virtual adapter.
14. Go back to Hyper-V Manager.
15. Open Virtual Switch Manager to verify the newly created virtual switch is in External Network > Physical NIC mode.
16. Check virtual machine settings to verify they are mapped to the newly created virtual switch.
17. Verify virtual machine is able to access LAN.

Uninstall physical NIC, Hyper-V NIC, and scan for hardware changes

PowerShell commands

Hyper-V Manager

Virtual Switch Manager

No comments:

Post a Comment