[Solved] “The Machine-Default Permission Settings Do Not Grant Local Activation Permission For The COM Server…”

If you come across the entry “The machine-default permission settings do not grant Local Activation permission for the COM server…” in Event Viewer, lack of permission is usually the cause. In most of the cases, editing Windows Registry is the best solution but you could also create a custom filter and disable DCOM. Continue reading to learn what must be done to dismiss the Event Viewer entry for good. 

Cause

Overall, if Event Viewer on your PC logs Event 10016: “The machine-default permission settings do not grant Local Activation permission for the COM server…”, Microsoft components must have tried to access DCOM components without permissions. For your information, it’s not uncommon for Windows users to run into the entry after performing an OS upgrade. On occasions, there is no need to take action and Event 10016 could be ignored. That being said, if you find the entry to be an eyesore, a few fixes exist. 

 Solutions 

Note: As mentioned above, you could ignore the entry “The machine-default permission settings do not grant Local Activation permission for the COM server…” in Event Viewer if your computer still works as expected. Only proceed to the following solutions if Event 10016 disrupts the performance of your PC.

Solution 1: Edit Windows Registry

Generally speaking, by editing Windows Registry, Windows users could change many aspects of their computers and permission is not an exception. Since there is a good chance that a lack of permission is responsible for Event Viewer logging Event 10016, it’s wise to apply some changes via Registry Editor. 

  • Step 1: Go to Search bar, type Regedit and press Enter.
  • Step 2: As soon as Registry Editor opens, make a backup of the registry. To do so, click File, pick Export and save the backup in a location of your choice. In case you mess up while editing Windows Registry, the backup should help you recover your computer. 
  • Step 3: Navigate to the directory HKEY_Classes_Root\CLSID\{X}. You should be able to determine {X} by looking at the Event Viewer entry again. 
  • Step 4: Right-click the node then pick Permissions
  • Step 5: Choose Advance, change owner to Administrators group and select the checkbox Replace owner on sub containers and objects below the owner line.
  • Step 6: Hit Apply to grant Administrators group complete control.
  • Step 7: Navigate to the directory HKEY_LocalMachine\Software\Classes\AppID\{X}. You should be able to determine {X} by looking at the Event Viewer entry again. 
  • Step 8: Right-click the node then pick Permissions
  • Step 9: Choose Advance, change owner to Administrators group and select the checkbox Replace owner on sub containers and objects below the owner line.
  • Step 10: Hit Apply to grant Administrators group complete control.
  • Step 11: Save changes then close Registry Editor.
  • Step 12: Go to Search bar, type Administrative tools and press Enter. 
  • Step 13: Open Component Services.
  • Step 14: Go to Computers > My Computer > DCOM Config. Next, locate the corresponding service, right-click it and pick Properties. Proceed to go to Security tab, select Add User, add Local Service and choose Apply button. 
  • Step 15: Restart your computer.

Solution 2: Create A Custom Filter 

There is nothing out of the ordinary on your PC but you hate seeing Event 10016 in Event Viewer? Then it’s fine to create a custom filter. 

  • Step 1: Go to Search bar, type Event Viewer and press Enter. 
  • Step 2: Click Windows Logs to the left then pick Application from the list.
  • Step 3: Hit Create Custom View under Actions
  • Step 4: Check the error box under the Filter tab and leave everything else alone. 
  • Step 5: Click on the XML tab and manually check the Edit query at the bottom of the window. Afterward, proceed to copy and paste the customized XML query from here. Last but not least, restart your computer. 

Solution 3: Disable DCOM

In the case that you have no need for DCOM, feel free to disable it. To disable DCOM, go through these steps:

  • Step 1: Go to Search bar, type Administrative tools and press Enter. 
  • Step 2: Open Component Services 
  • Step 3: Go to Component Services > Computers > My Computer, right-click it and pick Properties
  • Step 4: Go to Default Properties tab then uncheck the Enable Distribute COM on this computer checkbox.
  • Step 5: Restart your computer

FAQs

What exactly is DCOM?

In case you don’t know, DCOM stands for Distributed Component Object Model and it is a COM extension that allows for communication between software components distributed across a network. DCOM is used for quite a few purposes such as remote administration, monitoring, data transfer and so on. Today, DCOM is usually a key component of Microsoft’s component-based programming model and through it, software components could be reused, shared, etc.

Is DCOM a middleware?

DCOM can be classified as middleware because it provides a communication layer between software components. However, DCOM does not provide extra services on top of communication so it is not a full-fledged middleware.

Leave a Comment