Microsoft 365 Best Practices Library · Devices
Windows LAPS with Intune: a unique local administrator password on every PC
Many companies set the same local administrator password on every computer, because it is convenient for support. It also means that one password, once known, opens every machine. Windows LAPS fixes this. It gives each PC its own random local administrator password, changes it on a schedule, and stores it safely in Microsoft Entra ID where authorized IT staff can look it up when needed.
Prefer to have it done for you? IT Perfection provides Microsoft Intune management for companies in Irvine, Orange County and Los Angeles County.
Written by Ali Hassani, CISSP and C|CISO · 25+ years designing, securing and supporting business networks · Updated November 2026



Microsoft 365 Best Practices Library › Devices › Windows LAPS
Why it matters
One shared password is one key for every door
A local administrator account exists on every Windows machine. If the same password is used everywhere, an attacker who obtains it from one computer can use it on the next, and the next. Microsoft’s documentation names the attacks this enables: pass-the-hash and lateral traversal.
With Windows LAPS, the password on each PC is random and different. Learning one gives access to one machine, for a limited time.
LAPS also helps honest support work. When a laptop cannot reach the network or a user is locked out, a technician can look up that device’s current password, use it, and know it will be replaced afterwards.
How it works
Three parts: the account, the policy, the directory
Two points from Microsoft’s documentation prevent the most common surprise:
- The built-in administrator account is disabled by default on current Windows. LAPS manages its password whether the account is enabled or not, but the account must be enabled before anyone can use it.
- LAPS does not create or enable accounts for you, unless you configure its automatic account management mode. If you choose a custom account name, that account has to exist on the device.
- Microsoft Entra registered devices are not supported. Devices must be Microsoft Entra joined or hybrid joined.
Before you start
What to have ready
- Roles. Cloud Device Administrator to enable LAPS in Microsoft Entra ID. Endpoint Security Manager, or Intune Administrator, to create the policy.
- Windows up to date. Windows LAPS arrived with the April 2023 security update. Any supported, patched Windows 11 device has it.
- A decision on the account. Use the built-in administrator account, or a custom local account that you create by policy.
- A list of who may read passwords. The fewer the better. These are highly privileged roles.
- The old shared password. Know where it is used today, such as scripts or support tools, so nothing breaks when it changes.
- A pilot group. Five PCs, including one used by a support technician.
Step by step
Set up Windows LAPS in six steps
Enable LAPS for the tenant
Microsoft Entra admin center › Entra ID › Devices › Overview › Device settings
Set Enable Local Administrator Password Solution (LAPS) to Yes and save. Microsoft notes that by default Microsoft Entra ID does not accept LAPS passwords from devices until this is turned on. Hybrid joined devices do not need this step.
Create the LAPS policy
Microsoft Intune admin center › Endpoint security › Account protection › Create Policy › Windows › Local admin password solution (Windows LAPS)
Give the policy a clear name. Set Backup Directory to back up the password to Microsoft Entra ID. This one setting is the minimum that turns LAPS on for a device.
Illustration of a LAPS policy for Microsoft Entra joined devices. 30 days and 14 characters are the defaults; labels are shortened. This is not a screenshot.intune.microsoft.comIllustrationOverviewAntivirusDisk encryptionFirewallAccount protectionDevice complianceEndpoint security › Account protection › Create policyLocal admin password solution (Windows LAPS)Backup DirectoryBack up the password to Microsoft Entra ID onlyPassword Age Days30Password Length14 or morePassword ComplexityLarge letters, small letters, numbers and special charactersPost Authentication ActionsReset the password after it has been usedSet age, length and complexity
The default password age is 30 days; with Microsoft Entra ID as the backup directory the minimum is 7 days and the maximum 365. The default length is 14 characters, and it can be set from 8 to 64. Keep the full complexity setting. Nobody types these passwords from memory, so longer is free.
Set what happens after use
Configure the post-authentication actions so that after the managed account has been used, the password is reset automatically. A password that a technician has read should not stay valid.
Make sure the account can be used
If you manage the built-in administrator account and it is disabled, decide how it will be enabled when needed, or create and manage a separate named local administrator account by policy. Test this on the pilot devices: a password is no use if the account cannot sign in.
Assign, then limit who can read passwords
Assign the policy to the pilot device group, then to all company Windows devices. In Microsoft Entra ID, review the membership of the roles that can read LAPS passwords, such as Cloud Device Administrator and Intune Administrator, and remove anyone who does not need it.
Looking up a password
How a technician gets the password
| Where | Path |
|---|---|
| Microsoft Intune admin center | Devices, All devices, select the device, then Local admin password. |
| Microsoft Entra admin center | Devices, All devices, select the device, then Local administrator password recovery. |
Reading a password is written to the audit log, with who read it and for which device. Microsoft Entra ID also supports Conditional Access on the roles that can recover passwords, so a lookup can require a compliant device and strong sign-in. From the Intune admin center you can also rotate a device’s password on demand as a device action.
- Confirm the request first. Who is asking, for which device, and why.
- Use it once. Sign in, do the work, sign out.
- Let it rotate. The post-authentication action replaces the password; or rotate it by hand.
Recommended values
Settings at a glance
| Setting | Recommended | Notes |
|---|---|---|
| Enable LAPS in Microsoft Entra ID | Yes | Tenant-wide switch; off by default. |
| Backup Directory | Microsoft Entra ID | Active Directory for on-premises domain-joined devices. |
| Password age | 30 days | The default. Range with Entra ID: 7 to 365. |
| Password length | 14 or more | Default 14; range 8 to 64. |
| Password complexity | All character types | Passwords are looked up, not memorized. |
| Post-authentication action | Reset the password after use | |
| Managed account | Built-in administrator, or one named custom account | A custom account must be created separately. |
| Who can read passwords | A short named list | Reviewed quarterly. |
Sources: Microsoft Learn, Microsoft Intune support for Windows LAPS, Configure policy settings for Windows LAPS and Windows LAPS in Microsoft Entra ID, checked November 22, 2026.
Check that it works
How to confirm the result
- The policy reports success. The account protection policy shows the pilot devices as succeeded.
- A password is stored. The pilot device’s Local admin password page shows a password and its next rotation time.
- The password works. A technician signs in to the pilot PC with the managed account and the stored password.
- It changes after use. After the configured delay, the stored password is different.
- The lookup is in the audit log. The audit log shows who recovered the password and when.
- The old shared password no longer works. Try it on a pilot PC. It should be refused.
- Every device is covered. The list of LAPS-enabled devices matches your list of company Windows devices.
Mistakes and rollback
Common mistakes, and how to step back
- Forgetting the tenant switch. The policy applies but no password is ever stored.
- Managing an account that is disabled. The password exists but nobody can sign in with it.
- Naming a custom account that does not exist. LAPS does not create it.
- Leaving other local administrators in place. Staff who are local administrators on their own PC bypass the point of LAPS.
- Too many people able to read passwords. Each is a route to every device.
- Old scripts still using the shared password. They fail silently after the change.
- No rotation after use. A password read out last month still works.
Rollback. Unassigning the policy stops LAPS managing the account on those devices; the last password remains set until changed. Before unassigning, make sure you can still administer the devices another way, for example through Intune.
Licenses
Which plan gives you what
| Capability | Plan |
|---|---|
| Windows LAPS on the device | Built into supported, updated Windows. |
| LAPS policy, password view and rotation in Intune | Microsoft Intune Plan 1: included in Microsoft 365 Business Premium, E3 and E5. |
| Password backup and recovery in Microsoft Entra ID | Microsoft Entra ID Free is sufficient, according to Microsoft. |
| Conditional Access on password recovery roles | Microsoft Entra ID P1. |
Have us do it
Prefer to hand this off?
IT Perfection sets up Windows LAPS for companies in Irvine, Orange County and Los Angeles County: the tenant setting, the Intune policy, a managed local administrator account that works, a short list of who can read passwords, a lookup procedure for support, and removal of the old shared password. You receive a written scope and a written quote before any work starts.
Next in the library
Related guides
For a formal written audit of your Microsoft 365 tenant, including device management, OC Security Audit, our related cybersecurity brand also led by Ali Hassani, does that work.

