Skip to content
Knowledge Base

What is Windows LAPS? How local administrator password management works

One local administrator password on every computer is a gift to an attacker: a single compromised workstation opens the way to the next. Windows LAPS closes that path at no extra license cost — as long as you roll it out completely. Here is how it works and what to watch for.

What is Windows LAPS?

Windows LAPS (Windows Local Administrator Password Solution) is a mechanism built into Windows that sets, changes and stores the password of the local administrator account on every computer and server by itself — with a copy kept in Microsoft Entra ID or in Windows Server Active Directory. The password is random, different on every machine and changed regularly, and an authorized administrator can read it when they need to sign in to the local account — for example when a device has lost its connection to the domain.

On domain controllers, Windows LAPS can also manage the password of the DSRM account (Directory Services Restore Mode), the account used to recover a domain controller. In many organizations that account still has the password set once, during installation, and never changed since.

A short definition of the acronym is also available in the LAPS glossary entry. In this article we explain how LAPS works, where it stores passwords, how it differs from legacy Microsoft LAPS and which deployment mistakes leave the protection existing only on paper.

What problem does LAPS solve, and why is a shared admin password dangerous?

Many companies build their workstations from a single system image. Along with that image, every machine gets the same local administrator account with the same password. It’s convenient for the IT department — and just as convenient for an attacker.

The mechanism is simple: whoever takes over one workstation and obtains the local administrator credentials (the password or its hash) can use them on every other machine that shares that password. That is what lateral movement across a network looks like, and the pass-the-hash technique makes it possible even without knowing the password itself. Microsoft names resistance to pass-the-hash and to lateral-traversal techniques as one of the main reasons to use Windows LAPS.

The scenario LAPS protects against goes like this: an employee opens a malicious attachment, the attacker gains control of their computer, and after elevating privileges on that one machine it turns out that the same local account with the same password exists on the file server, on the accounting team’s computers and on an administrator’s workstation. From that moment on, the attacker doesn’t need to crack anything — they simply sign in, one machine after another. None of these steps requires sophisticated tools, which is why a shared local administrator password is a finding worth closing first after an Active Directory test.

LAPS breaks this chain, because a credential obtained on one machine fits no other. It also brings two operational benefits: safer remote help desk support (a technician gets the password for one machine, not a “password for everything”) and the ability to sign in to a device that has lost contact with the domain.

How does Windows LAPS work, step by step?

  1. Policy. An administrator defines which account LAPS manages (by default, the built-in administrator account), where the password copy goes, how long a password stays valid and how complex it must be.
  2. Generation and backup. The device generates a random password (or passphrase), sets it on the local account and writes it to the directory — Entra ID or Active Directory — together with an expiration time calculated from the policy.
  3. Rotation. When the expiration time arrives, the device changes the password itself and updates the copy in the directory.
  4. Retrieval. An authorized administrator reads the password from the console, the PowerShell module or the Intune admin center and signs in to the local account.
  5. Early rotation. The password can be changed ahead of schedule: with the Reset-LapsPassword cmdlet on the device, with the ResetPassword action in the CSP or — in Active Directory — by changing the stored expiration time.

An account managed by LAPS is protected against accidental or unauthorized password changes: unexpected attempts to modify the password are rejected and recorded in the Windows LAPS event log. That matters, because a password set by hand by a “resourceful” technician would immediately drift out of sync with the copy in the directory.

Where does Windows LAPS store passwords — in Entra ID or in Active Directory?

That depends on what the device is joined to:

Device stateWhere the password copy goesHow access is protected
Microsoft Entra ID onlyEntra ID onlyMicrosoft Entra roles (RBAC)
Active Directory onlyActive Directory onlyACLs, optionally encryption
hybrid (Entra ID and AD)Entra ID or AD — your choiceaccording to the chosen directory

The copy can’t be written to both directories at the same time. Devices registered as workplace-joined aren’t supported. Support for Entra ID and Intune has been generally available since October 23, 2023.

In Active Directory it’s worth turning on password encryption — then only the designated principal (by default the Domain Admins group) can read passwords, rather than anyone who has read access to the attribute. Encryption requires a domain functional level of at least 2016; at a lower level, passwords are stored in clear text protected only by ACLs. Encryption also unlocks password history, which helps when you restore a machine from a backup in which an older password was in force.

Which systems does Windows LAPS run on?

