大网数据广告活动
Windows 系统接口

Enabling COM Security Using DCOMCNFG

· 52CE 我爱测

Dcomcnfg.exe provides a user interface for modifying certain settings in the registry.

Dcomcnfg.exe provides a user interface for modifying certain settings in the registry. By using Dcomcnfg.exe, you can enable security either on a computer-wide or a process-wide basis. You can enable security for a particular computer so that when a process does not provide its own security settings, either programmatically or through registry values, the values set by Dcomcnfg.exe will be used. Or you can use Dcomcnfg.exe to enable security for a particular application only.

When enabling security, there are two primary tasks to accomplish:

  • Set an authentication level that is not None.
  • Set permissions, including both launch and access permissions.

The steps taken to accomplish these tasks depend on whether you are enabling security for the whole computer or just for a particular application. Also, you may want to set other values for the computer or application.

Note:
You must be an administrator to run Dcomcnfg.exe.

The following topics provide step-by-step procedures on how to set security with Dcomcnfg.exe:

Related topics

Security in COM

Turning Off Security

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

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

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