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) →

Non-expiring password user count should be retrievable

AD-USER-03InfoActive DirectoryUsers

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

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

Passwords that never expire reduce credential hygiene and increase the blast radius of password theft. While some service accounts may require non-expiring credentials, they should be rare, controlled, and closely monitored.

Detective

Minimize the use of non-expiring passwords. Where legacy constraints require them, migrate to managed service accounts, vaulting, or other compensating controls.

This test retrieves Active Directory user data from Get-MtADDomainState, filters to enabled users, and counts accounts where PasswordNeverExpires = $true. The output includes the count and percentage relative to enabled users.

  • Test-MtAdUserDormantEnabledCount
  • Test-MtAdUserPasswordNotRequiredCount
  • Test-MtAdUserNeverLoggedInCount
Every attribute of this check
FieldValue
Test IDAD-USER-03
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureUsers
AreaAuthentication
Resource typeUser
MITRE ATT&CKT1078.002 Domain Accounts
PowerShell testTest-MtAdUserPasswordNeverExpiresCount
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:user:ReadProperty