Friday, August 25, 2017

How to disconnect from vSwitch after the hyper-v feature have been uninstalled - Windows 10

Problem: The vSwitch still exist and the physical interface still connect to the vSwitch after the hyper-v feature have been removed on Windows 10 16273


Workaround: (Please run ipconfig /all >> C:\temp\IP.txt to backup the network config like IP address first)

1. Start by using the Get-NetAdapterBinding cmdlet to display the bindings for the specified interface:

PS C:\> Get-NetAdapterBinding -InterfaceAlias "Ethernet"

Remark: The "Ethernet" is the display name of the physical network connection (You can check it under "Control Panel" > "Network and Internet" > "Network Connections")


2.  PS C:\> Disable-NetAdapterBinding -Name "Ethernet" -ComponentID vms_pp


3. Reboot the machine


Reference:

http://www.windowsnetworking.com/kbase/WindowsTips/WindowsServer2012/AdminTips/Network/using-powershell-disable-network-adapter-bindings.html

Print Friendly and PDF
Share/Bookmark

No comments:

Post a Comment