Windows LAPS is built into Windows 11 23H2 and later and into Windows Server 2025 and later. Older versions received it in the update released on April 11, 2023: Windows 11 22H2 and 21H2, Windows 10, Windows Server 2022 and Windows Server 2019. The feature works in all supported editions, LTSC included.

A note on Windows 10: support for the system ended on October 14, 2025, and LAPS keeps working only on Windows 10 devices that still get patches — for instance through the ESU program. For new rollouts, Microsoft points you to Windows 11 or to a Windows Server release that is still in support. A computer without the April 2023 update doesn’t have Windows LAPS — and it’s often exactly the machine that has had the same old administrator password for years.

How does Windows LAPS differ from legacy Microsoft LAPS?

Legacy Microsoft LAPS was a separate product, released in 2016 as a package to download and install. Windows LAPS is part of the operating system — there’s nothing to install — and it’s a separate implementation that took over its predecessor’s concept but added, among other things:

  • password backup to Microsoft Entra ID,
  • password encryption in Active Directory and password history,
  • management of the DSRM account on domain controllers,
  • actions performed after a password has been used (more on those below).

From Windows 11 23H2 onward, legacy Microsoft LAPS is deprecated — newer systems block the installation of its package. For the migration, Microsoft provides an emulation mode: Windows LAPS honors the existing Group Policy settings of legacy LAPS. It’s a transitional solution, though: in emulation mode passwords are written to Active Directory in clear text, without encryption or history. If the legacy LAPS client is still present on a device, Windows LAPS turns emulation off so that two mechanisms don’t manage the same account.

What happens to the password after it has been used?

This is a feature many deployments skip, even though it’s one of the most valuable. Once an administrator reads a password and signs in to the local account, the password is no longer a secret — at least one person knows it, and it may also have ended up in a note or a chat history.

Windows LAPS lets you configure post-authentication actions. After a grace period expires (24 hours by default, 24 at most, and a value of 0 turns the actions off), LAPS:

  • resets the password,
  • resets the password and signs out sessions that use the managed account (the default setting),
  • or resets the password and restarts the device.

The idea is simple: a clear-text password should be usable only for a limited time. These actions don’t apply to the DSRM account on domain controllers — there, rotation after use has to be built into the procedure.

How do you configure Windows LAPS — Group Policy, Intune or CSP?

Microsoft provides three ways to set the policy:

  • Group Policy (GPO) — the natural choice for devices in Active Directory,
  • the Windows LAPS CSP — for devices managed by Microsoft Intune, which is the recommended tool for devices in Entra ID,
  • legacy LAPS emulation — only for the duration of a migration.

The default values are a sensible starting point: a password valid for 30 days, 14 characters long, high complexity. LAPS can also generate passphrases built from words, which are easier to type from a screen. Day-to-day work happens in the computer properties dialog in the Active Directory Users and Computers console, in the LAPS PowerShell module and in the dedicated event log — and, when the copy is kept in Entra ID, in Entra and Intune reporting.

Before you switch the policy on, it’s worth making a few decisions deliberately rather than leaving them to the defaults:

DecisionWhat to consider
Which account LAPS managesthe built-in administrator account or a dedicated local account — one, documented in the workstation standard
How long a password stays validshorter for servers and admin workstations, the default cycle for ordinary workstations
What happens after a password is usedreset and sign-out as the standard; restart where sessions might stay open
Where the copy goesaccording to how devices are joined; in AD with encryption if the domain level allows it
Who can read passwordsseparate groups for workstations, servers and domain controllers, without accounts used for email and browsing

More important than password length, though, is who can read it. The right to read a LAPS password is, in practice, administrator rights on that machine — it should go to a narrow group, separately for workstations, servers and domain controllers.

How much does Windows LAPS cost?

The feature itself costs nothing. Microsoft’s documentation states that every supported Windows platform includes Windows LAPS free of charge. Backing up passwords to Active Directory requires no additional licenses; backing them up to Entra ID requires a Microsoft Entra ID Free license or higher. Managing it through Intune requires a Microsoft Intune Plan 1 subscription.

The real cost is the work: inventorying machines, designing permissions, migrating from legacy LAPS and writing procedures for the support team. With no license fee involved, a missing LAPS deployment in an audit is hard to justify with anything other than a lack of time.

Which deployment mistakes weaken LAPS protection?