Who does the work
Written by Ali Hassani, CISSP, C|CISO
Ali Hassani has 25+ years of hands-on experience in IT operations, cybersecurity, Microsoft infrastructure, network security and Azure, and works with businesses in Irvine, Orange County and Los Angeles County. Design, implementation and troubleshooting work is planned and reviewed by Ali personally.
This guide is for education and planning. It does not replace a professional audit, compliance assessment or vendor engineering review. Updated November 2026.








FAQ
Windows LAPS: common questions
What is Windows LAPS?
Windows Local Administrator Password Solution is a feature built into Windows that gives the local administrator account on each device a unique, random password, rotates it on a schedule, and backs it up to Microsoft Entra ID or Active Directory.
Do I need to install anything for Windows LAPS?
No. Windows LAPS is part of Windows from the April 2023 security update onward. You enable it in Microsoft Entra ID and configure it with a policy, for example from Intune.
Where are LAPS passwords stored?
With an Intune policy for Microsoft Entra joined devices, the password is backed up to Microsoft Entra ID. Authorized administrators can view it from the device’s page in the Intune or Microsoft Entra admin center.
How often does LAPS change the password?
The default password age is 30 days. When passwords are backed up to Microsoft Entra ID it can be set from 7 to 365 days. The password can also be reset automatically after it has been used.
Does Windows LAPS create a local administrator account?
Not by default. It manages the built-in administrator account or a custom account you name. A custom account has to be created separately, unless you use the automatic account management mode.
Who can read a LAPS password?
Only accounts in roles that hold the recovery permission, such as Cloud Device Administrator and Intune Administrator. Every recovery is recorded in the audit log.
What license does Windows LAPS need?
Microsoft Intune Plan 1 to manage the policy from Intune. Microsoft states that Microsoft Entra ID Free supports all LAPS features.
Need this done for your business?
IT Perfection plans, installs and supports this for companies in Irvine and Orange County
The guides explain the steps. If you would rather have it done, planned and documented by an experienced engineer, these are the services that cover it. Design, implementation and troubleshooting work is planned and reviewed by Ali Hassani personally.
Microsoft Intune management
Laptops and phones enrolled, configured and secured from one console.
View serviceEndpoint security, EDR and MDR
Endpoint protection deployed, tuned and watched on every device.
View serviceEndpoint and patch management
Windows and application updates tested and installed on schedule.
View service