Skip to content

WindowsAccessControlServiceSecurityDescriptor

raandree edited this page Sep 6, 2026 · 1 revision

Parameters

Parameter Attribute DataType Description Allowed Values
Name Key System.String The service name, not the display name.
Sections Key WindowsSecurityDescriptorSection The security descriptor sections this resource owns. Only these sections are compared and written. Owner, Group, Access, Audit, All
Sddl Required System.String The desired security descriptor for the selected sections, in SDDL form. Capture it from Get-ServiceSecurityDescriptor.
Reasons Read WindowsAccessControlDscReason[] Returns why the resource is not in the desired state. Not configurable.

Description

Compares the selected sections of the service security descriptor against the desired SDDL and rewrites only those sections. The service is addressed by its service name on the local node.

Home

Commands

DSC resources

Clone this wiki locally