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

An Unexpected Error Occurred When You Open the Properties of a Network Connection

· 52CE 我爱测

Provides a workaround to an issue in which an unexpected error occurred when you open the properties of a network connection.

Symptoms

When you open the properties of a network connection in the Network Connections folder, you may receive the following error message:

An unexpected error occurred.

Cause

This problem may occur if some registry settings are damaged. The damaged registry settings may prevent you from viewing the properties of the network connection in the Network Connections folder.

Workaround

To work around this problem, reregister the Netshell.dll file. To do so, follow these steps:

  1. Select Start > Run.
  2. In the Open box, type regsvr32 %systemroot%\system32\netshell.dll, and then select OK.
  3. In the RegSvr32 dialog box, select OK.

Test to see if you can open the properties of the network connection in the Network Connections folder.

If the issue is resolved, you don't have to follow the remaining steps in this article. If the issue persists, and you receive the error message that is mentioned in the "Symptoms" section of this article, follow these steps:

  1. Select Start > Run.
  2. In the Open box, type regsvr32 %systemroot%\system32\ole32.dll, and then select OK.
  3. In the RegSvr32 dialog box, select OK.
  4. Restart the computer.

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

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

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