Local administrator accounts on Windows workstations represent one of the most critical attack vectors for lateral movement, credential dumping, and ransomware propagation. For over a decade, organizations relied on legacy Microsoft LAPS, which required schema extensions in on-premises Active Directory and an external MSI agent that failed on cloud-only workstations.
With native Windows LAPS built directly into Windows 10 and 11, Microsoft introduced a completely redesigned, cloud-native architecture natively integrated with Microsoft Entra ID and Microsoft Intune. This deep dive covers the end-to-end engineering blueprint: policy configuration, Post-Authentication Actions (PAA), RBAC access boundaries, and operational event log diagnostics.
Legacy LAPS vs Modern Cloud Windows LAPS
| Capability | Legacy Microsoft LAPS (2015) | Modern Windows Cloud LAPS (2026) |
|---|---|---|
| Operating System Engine | External MSI Agent (AdmPwd.dll) |
Native In-Box OS Component (Windows 10/11) |
| Identity & Escrow Store | Active Directory Only (Computer Object Attributes) | Microsoft Entra ID & Active Directory (Hybrid) |
| Management Plane | Group Policy Objects (GPO) | Microsoft Intune Endpoint Security CSP |
| Post-Authentication Action | ❌ Not Supported (Manual trigger) | ✅ Automated Password Reset & Session Termination |
| Password History Retention | ❌ Overwritten on each cycle | ✅ Multi-Version Password History Supported |
| Access Auditing | Domain Controller Security Event 4662 | Microsoft Entra Audit Logs & Unified Audit Log |
Configuring the Intune Cloud LAPS Policy
To deploy Windows LAPS in Microsoft Intune:
- Open Microsoft Intune Admin Center > Endpoint Security > Account Protection.
- Click Create Policy, select Windows 10 and later, and choose Local admin password solution (Windows LAPS).
- Configure the critical enterprise security parameters:
- Backup Directory: Backup the password to Microsoft Entra ID only.
- Password Complexity: Large letters + small letters + numbers + special characters.
- Password Age Days: 14 days (or 30 days maximum).
- Post Authentication Actions (PAA): Reset the password and logoff the managed account.
- Post Authentication Reset Delay: 2 hours.
- Assign the policy to your primary device security groups.
Post-Authentication Action (PAA): Eliminating Credential Residue
The single greatest architectural leap in modern Windows LAPS is Post-Authentication Actions (PAA). In traditional IT support, an engineer retrieves the local administrator password to install troubleshooting software. Once the technician walks away, that password remains active for the remainder of the 30-day rotation cycle—leaving a massive window of exposure for pass-the-hash attacks.
PowerShell LAPS Diagnostic & Event Forensics
When investigating LAPS policy compliance or key rotation on a workstation, examine the dedicated Windows Event Log channel at Microsoft-Windows-LAPS/Operational:
# ==============================================================================
# Windows Cloud LAPS Forensic & Diagnostic Script
# ==============================================================================
Write-Host ">>> [1/2] Checking Local Windows LAPS Registry & Policy State..." -ForegroundColor Cyan
$lapsReg = "HKLM:\SOFTWARE\Microsoft\Policies\LAPS"
if (Test-Path $lapsReg) {
Get-ItemProperty -Path $lapsReg | Select-Object BackupDirectory, PasswordComplexity, PasswordAgeDays, PostAuthenticationActions, PostAuthenticationResetDelay | Format-List
} else {
Write-Warning "No Intune LAPS policy detected in $lapsReg"
}
Write-Host ">>> [2/2] Parsing Microsoft-Windows-LAPS/Operational Event Log..." -ForegroundColor Cyan
$events = Get-WinEvent -LogName "Microsoft-Windows-LAPS/Operational" -MaxEvents 30 -ErrorAction SilentlyContinue
if ($events) {
foreach ($e in $events) {
$status = switch ($e.Id) {
10001 { "✅ [10001] LAPS generated new local admin password." }
10002 { "ℹ️ [10002] LAPS policy successfully evaluated." }
10007 { "☁️ [10007] LAPS password successfully escrowed to Microsoft Entra ID." }
10017 { "❌ [10017] ERROR: Failed to escrow password to Entra ID." }
10022 { "🔄 [10022] Post-Authentication Action (PAA) triggered rotation." }
default { "Event ID $($e.Id): $($e.Message)" }
}
"[$($e.TimeCreated.ToString('yyyy-MM-dd HH:mm:ss'))] $status"
}
} else {
Write-Host "No LAPS operational events found. Verify the device has synced with Intune." -ForegroundColor Yellow
}
Granular RBAC Delegation in Microsoft Entra ID
Never assign Global Administrator or Intune Administrator simply to allow Tier-1 service desk technicians to view LAPS passwords. Microsoft Entra ID supports granular role delegation:
| Entra ID Role | LAPS Password Permission | Recommended Audience |
|---|---|---|
Cloud Device Administrator |
Read & Trigger Immediate Rotation | Senior Workplace Engineers & Incident Responders |
Intune Administrator |
Read & Edit LAPS Security Policy | Modern Workplace Architects |
Helpdesk Administrator |
Read-Only (Scoped via Administrative Units) | Tier-1 & Tier-2 Service Desk Agents |
Global Reader |
❌ Cannot view LAPS passwords (Cleartext masked) | Compliance & Security Auditors |
Summary & Implementation Checklist for Engineers
- Verify OS Baseline: Ensure all Windows 10/11 endpoints run the latest cumulative update (LAPS is in-box).
- Enable Entra ID LAPS: In Entra ID Admin Center, enable "Enable Azure AD Local Administrator Password Solution (LAPS)" under Device settings.
- Deploy Intune Account Protection Policy: Configure 14-day password age, complex character requirements, and 2-hour PAA reset.
- Scope Helpdesk RBAC: Use Administrative Units (AUs) so helpdesk technicians can only read passwords for devices in their geographic region.
- Monitor Event ID 10007: Set up Microsoft Sentinel or Log Analytics alerting on Event ID
10017(LAPS Escrow Failure) to catch network isolation issues immediately.