Skip to main content

🧱πŸͺŸπŸ’»ES - Windows LAPS

One shared local-admin password across the fleet is a skeleton key. LAPS gives every machine its own, rotates it automatically, and stores it in Entra.

🧱Type Endpoint SecurityπŸͺŸPlatform WindowsπŸ’»Target Devices
reference-build Β· es-windows-lapsGolden Master reference
License tier
Business Premium (Entra ID)
Control plane
Intune Endpoint Security, LAPS CSP
Scope
Windows, all devices
Reversibility
clean-revert

What this policy is about πŸ§±β€‹

Nearly every managed device has a local administrator account, and far too often it is the same password on all of them, set once during imaging and never touched again. That single shared secret is the classic lateral-movement highway: compromise one machine, grab the local-admin hash, and reuse it on every other device that shares it.

Windows LAPS closes that off. It sets a unique, random password on each device's local admin account, rotates it on a schedule, and backs it up to Entra ID where only authorised admins can retrieve it. Steal one and you have opened exactly one machine.

πŸ€” Every lock, a different key

The fix is not a stronger shared password; it is no shared password at all. LAPS makes the local-admin credential per-device and short-lived, so a stolen one is worth one door and expires anyway.

Why this matters πŸ•΅οΈβ€‹

Pass-the-hash across a reused local admin is one of the most reliable moves an attacker has, precisely because the shared password is invisible in day-to-day operations, it just sits there working. LAPS turns that highway into a set of dead ends: each credential is unique, rotates automatically, and every retrieval from Entra is logged, so break-glass local access stays possible but auditable.

πŸ› οΈ Configuration​

Where: Intune admin center β†’ Endpoint security β†’ Account protection β†’ Create policy β†’ Windows β†’ Local admin password solution (Windows LAPS).

The same settings are reachable through Devices β†’ Configuration β†’ Settings catalog β†’ LAPS, because both write to the LAPS CSP. Pick one and stay there: the same setting configured from two profiles lands the device in a conflict state where neither value reliably applies.

SettingValue
Backup DirectoryBackup the password to Microsoft Entra ID only
Password Age Days30
Password Length20
Password ComplexityLarge letters, small letters, numbers, and special characters
Post Authentication ActionsReset the password and logoff the managed account
Post Authentication Reset Delay (hours)24
Assignment, includeAll devices
Assignment, excludeNone (standard exclusions only)

The post-authentication reset is the quiet hero: after the password is used, it rotates automatically within the delay window, so a retrieved credential is good for a job, not forever.

Caveats βš οΈβ€‹

LAPS needs an account to manage. By default it targets the built-in Administrator. If that account is disabled or renamed on your image, set the Administrator Account Name so LAPS manages the right one. No managed account, nothing to rotate.

Entra backup means Entra-joined. Backing up to Entra ID requires the device to be Entra joined. Hybrid or on-prem AD-joined devices back up to Active Directory instead, which is a different Backup Directory value.

Retrieval is a privilege, so treat it like one. Reading a device's LAPS password from Entra needs the right role. Scope who can do it, and review the retrieval logs; the audit trail is only useful if someone looks at it.

License and reversibility. Entra ID LAPS is included in Business Premium. Clean-revert: unassign and Windows stops rotating the account, though the last-set password remains until changed.


This password will self-destruct in 24 hours. One key per lock, and none of them shared. 🧱