Skip to content

WindowsAccessControlServiceControlManagerAccessRule

raandree edited this page Sep 6, 2026 · 1 revision

Parameters

Parameter Attribute DataType Description Allowed Values
AccessControlType Key System.Security.AccessControl.AccessControlType Whether the entry is an allow or a deny entry. Allow, Deny
Account Key System.String The principal the rule applies to. An alias is normalized by security identifier, so any spelling that resolves to the same principal matches.
ControlManagerRights Key WindowsServiceControlManagerRights The exact Service Control Manager rights the entry grants or denies. Connect, CreateService, EnumerateService, Lock, QueryLockStatus, ModifyBootConfig, Delete, ReadControl, WriteDac, WriteOwner, AllAccess, AccessSystemSecurity, GenericAll, GenericExecute, GenericWrite, GenericRead
Ensure Write WindowsAccessControlDscEnsure Whether the exact entry must be present or absent. Defaults to Present. Absent, Present
Reasons Read WindowsAccessControlDscReason[] Returns why the resource is not in the desired state. Not configurable.

Description

The composite key identifies exactly one explicit access control entry on the node-wide Service Control Manager object by account, rights, and qualifier. Absent removes every duplicate of that exact entry without purging unrelated rights or the opposite qualifier.

Home

Commands

DSC resources

Clone this wiki locally