AD-SCH-05 - LAPS installation status should be retrievable
Overviewβ
The Local Administrator Password Solution (LAPS) is a critical security tool that:
- Manages local admin passwords: Automatically rotates passwords on domain-joined computers
- Prevents lateral movement: Eliminates shared local administrator passwords
- Secure storage: Stores passwords securely in Active Directory attributes
- Access control: Controls who can retrieve local administrator passwords
- Audit trail: Logs password access for compliance
Without LAPS, organizations commonly face these risks:
- Pass-the-hash attacks: Attackers use shared local credentials to move laterally
- Persistent access: Compromised local accounts provide ongoing access
- Credential stuffing: Shared passwords reused across multiple systems
- Compliance failures: Many frameworks require unique local admin passwords
Security Recommendationβ
Deploy LAPS across your entire domain:
- Install LAPS: Download from Microsoft and extend the AD schema
- Group Policy: Configure password rotation policies (recommended: every 30 days)
- Access controls: Limit who can read the ms-Mcs-AdmPwd attribute
- Monitoring: Alert on password retrieval events
- Legacy LAPS: Consider upgrading to Windows LAPS (built into Windows 11/Server 2022)
How the Test Worksβ
This test checks for the presence of LAPS schema attributes (ms-Mcs-AdmPwd) to determine if LAPS has been installed and configured in the Active Directory environment.
Related Testsβ
Test-MtAdComputerUnconstrainedDelegationCount- Check for delegation risksTest-MtAdUserPasswordNeverExpiresCount- Identify password policy gapsTest-MtAdPasswordComplexityRequired- Verify password policies
Test Metadataβ
| Field | Value |
|---|---|
| Test ID | AD-SCH-05 |
| Severity | Unknown |
| Suite | Active Directory |
| Category | AD.Schema |
| PowerShell test | Test-MtAdLapsInstalledStatus |
| Tags | AD, AD-SCH-05, AD.Schema |
Sourceβ
- Pester test:
tests/ad/schema/Test-MtAdLapsInstalledStatus.Tests.ps1 - PowerShell source:
powershell/public/ad/schema/Test-MtAdLapsInstalledStatus.ps1

