大网数据广告活动
网络与域名解析

Windows Connection Manager disconnects WLAN

· 52CE 我爱测

This article describes an issue in which the WLAN is disconnected if a VPN connection is established.

This article provides a resolution for the issue that Windows Connection Manager disconnects WLAN if a VPN connection is established.

Applies to:   Windows 8 Pro
Original KB number:   2919900

Symptom

Consider the following scenario:

  • 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.

Cause

This issue occurs because the VPN Adapter is registered as an Ethernet adapter.

To check this, open registry editor, and then browse to this key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}\xxxx

"*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) probe that the adapter is successfully connected to the Internet?
  • Is the client's domain reachable on the adapter?

Resolution

Configure the Windows Connection Manager GPO to "Disabled" by using Group Policy or locally.

  1. Open Local Group Policy Editor, and then go to Computer Configuration\Administrative Templates\Network\Windows Connection Manager
  2. Change the Setting of Minimize the number of simultaneous connections to the Internet or a Windows Domain to "disabled"

More information

Alternatively you could change the IfType of the VPN interface to a value different from Ethernet.

Note: Changing this setting may have some side effects on the functionality of the VPN Adapter. Contact the manufacturer of the VPN Client to get more information.

The values for different Adapter types can be found here:
https://msdn.microsoft.com/library/aa814491(VS.85).aspx
https://msdn.microsoft.com/library/windows/hardware/ff565767(v=vs.85).aspx

Suitable values for VPN adapters are:

IF_TYPE_PROP_VIRTUAL 53 (0x35) Proprietary virtual/internal

IF_TYPE_TUNNEL 131 (0x83) Encapsulation interface

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Client · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。