This module is used to modify Launch and Activation Permissions and/or Access Permissions on DCOM objects.

Note:  Some objects such as {9CA88EE3-ACB7-47C8-AFC4-AB702511C276} (RuntimeBroker) do not grant Administrators configuration permission to change the DCOM permissions.  These objects are usually owned by TrustedInstaller or SYSTEM.  The cmdlets in this module will work around this problem when the -Override switch has been specified.

Current Version: 1.1.03

Benefits:

Requirements:

Available Cmdlets:

How to use:

Import the .psm1 file, and use get-help -detailed for syntax on each cmdlet.  PowerShell must be running with elevated administrative rights.

PowerShell
Edit|Remove
Import-Module .\DCOMPermissions.psm1
 Examples:
PowerShell
Edit|Remove
# Fix System Event Log DistributedCOM 10016 errors on Windows 10 / Server 2016 
Grant-DCOMPermission -ApplicationID "{9CA88EE3-ACB7-47C8-AFC4-AB702511C276}" -Account "SYSTEM" -Type Launch -Permissions LocalLaunch,LocalActivation -OverrideConfigurationPermissions 
 
Grant-DCOMPermission -ApplicationID "{F72671A9-012C-4725-9D2F-2A4D32D65169}" -Account "SYSTEM" -Type Launch -Permissions LocalLaunch,LocalActivation -OverrideConfigurationPermissions 
 
# List launch permissions for RuntimeBroker 
Get-DCOMPermission -ApplicationID "{9CA88EE3-ACB7-47C8-AFC4-AB702511C276}" -Type Launch

Revision History:

Enjoy!