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.

Ali Hassani, CISSP and Certified CISO, IT PerfectionWritten by Ali Hassani, CISSP and C|CISO · 25+ years designing, securing and supporting business networks · Updated November 2026

IT security analyst working at a monitoring workstation
1 · EnableLAPS is switched on for the tenant in Microsoft Entra ID.

Microsoft 365 Best Practices Library › Devices › Windows LAPS

What it isWindows Local Administrator Password Solution, built into Windows. It manages the password of a local administrator account on each device, rotates it, and backs it up to Microsoft Entra ID or Active Directory.
Where it livesMicrosoft Intune admin center › Endpoint security › Account protection
License neededMicrosoft Intune Plan 1 to manage the policy. Microsoft states that Microsoft Entra ID Free is enough to use all LAPS features.
Time to set upAbout an hour to enable, set the policy and test on a pilot group.
Risk if missingHigh A shared local administrator password lets anyone who learns it sign in as administrator on every computer in the company.

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

The managed accountBy default LAPS manages the built-in local administrator account, identified by its well-known ID, not its name. You can name a different local account instead.
The policyAn Intune account protection policy sets where the password is backed up, its length and complexity, how often it changes, and what happens after it is used.
The directoryThe current password is stored with strong encryption in Microsoft Entra ID, or in on-premises Active Directory. Authorized roles can read it, and each read is audited.

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

  1. 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.

  2. 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.

  3. Set 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.

  4. 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.

  5. 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.

  6. 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

WherePath
Microsoft Intune admin centerDevices, All devices, select the device, then Local admin password.
Microsoft Entra admin centerDevices, 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

SettingRecommendedNotes
Enable LAPS in Microsoft Entra IDYesTenant-wide switch; off by default.
Backup DirectoryMicrosoft Entra IDActive Directory for on-premises domain-joined devices.
Password age30 daysThe default. Range with Entra ID: 7 to 365.
Password length14 or moreDefault 14; range 8 to 64.
Password complexityAll character typesPasswords are looked up, not memorized.
Post-authentication actionReset the password after use
Managed accountBuilt-in administrator, or one named custom accountA custom account must be created separately.
Who can read passwordsA short named listReviewed 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

CapabilityPlan
Windows LAPS on the deviceBuilt into supported, updated Windows.
LAPS policy, password view and rotation in IntuneMicrosoft Intune Plan 1: included in Microsoft 365 Business Premium, E3 and E5.
Password backup and recovery in Microsoft Entra IDMicrosoft Entra ID Free is sufficient, according to Microsoft.
Conditional Access on password recovery rolesMicrosoft 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.

Ali Hassani, CISSP and Certified CISO, IT Perfection

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.

ISC2 CISSP badgeEC-Council Certified CISO (C|CISO) badgeCisco CCNP Routing and Switching badgeMCSE: Server Infrastructure badgeMicrosoft MCSE badgeMCSA: Security badgeCisco CCNA Cybersecurity badgeMCITP badge

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 service

Endpoint security, EDR and MDR

Endpoint protection deployed, tuned and watched on every device.

View service

Endpoint and patch management

Windows and application updates tested and installed on schedule.

View service