Hyper-V Switch Registry Keys in Regedit
This article outlines the exact Windows Registry
(regedit) paths where Hyper-V Virtual Switch (vSwitch)
network components, adapter bindings, and driver settings are defined
and stored in Windows.
1. Hyper-V Virtual Switch Core Service and Parameters
The core configuration, port assignments, and runtime parameters for
Hyper-V Virtual Switches are stored under the vmswitch
service path:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vmswitch
Key subkeys within this path include: * Parameters: Contains global configuration data for installed virtual switches. * Parameters: Contains GUIDs for physical and virtual network adapters linked to virtual switches. Parameters*: Defines individual virtual switch ports and their connected virtual or host network interfaces.
2. Network Adapter Class Definitions (Virtual Network Adapters)
When a Hyper-V Virtual Switch or a host vNIC is created, it registers a device instance under the standard network adapter class:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}
Inside this path, individual subkeys (e.g., 0001,
0002, etc.) contain specific properties: *
DriverDesc: Displays names such as
Hyper-V Virtual Ethernet Adapter. *
ComponentId: Set to vms_mp (Hyper-V
Virtual Switch Miniport). * NetCfgInstanceId: Stores
the specific adapter GUID matching the virtual switch configuration.
3. Network Service and Filter Driver Bindings
The Hyper-V Extensible Switch protocol and filter driver registrations reside under the NetService class key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e974-e325-11ce-bfc1-08002be10318}
Under this class, locate the entry where: *
ComponentId is vms_pp (Hyper-V Extensible
Virtual Switch Protocol).
Related driver services managing these bindings can also be found
directly at: *
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vms_pp
(Extensible Switch Protocol) *
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vms_mp
(Extensible Switch Miniport)
4. TCP/IP Interface Assignments
To view the network and IP configurations tied to host-accessible Hyper-V Virtual Switch interfaces, navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{Adapter-GUID}
Match the {Adapter-GUID} with the
NetCfgInstanceId found in the Network Adapter Class key to
view specific IP assignments, DNS servers, and routing data configured
for the switch.