- You start a Windows 8 client. It connects automatically to a WLAN.
- You establish a Virtual Private Network (VPN) connection on the Windows 8 client.
- About 20 seconds after the VPN tunnel is established successfully, the WLAN connection is disconnected.
To check this, open registry editor, and then browse to this key:
"*IfType"=dword:00000006 ==> IF_TYPE_ETHERNET_CSMACD
Note: xxxx corresponds to the number below that you can find the name of your VPN Adapter. If the value for IfType equals to 6, the Adapter is considered an Ethernet Adapter.
Starting with Windows 8, the WCMSVC (Windows Connection Manager) disconnects the WLAN connection because an Ethernet Adapter is seen as more reliable and provides better performance compared to a WLAN connection. These items are taken into account during the decision:
- Adapter type , Ethernet, wireless, virtual
- Does an adapter hold the default gateway and default route?
- Does Network Connectivity Status Indicator (NCSI) probed that the adapter is successfully connected to the Internet?
- Is the clients domain reachable on the adapter?
- Open Local Group Policy Editor, and then go to Computer Configuration\Administrative Templates\Network\Windows Connection Manager
- Change the Setting of Minimize the number of simultaneous connections to the Internet or a Windows Domain to "disabled"
NOTE: Changing this setting may have some side effects on the functionality of the VPN Adapter. Please contact the manufacturer of the VPN Client to get more information on that.
The values for different Adapter types can be found here:
Suitable values for VPN adapters are:
IF_TYPE_PROP_VIRTUAL 53 (0x35) Proprietary virtual/internal
IF_TYPE_TUNNEL 131 (0x83) Encapsulation interface