This guide is for admins of a small Active Directory domain who still have the same local administrator password on every PC and server. In short: Windows LAPS is already inside current Windows builds, so there is nothing to install. You extend the AD schema once, let computers in an OU write their own password, decide who may read it, and switch on one Group Policy setting. Each machine then sets a random local admin password, stores it in its own AD computer object and rotates it on schedule.
We checked every command, path and default on 24 November 2026 against the Windows LAPS pages on Microsoft Learn (overview, Active Directory scenario, policy settings, legacy emulation and event log). Not tested yet: we have not run these steps in our own lab, so start with one test OU.
Windows LAPS facts at a glance
| Item | Detail |
|---|---|
| Version | No separate version number: it ships with Windows and is serviced through Windows Update (first delivered in the 11 April 2023 updates) |
| Licence | Free: a built-in Windows feature with no separate download; backup to Active Directory has no other licensing requirement, backup to Microsoft Entra ID needs Entra ID Free or higher |
| Client OS | Windows 11 23H2 and later; Windows 11 22H2 and 21H2 with the 11 April 2023 update or later; Windows 10 only on devices that still receive updates |
| Server OS | Windows Server 2025; Windows Server 2022 and 2019 with the 11 April 2023 update or later |
| Password encryption | Needs Domain Functional Level 2016 or later |
| Policy location | Computer Configuration > Policies > Administrative Templates > System > LAPS |
| Event log | Applications and Services Logs > Microsoft > Windows > LAPS > Operational |
Windows Server 2016 is not on Microsoft’s supported list (overview page updated 12 October 2026). Our identity and access management tools hub covers the wider toolset.
Windows LAPS vs legacy Microsoft LAPS
| Criterion | Windows LAPS (built in) | Legacy Microsoft LAPS (MSI) |
|---|---|---|
| Delivery | Part of Windows, updated with the OS | Separate MSI; newer Windows versions block its installation |
| Status | Current | Deprecated as of Windows 11 23H2; Microsoft no longer considers code changes |
| Password in AD | Encrypted by default when the domain is at DFL 2016 | Clear text in the ms-Mcs-AdmPwd attribute |
| Password history | Up to 12 previous encrypted passwords (default 0) | No |
| Backup to Microsoft Entra ID | Yes | No |
| DSRM password on domain controllers | Yes, optional | No; a legacy policy is ignored on domain controllers |
Step 1: extend the schema
The schema update is a one-time operation for the whole forest. Run it on a domain controller with Windows Server 2019 or later that has the Windows LAPS update, or on a member server that has the LAPS PowerShell module:
Update-LapsADSchema -VerboseDo not use the old Update-AdmPwdADSchema here; that one belongs to legacy LAPS and adds different attributes.
Step 2: let computers store their password
A managed device needs the right to write its own password attributes. The permission is set on the OU and inherited by the computer objects inside it:
Set-LapsADComputerSelfPermission -Identity "OU=Workstations,DC=corp,DC=example"Step 3: decide who can read and expire passwords
Domain Admins can read and expire LAPS passwords out of the box. To delegate to the help desk without making them Domain Admins, create a group and grant it rights on the OU:
Set-LapsADReadPasswordPermission -Identity "OU=Workstations,DC=corp,DC=example" -AllowedPrincipals @("CORP\LAPS-Readers")
Set-LapsADResetPasswordPermission -Identity "OU=Workstations,DC=corp,DC=example" -AllowedPrincipals @("CORP\LAPS-Readers")Then check who else already holds extended rights on that OU:
Find-LapsADExtendedRights -Identity "OU=Workstations,DC=corp,DC=example"Microsoft’s guidance is that only SYSTEM and Domain Admins should show up. Review anyone else on the list before you go further. Note the catch with encryption: read permission is not the same as permission to decrypt. Decryption is controlled by the ADPasswordEncryptionPrincipal policy setting, which defaults to Domain Admins. If the help desk group must see passwords, name that group in the setting.
Step 4: create the policy
Create a GPO linked to the same OU and open Computer Configuration > Policies > Administrative Templates > System > LAPS. The template lives at %windir%\PolicyDefinitions\LAPS.admx. If you use a Group Policy central store, copy LAPS.admx into it by hand, because Windows Update does not do that for you.
| Setting | Default | What to do in a small domain |
|---|---|---|
BackupDirectory | 0 (disabled) | Set to 2 (Active Directory). Until you do, every other setting is ignored |
PasswordAgeDays | 30 | Range 1–365; the default is a reasonable start |
PasswordLength | 14 | Range 8–64 |
PasswordComplexity | 4 (upper, lower, digits, specials) | Keep 4; values 5–8, including passphrases, need Windows 11 24H2 or Server 2025 |
AdministratorAccountName | Empty (built-in Administrator, found by RID) | Set only if you manage a custom account; Windows LAPS does not create it for you |
ADPasswordEncryptionPrincipal | Domain Admins | Set to your reader group if the help desk must decrypt |
ADEncryptedPasswordHistorySize | 0 | Set 1–12 if you restore machines from older images or snapshots |
PostAuthenticationActions | 3 (reset password and sign out) | Runs after PostAuthenticationResetDelay, 24 hours by default |
If a mixed fleet gets a complexity value that an older Windows build does not know, that machine falls back to the default 4. Microsoft recommends separate policies for older and newer OS versions.
Step 5: apply, verify and retrieve
Windows LAPS processes its policy every hour and reacts to Group Policy change notifications. To skip the wait on a test machine, run this in an elevated PowerShell session:
gpupdate /target:computer
Invoke-LapsPolicyProcessingOpen the LAPS Operational log on that machine. Event 10004 means policy processing succeeded, 10021 lists the policy in effect, and 10018 confirms that Active Directory was updated with the new password. Event 10005 is a failed cycle with an error code.
Read the password from an admin workstation:
Get-LapsADPassword -Identity PC-014 -AsPlainTextThe output shows the account, the password, PasswordUpdateTime, ExpirationTimestamp and a Source field, which reads EncryptedPassword when encryption is working. The same data is visible in the computer’s properties dialog in Active Directory Users and Computers.
To rotate a password after handing it to someone, expire it from the directory, or reset it locally on the machine:
Set-LapsADPasswordExpirationTime -Identity PC-014
Reset-LapsPasswordThe first command makes the device rotate at its next policy cycle; the second runs on the device itself and rotates immediately.
Coming from legacy LAPS
If a legacy LAPS GPO still applies, Windows LAPS can honour it in “legacy Microsoft LAPS emulation mode”. That happens only when no Windows LAPS policy is present, the legacy client-side extension is not installed and the machine is not a domain controller. In this mode passwords stay in clear text and there is no encryption, history or Entra backup, so treat it as a bridge, not a destination. A Windows LAPS policy always takes precedence over a legacy one. To block emulation on a machine, create the REG_DWORD BackupDirectory with value 0 under HKLM\Software\Microsoft\Windows\CurrentVersion\LAPS\Config.
Limitations
- Not for Windows Server 2016 or older. Those systems are outside the supported list; legacy LAPS remains supported there only until the OS itself reaches end of support.
- Encryption depends on the domain. Password encryption requires Domain Functional Level 2016 or later.
- Custom accounts are your job unless every machine runs Windows 11 24H2 or Server 2025, where automatic account management can create and manage the account.
- One policy source wins. Windows reads CSP, then Group Policy, then local configuration, then legacy policy, and uses the first that has any setting. Settings are never merged across sources.
- LAPS does not watch the account. It rotates the password; it does not tell you who signed in with it. For that you need log collection, for example Wazuh, a free open-source SIEM with agents for Windows.
Who it fits and who it does not
Fits: any domain with supported Windows 11, Server 2019, 2022 or 2025 machines and a shared or never-changed local admin password. The setup is one schema update, a few permissions and one GPO.
Does not fit as-is: fleets dominated by Server 2016 or older, workgroup machines with no directory at all, and Entra-only devices, which use the Entra ID backup and an Intune policy instead of the steps above.
FAQ
Is there a Windows LAPS download?
No. It is built into supported Windows versions and needs no separate download or installation. Only the legacy product came as an MSI.
Does Windows LAPS work on Server 2016?
Microsoft’s supported list starts at Windows Server 2019 with the 11 April 2023 update. Server 2016 is not on it.
Why is the LAPS password not showing in AD?
Check the documented causes in order: BackupDirectory is still 0, the OU never received Set-LapsADComputerSelfPermission, or your account can read but is not the authorised decryptor. On the machine, look for event 10018 (success) or 10005 (failure).
Where are the Windows LAPS Group Policy template files?
At %windir%\PolicyDefinitions\LAPS.admx on any updated machine. Copy the file to your central store manually if you use one.
Does Windows LAPS keep password history?
Yes, when encryption is on: ADEncryptedPasswordHistorySize stores up to 12 previous passwords. The default is 0.
Last updated: 24 November 2026 · AdminHub Plus editorial team. Licence, version and platform details are checked against each developer's official documentation.