Indexof

Lite v2.0Super User › How to Stop Hyper-V Virtual Switch from Changing Connection Types › Last update: About

How to Stop Hyper-V Virtual Switch from Changing Connection Types

How to Avoid Hyper-V Virtual Switch Connection Type Changes

A common frustration in Hyper-V management is finding that an External Virtual Switch has spontaneously reverted to an Internal or Private connection. This usually happens when the underlying physical network adapter (NIC) becomes temporarily unavailable—such as during a reboot, a driver update, or when a laptop is disconnected from a docking station.

1. The Root Cause: Hardware Availability

Hyper-V binds an External Switch to a specific physical hardware ID (MAC address). If the Hyper-V Virtual Machine Management Service (VMMS) starts before the physical NIC is fully initialized, it fails the binding and defaults the switch to "Internal" to prevent the VM from crashing. This is particularly common with USB-C and Thunderbolt Ethernet adapters.

2. Solution: Use PowerShell for Rigid Binding

The GUI Virtual Switch Manager is prone to "helpful" auto-corrections. Using PowerShell allows you to explicitly define the binding. If the hardware is missing, the switch will simply stay "Error" rather than reconfiguring itself to Internal.

Run the following command in an Administrator PowerShell to re-bind your switch correctly:

Set-VMSwitch -Name "YourSwitchName" -NetAdapterName "Ethernet" -SwitchType External

Note: Replace "Ethernet" with the exact name found in Get-NetAdapter.

3. Fix for Laptops and Docking Stations

If you regularly switch between Wi-Fi and a Docking Station, the Virtual Switch Manager will likely "break" every time you unplug. To avoid this:

  • Don't bind to the Dock: Instead of binding the vSwitch to the dock's Ethernet, create an Internal Switch and use Windows Internet Connection Sharing (ICS) to bridge it.
  • Disable "Allow management OS to share": In Virtual Switch Manager, unchecking this box for a dedicated NIC prevents the Host OS from fighting the VM for control of the hardware, which leads to fewer resets.

4. Disable the "Microsoft Azure VFP Switch Filter Extension"

In modern Windows 10 and 11 builds (specifically post-22H2), a common "point of failure" for vSwitch stability is the Azure VFP Extension. This extension is known to cause the switch to reset its properties during Windows Updates.

  1. Open Virtual Switch Manager.
  2. Expand your switch and select Extensions.
  3. Uncheck Microsoft Azure VFP Switch Filter Extension.
  4. Click Apply and restart the host.

5. Troubleshooting Connection Reversals

Symptom Probable Cause Fix
Reverts after Reboot Slow NIC Initialization Set "Hyper-V Virtual Machine Management" service to Automatic (Delayed Start).
Reverts when Unplugged Removable Hardware Use an Internal Switch + NAT/Bridge instead of direct External binding.
"Error Applying Changes" Driver Conflict Run netcfg -d in CMD to reset the entire network stack.

Conclusion

To keep your Hyper-V Virtual Switch from changing connection types, you must ensure the underlying hardware is persistent. If you are on a mobile workstation, the most stable path is using a PowerShell-defined External switch or moving to an Internal/NAT configuration to decouple your VMs from the volatility of physical plug-and-play events.


Keywords: Hyper-V Virtual Switch Manager, External switch reverts to internal, Hyper-V network reset, vSwitch connection type change, Hyper-V docking station networking, Set-VMSwitch PowerShell, Windows 10 Virtual Switch fix, Azure VFP Switch Filter Extension.

Profile: Fix Hyper-V Virtual Switch Manager resetting from External to Internal. Learn to stabilize network adapter binding, fix docking station disconnects, and use PowerShell for persistent vSwitch settings. - Indexof

About

Fix Hyper-V Virtual Switch Manager resetting from External to Internal. Learn to stabilize network adapter binding, fix docking station disconnects, and use PowerShell for persistent vSwitch settings. #super-user #stophypervvirtualswitchfromchanging


Edited by: Riya Singhal, William Jensen & Kelvin Sit

Loading special offers...

Suggestion