# Local administrator passwords on identity assets are protected and managed with Microsoft LAPS

The Local Administrator Password Solution randomizes the built-in local Administrator password on every domain-joined and Microsoft Entra-joined device…

Source: https://maester.dev/docs/tests/ZTA.41008

<!-- This file is generated by website/scripts/generate-test-docs.mjs. Do not edit manually. -->

## Overview

The Local Administrator Password Solution randomizes the built-in local Administrator password on every domain-joined and Microsoft Entra-joined device, stores each password centrally in Active Directory or Microsoft Entra ID, and rotates it on a defined schedule so that no two devices share the same secret. Without it, organizations typically image every workstation from the same baseline and inherit a single local Administrator password across the fleet. A threat actor who compromises any one of those workstations can extract the local Administrator credential and replay it against every other device that accepts the same password — the classic Pass-the-Hash attack. Once a single jump host or privileged-access workstation falls, the same credential reaches servers that hold directory secrets, and the intrusion escalates from one endpoint to forest-wide credential theft and persistent administrative control. The argument that a uniform local password is acceptable because the accounts are local to each device collapses the moment one device is breached. Microsoft Defender for Identity's posture engine lists every monitored device that lacks a managed local Administrator password as a Secure Score recommendation, and the documented remediation is to deploy Windows LAPS — the in-box successor to legacy LAPS — to every Windows endpoint and confirm that each device reports a recently rotated managed password.

## Remediation

- [What is Windows LAPS?](https://learn.microsoft.com/en-us/windows-server/identity/laps/laps-overview)
- [Get started with Windows LAPS for Active Directory](https://learn.microsoft.com/en-us/windows-server/identity/laps/laps-scenarios-windows-server-active-directory)
- [Manage Windows LAPS in Microsoft Entra ID](https://learn.microsoft.com/en-us/entra/identity/devices/howto-manage-local-admin-passwords)
- [Microsoft Defender for Identity security posture assessments](https://learn.microsoft.com/en-us/defender-for-identity/security-assessment)

## Run it

The check runs as part of the whole assessment, with the ZeroTrustAssessment module installed:

```powershell
Install-Module ZeroTrustAssessment -Scope CurrentUser
Connect-Maester
Invoke-Maester -Pack ZTA -SkipBuiltIn
```

Leave out `-SkipBuiltIn` to run Maester's own checks in the same run.

<details>
<summary>About this check</summary>

| | |
| --- | --- |
| Severity | High |
| Effort to fix | Medium |
| Impact on users | Low |
| Pillar | SecOps |
| Category | Identity threat protection |
| Product | [Active Directory](/docs/tests/products/ad) |
| Feature | Computers |
| Area | Privileged access |
| ATT&CK | [T1078.003](/docs/tests?mitre=T1078.003) Local Accounts, [T1550.002](/docs/tests?mitre=T1550.002) Pass the Hash |
| Licence | ATA |
| Tenant | Workforce |

Product, feature, area and ATT&CK are Maester's: the assessment does not record them, so Maester keeps them in the pack's `taxonomy.json`.

</details>

<p class="mt-ms-note not-content"><svg class="mt-ms-note__logo" viewBox="0 0 21 21" aria-hidden="true"><rect width="10" height="10" fill="#f25022"/><rect x="11" width="10" height="10" fill="#7fba00"/><rect y="11" width="10" height="10" fill="#00a4ef"/><rect x="11" y="11" width="10" height="10" fill="#ffb900"/></svg><span>A Microsoft check, part of the <a href="/docs/tests/packs/zero-trust-assessment">Zero Trust Assessment</a> pack. Text from ZeroTrustAssessment 3.1.0, © Microsoft, <a href="/docs/tests/packs/zero-trust-assessment#licence">MIT licence</a>.</span></p>
