kunal-chowdhury.com

Event ID 10016: The machine-default permission settings do not grant Local Activation permission for the COM Server


While working in Windows, you may face the following error that says "Event ID 10016: The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID ... from address LocalHost (Using LRPC) running in the application container".

 

This could occur due to the security permission set to the Component Services of the COM Server that uses the specified CLSID and/or APPID.

 

Event ID 10016: The machine-default permission settings do not grant Local Activation permission for the COM Server

 

If you face the following error with Event ID: 10016, you will have to set the security permission using the Component Services administrative tool for the COM Server application with the specified CLSID and/or APPID:

The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID {C2F6BB30-D62E-3D44-92E0-C4CE60005442} and APPID {2C256447-3F0D-4CBB-9D12-575BB20CDA0A} ... from address LocalHost (Using LRPC) running in the application container Unavailable SID (Unavailable). This security permission can be modified using the Component Services administrative tool.

How to do it...

To resolve this issue, first restart the system and check if that auto resolves. If it's still occuring after system restart, follow the steps mentioned below to solve the problem with the COM server application:

 

  • Open Registry Editor (regedit) with administrative privileges.
  • Navigate to the registry path HKEY_Classes_Root\CLSID\[GUID], where [GUID] is the CLSID mentioned in the error log.
  • Right-click on the node and select Permissions... from the context menu item.
  • Click the Advance button and then change the owner to Administrators group.
  • Click the checkbox Replace owner on subcontainers and objects which is present below the owner line.
  • Click Apply and grant full permission to the administrators.
  • Similarly, now navigate to the registry path HKEY_LocalMachine\Software\Classes\AppID\[GUID], where [GUID] is the APPID mentioned in the error log.
  • Right-click on the node and select Permissions... from the context menu item.
  • Click the Advance button and then change the owner to Administrators group.
  • Click the checkbox Replace owner on subcontainers and objects which is present below the owner line.
  • Click Apply and grant full permission to the administrators.
  • Now close the Registry Editor.
  • Open Component Service by navigating to Start | Administrative Tools | Component Services.
  • Expand the node Component Services | Computers | My Computer | DCOM Config.
  • Right-click on the sub node having the specified [GUID] and select Properties.
  • Click the Security tab then click Add User. Add Local Service and then hit the Apply button and provide full permissions to the user.

 

 


Kunal Chowdhury
If you have come this far, it means that you liked what you are reading (Event ID 10016: The machine-default permission settings do not grant Local Activation permission for the COM Server).

Why not reach little more and connect with me directly on Twitter, Facebook, Google+ and LinkedIn. I would love to hear your thoughts and opinions.

Authored Books: