Skip to content
Sponsor
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

User AdminCount count should be retrievable

AD-USER-11InfoActive DirectoryUsers

Part of Active Directory · Active Directory · Users · All checks

Run this check
Invoke-Maester -TestId AD-USER-11

The AdminCount attribute is commonly set on protected and privileged accounts. These users often inherit AdminSDHolder protections and may retain elevated access or restricted ACL inheritance.

  • Privilege visibility: Highlights accounts that may be administrative or formerly administrative
  • Delegation impact: Protected accounts behave differently from standard users
  • Security review: Helps identify users that warrant stronger monitoring and change control

Detective

  • Review each account with AdminCount = 1 to confirm it still requires elevated protections
  • Validate that privileged accounts are intentionally assigned and documented
  • Investigate stale or unexpected protected users and remove unnecessary privileged group membership

This test counts user objects where the AdminCount attribute equals 1.

  • Test-MtAdUserNonStandardPrimaryGroupCount - Finds users with unusual group membership baselines
  • Test-MtAdUserSpnSetCount - Identifies potentially high-value service accounts
Every attribute of this check
FieldValue
Test IDAD-USER-11
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureUsers
AreaPrivileged access
Resource typeUser
MITRE ATT&CKNone
PowerShell testTest-MtAdUserAdminCountCount
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:user:ReadProperty