Skip to main content

AdminSDHolder Also Resets ACLs on Groups Nested Below Domain Admins

High severityActive Directory About 20 minutes to fix

Overview

AdminSDHolder's SDProp process protects transitive members of Domain Admins, including groups nested below it, and resets their ACLs to the AdminSDHolder template, so custom permissions set on those nested groups do not stick.

At a glance

Symptom
A helpdesk team lead reports that a service account, member of a nested group two levels below Domain Admins, unexpectedly lost the ability to…
Likely cause
AdminSDHolder and the SDProp process (documented as part of the broader identity governance controls referenced in the Microsoft cloud security benchmark) apply the protected…
Impact
The affected account loses privileged capability without any corresponding alert, because monitoring built around AdminSDHolder protection (for example, alerting on adminCount changes or on ACL modifications to protected…
Verification signal
Validation confirms the account is now covered by AdminSDHolder protection and that the intended privileged capability is intact.
Safe correction
The correction must be scoped, reversible and validated before touching any production identity.
Rollback or recovery
If validation fails, or if direct Domain Admins membership is organisationally unacceptable, restore from the captured pre-image: re-add the account to the original intermediate group and remove it…

Symptom

A helpdesk team lead reports that a service account, member of a nested group two levels below Domain Admins, unexpectedly lost the ability to perform a privileged directory operation after what the platform team believed was a routine ACL cleanup on an unrelated group. Event logs show no explicit permission removal on the service account itself, and the account’s group membership in Active Directory Users and Computers appears unchanged.

False Assumption

The operations team assumed that because the account was nested below Domain Admins rather than a direct member, it and its immediate parent group sat outside the AdminSDHolder and SDProp mechanism, so delegated ACEs on either object would persist like changes on any ordinary object.

Root Cause

Microsoft documents that AdminSDHolder protection covers the protected groups and their members, including transitive members. An account nested two or more levels below Domain Admins through intermediate security groups is protected, and so are the intermediate groups themselves: each gets adminCount=1, has inheritance disabled, and has its ACL overwritten with the AdminSDHolder template whenever SDProp runs (every 60 minutes by default, on the PDC emulator). Nesting depth does not exclude an object. What catches teams out is the reverse: any ACE added directly to the nested account or the intermediate group, such as a delegated right the service account relied on, is removed at the next SDProp run, and the ACL cleanup on the intermediate group simply coincided with that reset. If a nested member genuinely shows adminCount 0 or unset, treat it as a sign that the nesting path does not actually reach a protected group, or that SDProp has not yet run, and confirm with the queries below rather than assuming a depth limit.

Impact

The affected account loses privileged capability without any corresponding alert, because the change is made by the SDProp process rather than by an administrator, and is easy to miss unless directory change auditing covers protected objects. This produces two risks: a false belief that delegated ACEs on nested privileged accounts and groups are durable, and a silent, unannounced loss of intended access that can disrupt automation or emergency-access accounts at the worst possible moment.

Diagnosis

Confirm the nesting depth and adminCount state before assuming SDProp coverage. Run the following read-only checks in an isolated or non-production domain, or against a domain controller you are explicitly authorised to query, after confirming the AD domain and forest functional level and the DC’s operating system version.

Get-ADGroupMember -Identity 'Domain Admins' -Recursive | Select-Object Name, SamAccountName, DistinguishedName
Get-ADUser -Identity 'svc-privileged-task' -Properties adminCount, memberOf | Select-Object Name, adminCount, memberOf
Get-ADObject -Identity 'CN=AdminSDHolder,CN=System,DC=example,DC=com' -Properties nTSecurityDescriptor | Format-List

Expected evidence: the recursive membership query shows the account nested through an intermediate group; adminCount on both the account and the intermediate group reads 1, showing both are protected objects; and the account’s ACL matches the AdminSDHolder template, with the ACE it previously relied on missing. A nested member with adminCount 0 or unset points to a nesting path that does not reach a protected group, or an SDProp run that has not happened yet, not to a depth limit.

Correction

The correction must be scoped, reversible and validated before touching any production identity. In an isolated test domain, first capture the current ACL and adminCount state of the affected account and intermediate group so the prior state can be restored. Then either (a) grant the capability on the objects the account acts on (for example, delegated rights on a specific OU) rather than as an ACE on the protected account or group, where SDProp will keep overwriting it, or (b) if the account does not need Domain Admins rights at all, remove it from the nested group so it stops being a protected object. adminCount and disabled inheritance are not reset automatically after removal, so clear adminCount and re-enable inheritance as a separate, documented step. If a right genuinely has to apply to every protected object, the supported route is to add it to AdminSDHolder itself under Tier-0 change control, accepting that it then propagates to every protected account and group. To validate any of these in the same window, run SDProp on demand by writing 1 to the runProtectAdminGroupsTask RootDSE attribute on the PDC emulator (older guidance names fixupInheritance).


# Capture current state before change (read-only, run first)
New-Item -ItemType Directory -Force -Path 'C:\AD-Rollback' | Out-Null
Get-ADUser -Identity 'svc-privileged-task' -Properties adminCount, memberOf, nTSecurityDescriptor |
  Export-Clixml -Path 'C:\AD-Rollback\svc-privileged-task-preimage.xml'

# State-changing, option (b): remove the account from the nested privileged group
Remove-ADGroupMember -Identity 'Intermediate-Priv-Group' -Members 'svc-privileged-task' -Confirm:$true

Apply this only in the isolated test domain first. Do not run the state-changing step against a production forest until the validation steps below pass in the test environment and a change window with rollback approval is confirmed.

Validation

Validation confirms the intended capability now survives SDProp. After allowing one full SDProp cycle (up to 60 minutes, or trigger manually in the test domain), re-run the diagnosis queries: for option (a), the delegated rights on the target objects should still be present; for option (b), the account should no longer appear in the recursive Domain Admins membership. Separately, functionally test that the service account can still perform its intended privileged operation, and confirm no unrelated ACEs were lost from the intermediate group during the change.

Rollback

If validation fails, restore from the captured pre-image: re-add the account to the original intermediate group or remove the new delegation, then compare the account’s ACL with the exported XML. Do not hand-restore custom ACEs on a protected object, because SDProp will remove them again. Re-run the diagnosis queries to confirm the account has returned to its prior nested state before considering the rollback complete. Treat any domain-wide SDProp behaviour change as out of scope for this rollback; only the specific account and group membership are reverted.

Prevention

Treat nested nomination into Domain Admins-adjacent groups as a governance decision, not a convenience. Maintain an explicit inventory of every group nested inside default AdminSDHolder-protected groups, and remember that every object in that tree is protected, so its ACL is reset to the AdminSDHolder template on each SDProp run. Grant delegated rights on the target objects rather than on protected accounts or groups, and alert on ACL changes to protected objects so an SDProp reset is noticed when it happens.

3

Apply the safer control

Before you change production

Confirm the affected scope, export the current configuration, and test the replacement control in a non-production environment first.

Fix commands and configuration

Get-ADGroupMember -Identity 'Domain Admins' -Recursive | Select-Object Name, SamAccountName, DistinguishedName
Get-ADUser -Identity 'svc-privileged-task' -Properties adminCount, memberOf | Select-Object Name, adminCount, memberOf
Get-ADObject -Identity 'CN=AdminSDHolder,CN=System,DC=example,DC=com' -Properties nTSecurityDescriptor | Format-List
4

When to escalate

Validation and rollback are covered in the sections above.

Escalate

Escalate when the blast radius is uncertain, the control cannot be tested safely, or remediation requires an outage or security exception.

The KBY Brief

Fixed? Get the next one before it hits you: The KBY Brief

Practical fixes for the systems you run, by email about twice a week. Unsubscribe at any time.

About this page

Credited to

Dates

Published

Last updated

Corrections

  • : The title was wrong and was corrected. It now reads "AdminSDHolder Also Resets ACLs on Groups Nested Below Domain Admins". Details

Was this useful?

Reports go to the site owner and are used to correct pages. Corrections are listed at /corrections.

After remediation

Further reading stays below the corrective workflow and is selected by platform, category and shared technical keywords.

Discover more

Connected KBY resources