Revokes COM Access or Launch and Activation permissions.
Revoke-ComPermission -Identity <String> -Access -Limits [<CommonParameters>]
Revoke-ComPermission -Identity <String> -Access -Default [<CommonParameters>]
Revoke-ComPermission -Identity <String> -LaunchAndActivation -Limits [<CommonParameters>]
Revoke-ComPermission -Identity <String> -LaunchAndActivation -Default [<CommonParameters>]
Calling this function is equivalent to opening Component Services (dcomcnfg), right-clicking My Computer
under Component Services > Computers, choosing Properties
, going to the COM Security
tab, and removing an identity from the permissions window that opens after clicking the Edit Limits...
or Edit Default...
buttons under Access Permissions
or Launch and Activation Permissions
section,
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Identity | String | true | false | ||
Access | SwitchParameter | Revokes Access Permissions. |
true | false | False |
LaunchAndActivation | SwitchParameter | Revokes Launch and Activation Permissions. |
true | false | False |
Default | SwitchParameter | Revokes default security permissions. |
true | false | False |
Limits | SwitchParameter | Revokes security limits permissions. |
true | false | False |
Revoke-ComPermission -Access -Identity 'Users' -Default
Removes all default security COM access permissions for the local Users
group.
Revoke-ComPermission -LaunchAndActivation -Identity 'Users' -Limits
Removes all security limit COM access permissions for the local Users
group.