LAPS is easy to switch on and just as easy to deploy “almost”. The most common gaps worth checking:

  1. Machines outside the policy scope. The policy is linked to one organizational unit, while servers and older computers sit in others. A report of “devices without a stored LAPS password” should be empty.
  2. Read access that is too broad. If the whole IT department, or a support group using everyday accounts, can read passwords, LAPS simply moves the problem from the machines to the directory.
  3. No encryption in Active Directory. Without encryption, access depends on ACLs alone, and any mistake in delegated permissions exposes passwords.
  4. Post-authentication actions turned off. A password read during an outage stays valid until the end of the cycle — potentially for weeks.
  5. A leftover legacy LAPS client. A mixed environment makes it hard to tell which mechanism actually manages the account.
  6. An unmanaged DSRM account. Domain controllers are the most valuable machines on the network, and their recovery account often has a password that is years old.
  7. The local administrator used for everyday work. LAPS doesn’t replace the rule that administrator accounts aren’t used for day-to-day tasks.

Each of these points can be checked in a few hours, and together they decide whether a penetration test finding such as “the same administrator password on many machines” has really been closed.

How does LAPS fit into privileged access management (PAM)?

LAPS solves one important piece of the problem: local account passwords. It doesn’t cover highly privileged domain accounts, service accounts, third-party vendor access or oversight of what an administrator does during a session. Those are handled by PAM systems — a password vault, a session gateway with recording, access granted for the duration of a task.

In a mature environment the two mechanisms complement each other: LAPS makes sure every local account has a unique, rotated password, while a PAM system controls who uses privileged accounts across the whole infrastructure, and when. If you’re planning to bring administrator accounts under control more broadly than local passwords, see what a PAM implementation looks like.

Where should you start a Windows LAPS deployment?

  1. Inventory. A list of devices, their join state (Entra ID, AD, hybrid) and the system version with its updates.
  2. Directory and permissions decision. Where password copies go, who can read them (separately for workstations, servers and domain controllers), and whether to turn on encryption and history.
  3. Pilot. One group of devices; check password backup, rotation and post-authentication actions.
  4. Migration from legacy LAPS. Use emulation mode only where necessary, and remove the old client.
  5. Rollout and control. A report of machines without a LAPS password, a review of read permissions, a procedure for the support team.

The support team procedure deserves a separate sentence, because it decides whether LAPS is used as intended. A technician should know when they may retrieve a local administrator password, which account they read it from, how they record the reason and what happens to the password once the work is done. If post-authentication actions are enabled, the system takes care of that last point by itself — if not, the procedure has to require a manual rotation.

Before you start, it helps to know what the rest of the directory looks like: who has administrator rights, what paths lead to domain takeover and which LAPS settings will have a real effect. An Active Directory security audit answers those questions — among other things, it shows machines without LAPS and overly broad rights to read passwords, and its results are a good starting point for a PAM project.

Key takeaway: LAPS protects as many machines as it covers, and a password is only as safe as the group of people who can read it is narrow.

Frequently asked questions

What is Windows LAPS in a nutshell?

Windows LAPS is a feature built into Windows and Windows Server that automatically changes the password of the local administrator account on each device and keeps a copy in Microsoft Entra ID or Active Directory. Every machine ends up with a different password, and an authorized administrator can read it when needed.

Does Windows LAPS cost anything?

No. Microsoft provides Windows LAPS at no cost on supported Windows versions. Storing passwords in Active Directory needs no additional licenses, and for Entra ID a Microsoft Entra ID Free license is enough. Managing it through Intune requires an Intune subscription.

Can Windows LAPS store passwords in both Entra ID and Active Directory?

No. A hybrid-joined device can back up its password to Entra ID or to Active Directory, but not to both at once. A device joined to only one directory uses that directory exclusively.

Do I have to remove legacy Microsoft LAPS before deploying Windows LAPS?

Eventually, yes. Starting with Windows 11 23H2, legacy Microsoft LAPS is deprecated, and when its client is present on a device, Windows LAPS turns off emulation mode to avoid a conflict. Microsoft recommends migrating to native Windows LAPS and removing the old software once the move is complete.

Is LAPS enough to protect privileged accounts?

No. LAPS manages the passwords of local administrator accounts and the DSRM account. It doesn't cover domain accounts, service accounts or oversight of administrator sessions — those are jobs for a PAM system and for reviewing permissions in Active Directory.

Share:

Talk to an expert

Have questions about this topic? Get in touch with our specialist.

Sales Representative
Grzegorz Gnych

Grzegorz Gnych

Sales Representative

Response within 24 hours
Free consultation
Individual approach

Providing your phone number will speed up contact.

Want to Reduce IT Risk and Costs?

Book a free consultation - we respond within 24h

Response in 24h Free quote No obligations