大网数据广告活动
启动与系统组件

Wi-Fi connection settings are lost

· 52CE 我爱测

This article provides a workaround for the issue that occurs when you configure the Wi-Fi connection settings in the Network Connections item in Control Panel on a Windows Embedded Compact 7 device.

This article helps you work around the problem that occurs when you configure the Wi-Fi connection settings in the Network Connections item in Control Panel on a Windows Embedded Compact 7 device.

Original product version:   Windows Embedded Compact 7
Original KB number:   4476975

Symptoms

After you configure the Wi-Fi connection settings in the Network Connections item in Control Panel on a Windows Embedded Compact 7 device, the settings are lost when the device restarts. This problem occurs during either a warm reboot or a cold reboot. For example, this problem occurs when you configure following settings:

Name (SSID): TEST-WPA2-Enterprise
Network type: Access point
Security type: WPA2 Enterprise
Encryption type: AES
EAP type: PEAP
Authentication method: Username and Password

Validate server: Cleared

Domain\Username: wpa2user

Password: 123456#

Cause

This problem occurs because of an issue in the Connection Manager service (CmService.dll) of Windows Embedded Compact 7. When the data length of a Wi-Fi profile that is encrypted by CmService.dll becomes a specific size (multiples of 4,096 bytes), the data is not saved correctly to the device's registry. Therefore, the Wi-Fi profile is lost after the device restarts.

For example, the following registry value of the profile will be lost:

[HKLM\Comm\ConnMgr\Settings\Connection\Wi-Fi Profile Name] "Size"=dword:1000 ; 4096 bytes

Workaround

To avoid this problem, change the character length of the SSID. In the example in the Symptoms section, you can change the SSID to My-WPA2-Enterprise.

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
适用范围
See source applicability · Source date 08/27/2020
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

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

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