Atliso-LapsRotationAudit
1.0.1
Windows LAPS can report as compliant in Intune while the local admin password
hasn't actually rotated in months. This script confirms whether a successful
password backup was logged inside the expected window, and if not, forces a
rotation with Reset-LapsPassword.
Detection signal: event 10029 (Entra ID backup) or 10018 (Active Directory backup)
in the Microsoft-Wind
hasn't actually rotated in months. This script confirms whether a successful
password backup was logged inside the expected window, and if not, forces a
rotation with Reset-LapsPassword.
Detection signal: event 10029 (Entra ID backup) or 10018 (Active Directory backup)
in the Microsoft-Wind
Windows LAPS can report as compliant in Intune while the local admin password
hasn't actually rotated in months. This script confirms whether a successful
password backup was logged inside the expected window, and if not, forces a
rotation with Reset-LapsPassword.
Detection signal: event 10029 (Entra ID backup) or 10018 (Active Directory backup)
in the Microsoft-Windows-LAPS/Operational channel, logged inside
PasswordAgeDays + GraceDays. It also flags event 10005 (policy processing failed),
which means rotation is actively failing rather than just late.
Runs audit-only by default (-WhatIf $true). Set -WhatIf $false to force rotation.
Intune usage: deploy as a Remediation. The detection half exits 1 when no
successful backup is confirmed inside the window. Run as SYSTEM, 64-bit.
Show more
hasn't actually rotated in months. This script confirms whether a successful
password backup was logged inside the expected window, and if not, forces a
rotation with Reset-LapsPassword.
Detection signal: event 10029 (Entra ID backup) or 10018 (Active Directory backup)
in the Microsoft-Windows-LAPS/Operational channel, logged inside
PasswordAgeDays + GraceDays. It also flags event 10005 (policy processing failed),
which means rotation is actively failing rather than just late.
Runs audit-only by default (-WhatIf $true). Set -WhatIf $false to force rotation.
Intune usage: deploy as a Remediation. The detection half exits 1 when no
successful backup is confirmed inside the window. Run as SYSTEM, 64-bit.
Installation Options
Owners
Copyright
(c) 2026 Atliso. MIT License.
Package Details
Author(s)
- Atliso
Tags
Intune LAPS WindowsLAPS Rotation Remediation EntraID
Functions
Dependencies
This script has no dependencies.
Release Notes
Gallery metadata added. Script logic unchanged from v1.0.0.
FileList
- Atliso-LapsRotationAudit.nuspec
- Atliso-LapsRotationAudit.ps1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 1.0.1 (current version) | 4 | 10/19/2026 |