This article has been archived. It is offered "as is" and will no longer be updated.
Clients get an Access Denied error although the access is granted to the client using DCOMCNFG.
When access permissions for a DCOM server are configured using DCOMCNFG, the .exe name should be mapped to an AppID under HKEY_CLASSES_ROOT\APPID; however, it does not do this in Windows NT 4.0 Service Pack 4 (SP4).
Windows NT Server or Workstation 4.0
To resolve this problem, obtain the latest service pack for Windows NT 4.0 or the individual software update. For information on obtaining the latest service pack, please go to:
152734 how to obtain the latest windows nt 4.0 service pack
For information on obtaining the individual software update, contact Microsoft Product Support Services. For a complete list of Microsoft Product Support Services phone numbers and information on support costs, please go to the following address on the World Wide Web:
To resolve this problem, obtain the latest service pack for Windows NT Server 4.0, Terminal Server Edition. For additional information, click the following article number to view the article in theMicrosoft Knowledge Base:
152734 How to Obtain the Latest Windows NT 4.0 Service Pack
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows NT Server version 4.0, Terminal Server Edition Service Pack 6.
AccessPermissions work as follows:
If the server calls CoInitializeSecurity, the ACL comes from the API.
If the server does not call CoInitializeSecurity, then if there is an AccessPermissions key under the server's AppID GUID, the ACL comes from this. There must be a mapping of the .exe name to the AppID in the registry. For example:
This is how COM maps the AppID from the server process's module name.
If there is no AccessPermissions key under server's AppID, then if there is a DefaultAccessPermission key underHKLM\Software\Microsoft\Ole, the ACL comes from here.
If there is no DefaultAccessPermission key under HKLM\Software\Microsoft\Ole, the server principal and SYSTEM are allowed to call the server; that is, if the server is running as a_domain\a_user, aclient running as a_domain\a_user can call it.