Skip to main content

LAPS Scoping Gaps Leave Servers Sharing One Password

High severityActive Directory About 20 minutes to fixGenerated 12 Jul 2026

Overview

An unlinked or partially scoped LAPS GPO leaves domain-joined servers running the same local Administrator credential baked in at imaging time. Firewalls and network segmentation do nothing to stop lateral movement once that single password or NTLM hash is recovered from any one box in the fleet.

At a glance

Symptom
A server OU is created or a machine object is moved during a Tier restructure without the LAPS GPO link following it.
Likely cause
The Windows LAPS GPO is not linked to all OUs containing domain-joined servers, leaving them on the sysprep-baked local Administrator password.
Impact
One dumped local Administrator hash authenticates via PsExec or WMI to every unmanaged server sharing the identical imaging-time credential.
Verification signal
Re-run the detection test and a controlled negative-path test.
Safe correction
Audit GPO links against the live OU tree, enforce Windows LAPS at the parent Servers OU with blocked inheritance disabled, and verify with msLAPS-PasswordExpirationTime.
Rollback or recovery
Restore the exported configuration if the new control blocks required production traffic, then narrow the policy before redeployment.

The Trap

Windows LAPS (or the legacy LAPS CSE) is installed and configured correctly on workstation OUs but never extended to the OUs holding domain-joined servers. The GPO “Configure password backup directory” is linked to Workstations and a handful of legacy Servers OUs, but new server OUs created during a Tier 0/1/2 restructure, or servers moved out of their original container by an application team, fall outside the link scope entirely. No policy applies, so no rotation happens.

The Default State

Every server built from the same golden image inherits the local Administrator password set by the unattend.xml answer file or sysprep template. That password is never randomised post-deployment because the assumption is “LAPS handles it” — a true statement only for machines sitting inside the linked OUs. Ops teams rarely audit GPO scope against the live OU tree after reorganisations, so drift accumulates silently for years.

The Blast Radius

One compromised server yields the local Administrator NTLM hash via a single SAM dump (for example mimikatz lsadump::sam). Because the credential is identical across every unmanaged server, that hash authenticates via PsExec, WMI, or SMB admin shares to the entire fleet without cracking anything. If even one Tier 0-adjacent host — a backup server, a monitoring collector with domain admin service accounts cached, or a jump box — shares that same baked-in credential, lateral movement reaches domain controller-adjacent infrastructure in minutes. Endpoint detection tools can flag the malware yet miss the pass-the-hash pivot, because the authentication itself is legitimate.

The Lead Mechanic Fix

Run Get-ADComputer -Filter 'OperatingSystem -like "*Server*"' to find every OU holding a server (from each DistinguishedName), then cross-reference each against Get-GPInheritance -Target <OU> to confirm the LAPS GPO is actually linked, not just present in the domain. Enable native Windows LAPS with Update-LapsADSchema (a forest-wide, irreversible schema change needing Schema Admins), grant computers write access with Set-LapsADComputerSelfPermission -Identity <OU>, set the backup directory to Active Directory DS, enforce a 30-day PasswordAgeDays, minimum 20-character complexity, and link the policy at the parent Servers OU and set the link to Enforced so nested OUs with block inheritance cannot silently opt out. Audit exposure with Get-ADComputer -Filter * -Properties msLAPS-PasswordExpirationTime | Where {$_."msLAPS-PasswordExpirationTime" -eq $null} and remediate every result before the next patch cycle.

3

Apply the safer control

Before you change production

Confirm the affected scope, export the current configuration, and test the replacement control in a non-production environment first.

Fix commands and configuration

Get-ADComputer -Filter 'OperatingSystem -like "*Server*"'
Get-GPInheritance -Target <OU>
Update-LapsADSchema
4

Verify, roll back or escalate

Verify

Re-run the detection test and a controlled negative-path test. Confirm the unsafe behaviour is blocked while approved traffic still succeeds.

Rollback

Restore the exported configuration if the new control blocks required production traffic, then narrow the policy before redeployment.

Escalate

Escalate when the blast radius is uncertain, the control cannot be tested safely, or remediation requires an outage or security exception.

The KBY Brief

Fixed? Get the next one before it hits you: The KBY Brief

Practical fixes for the systems you run, by email about twice a week. Unsubscribe at any time.

About this page

Credited to

Dates

Published

Last updated

Corrections

No corrections are listed for this page. Some review sweeps corrected pages without naming each one; those are in the corrections log.

Was this useful?

Reports go to the site owner and are used to correct pages. Corrections are listed at /corrections.

After remediation

Further reading stays below the corrective workflow and is selected by platform, category and shared technical keywords.

LAPS Scoping Gaps Leave Servers Sharing One Password