Written by Ruben Selby, founder and penetration tester at Wolfcore. Last reviewed 22 November 2026.
Part of the Credentials, identity and exposure section of the Wolfcore Resources library.
In one sentence: Windows LAPS is a free Windows feature that gives each computer its own random local administrator password, changes it on a schedule and stores it safely, so one stolen password cannot open every machine.
What it is
Every Windows computer has a built-in local administrator account. If your IT person built all the PCs from one image with one admin password, every PC shares that password. Steal it from one and an attacker can try it on all the others.
Microsoft’s overview says Windows LAPS (Local Administrator Password Solution) automatically manages and backs up the password of a local administrator account on Microsoft Entra-joined or Windows Server Active Directory-joined devices. It regularly rotates each device’s password, stores it securely and lets authorised administrators retrieve it to sign in to or recover a device.
It is not the old “Microsoft LAPS” download. Microsoft says the legacy product is deprecated on Windows 11 23H2 and later and that newer systems block its installer. Windows LAPS is built in, so there is nothing to install.
How it works
- You set a policy. For Entra-joined devices Microsoft recommends Microsoft Intune. For Active Directory devices it recommends Group Policy.
- The device changes its own password. When the password expires, the device generates a new random password that meets your length and complexity settings.
- It stores the password in your directory, either Microsoft Entra ID or Windows Server Active Directory. A device that is joined only to one can store only there. Hybrid-joined devices can choose one but not both.
- Authorised admins retrieve it when needed. In Entra ID access is controlled by roles. In Active Directory it is controlled by access control lists, and optionally by encryption.
- It rotates again. You can force an early change with the Reset-LapsPassword command, for example after a suspected breach.
What it does: stops password sharing between machines, and gives your help desk a safe way to sign in to a locked-out PC.
What it does not do: it does not protect domain accounts, stop phishing, or stop an attacker who already has admin on that one machine. It also does not create a custom admin account for you. If you manage a custom account, Microsoft says you must create it yourself.
Who it affects and how badly
Anyone running Windows PCs and servers without LAPS, which is a lot of small and mid-sized businesses.
- Sole trader to 10 staff: a shared admin password across a handful of PCs. If one laptop is taken over, the accounts PC and the shared drive follow. Worst case is a ransomware outage.
- 10 to 50 and 50 to 250 staff (schools, care providers, manufacturing, construction): a shared image password across dozens of PCs. Worst case is an attacker with admin on every machine and the ability to disable security tools.
- 250 plus and regulated (fintech, insurance, healthcare, councils, MSPs): audit findings, a large scale incident and regulator action. An MSP that reuses one local admin password across customers multiplies the damage.
Microsoft lists the benefits as protection against pass-the-hash and lateral-traversal attacks, better security for remote help desk work, and the ability to recover devices otherwise locked out. See how pass-the-hash works and how lateral movement works.
Real examples
I have not cited a named incident, because public breach reports seldom state whether local admin passwords were shared. The primary source for the risk is Microsoft’s own documentation above.
Illustration, not a real case. A 35-person care provider has 30 PCs built from one image. One carer’s PC is infected by an email attachment. The attacker uses the shared admin password on the office manager’s PC, which holds rotas and care plans. Cost: several days of manual paperwork, a report to the regulator and anxious families. With Windows LAPS, the attacker’s stolen password only fits one PC.
What we check on a test
On an internal test we check whether the local administrator password is the same across machines we can reach, whether an everyday staff account has local admin rights, and whether password retrieval permissions in the directory are limited to the right group. We tell you where one machine’s secret would open another. We do not read or keep your real passwords outside the agreed scope. Our penetration testing service includes this kind of internal check.
Rules and regulators
- UK: the NCSC’s lateral movement guidance says a single account should not grant access to all devices across an enterprise, particularly if privileged. Cyber Essentials has rules on administrative accounts; I have not opened the current requirements for this entry, so check their wording.
- EU and US: NIS2, SOC 2 and PCI DSS all ask for access control over privileged accounts. I have not opened those texts for this entry, so confirm the exact clause with your assessor.
How to detect it
- Check coverage. In Intune or Entra, see which devices have a stored password. In Active Directory, check the LAPS attributes on computer objects.
- Check the event log. Windows LAPS writes to its own event log channel, and Microsoft documents a 10029 event for a successful Entra ID password update.
- Check who can read passwords. Review the Entra roles that can read them. Microsoft calls them highly privileged.
- Look for the old product. Find machines still running the legacy LAPS installer.
- Test one machine. Confirm the password retrieved from the directory actually works.
How to fix or prevent it
- Turn it on for every Windows PC and server on supported builds. Microsoft says it is available at no cost on supported Windows platforms. Windows 11 23H2 or later, or any supported release that has had the April 11, 2023 update or later, includes it.
- For Entra-joined devices, enable LAPS in Entra device settings first. Microsoft says Entra ID does not allow devices to post new passwords until your IT admin enables the feature at the tenant level. Then set the BackupDirectory policy to back up to Entra ID.
- For Active Directory devices, follow Microsoft’s Active Directory setup guide. It involves a one-time schema update and applying policy with Group Policy.
- Restrict who can read passwords. Microsoft describes access control lists and optional password encryption for Active Directory storage, and role-based access for Entra ID.
- Rotate after use, for example with post-authentication actions, so a password a technician saw stops working.
- Remove shared passwords and everyday local admin rights.
Licensing, per Microsoft: backing up to Active Directory needs no extra licence. Backing up to Entra ID needs Entra ID Free or higher.
Frequently asked questions
Is Windows LAPS free? Yes on supported Windows platforms. Entra ID storage needs an Entra ID Free licence or higher.
Can I store passwords in both Entra ID and Active Directory? No. Microsoft says you cannot back up to both.
Is the old LAPS still supported? On older Windows versions until their normal end of support. On Windows 11 23H2 and later, it is deprecated and Microsoft says newer systems block its installer.
Related terms
how lateral movement works, how pass the hash works, windows event id 4732 member added to local group, windows event id 4672 special privileges assigned, windows event id 4720 user account created, how kerberoasting works, Credential Guard in Windows: What It Does and Does Not Stop
How Wolfcore helps
Breachy checks whether your staff email addresses and passwords are already in known breaches and gives you the exact steps to close each exposure. See https://wolfcore.co.uk/breachy/
Wolfcore
Would your staff click a phishing email?
Run a real, safe phishing test on your team with Phishy. Free for 14 days, up to 10 staff, no card. We help you set it up.
Start a free phishing testFree website security scanor book a 30 minute call