Overview
Windows Local Administrator Password Solution (LAPS), natively built into Windows 11 (22H2+) and Windows Server 2022, automates local administrator password management by generating unique, complex passwords per device and backing them up to Microsoft Entra ID or Active Directory. Integrated with Microsoft Intune, LAPS eliminates shared local admin credentials — one of the most exploited attack vectors in lateral movement scenarios.
Prerequisites include devices running Windows 11 22H2+ or Windows Server 2022+, enrolled in Microsoft Intune, and Azure AD-joined or hybrid Azure AD-joined. Enable LAPS in the Entra admin center under Devices > Device settings, then create a Windows LAPS account protection policy in Intune (Endpoint security > Account protection > Windows LAPS). Configure password age (default: 30 days), password length (minimum: 15 characters), account name, and backup directory (Azure AD). Retrieved passwords are accessible by authorized admins in the Entra portal under Devices > Local administrator password recovery.
Tip: Use the built-in Get-LapsAADPassword PowerShell cmdlet (LAPS module) to audit and retrieve LAPS passwords programmatically, or delegate access using Azure AD custom roles to restrict retrieval to privileged identity management (PIM) eligible roles.



