DCOMCNFG programmatically manipulates DCOM server permissions (206484)



The information in this article applies to:

  • Microsoft COM, when used with:
    • Microsoft Windows 2000 Server
    • Microsoft Windows 2000 Professional
    • Microsoft Windows 2000 Advanced Server
    • Microsoft Windows 2000 Datacenter Server
    • Microsoft Windows NT 4.0

This article was previously published under Q206484

SUMMARY

You can use the DCOMCNFG utility to programmatically make Distributed Component Object Model (DCOM) security settings (such as the access and launch permissions for a COM server) set and retrieve the RunAs setting for a COM server, and so on.

The DCOMPERM sample at the following Microsoft Developer Network (MSDN) Web site shows how to modify DCOM permissions:

MORE INFORMATION

The Application Programming Interfaces (APIs) that are used in the DCOMPERM sample require Microsoft Windows NT or Microsoft Windows 2000; as a result, the DCOMPERM sample does not run on a Microsoft Windows 9x platform.

Modification Type:MajorLast Reviewed:9/12/2005
Keywords:kbDCOM kbfile kbinfo kbSecurity KB206484 kbAudDeveloper