-
Notifications
You must be signed in to change notification settings - Fork 301
Description
Expected behavior
Hide the tray icon of vEthernet (DockerNAT)
Actual behavior
The system tray always show vEthernet (DockerNAT) is Un-identified Network (Public Network)
Information
- System: Microsoft Windows 10 Professional 10.0.14393
- Docker: Docker 1.12.5
- A laptop with Wi-Fi
Steps to reproduce the behavior
Method 1
- Install Docker 1.12.5 (Hyper V version of Windows) or other version.
- Unplug all network interface, close Wi-Fi, etc.
- The tray icon of vEthernet (DockerNAT) will show, and is Un-identified Network.
Method 2
- Install Docker 1.12.5 (Hyper V version of Windows) or other version.
- Unplug all network interface, connect Wi-Fi.
- Uninstall Wi-Fi driver.
- Reboot and install Wi-Fi driver, connect Wi-Fi.
- The tray icon of vEthernet (DockerNAT) will always show, and is Un-identified Network. We can't see Wi-Fi status at all.
Thinking of how to fix
Add the key "*NdisDeviceType" with a DWORD value of 1 to vEthernet (DockerNAT)
adapter in registry.
-
Find Hyper-V Virtual Ethernet Adapter in
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}\* -
Check NETSETUPPKEY_Interface_IfAliasBase in NetSetupProperties ,
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}\????\NetSetupProperties, check ifNETSETUPPKEY_Interface_IfAliasBaseisvEthernet (DockerNAT). -
Add the key
"*NdisDeviceType"with aDWORDvalue of1to this Ethernet Adapter toHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}\????
I've tested it and success, please consider improve it.