Microsoft Intune
Device security

Overview of Windows LAPS with Microsoft Intune - Microsoft Intune | Microsoft Learn

In brief

The overview’s wording, grammar, punctuation, link formatting, capitalization, and page date were updated. The description was also shortened.

What Intune admins need to know

No administrator action is required; existing LAPS configuration and management guidance are unchanged in the supplied diff.

This summary was assembled from the tracked documentation change. Verify important details in the full Microsoft Learn article.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

  • M365-identity-device-management
  • sub-secure-endpoints ms.subservice: protect description: Learn how you can use Microsoft Microsoft Intune and application protection policy to manage the local administrator accounts on Windows devices. Through the Windows LAPS CSP, back up accounts and passwords to Microsoft Entra ID, define password requirements, and protect account passwords through scheduled password rotations and manual rotations at need. ms.date: 2025-05-29T00:2026-11-11T00:00:00.0000000Z ms.topic: how-to ms.reviewer: laarrizz locale: en-us

Overview of Windows LAPS with Microsoft Intune - Microsoft Intune | Microsoft Learn

Every Windows machine has a built-in local administrator account that you can't be deleted,delete, and whichit has full permissions to the device. Securing this account is an important step in securing your organization. Windows devices include Windows Local Administrator Password Solution (LAPS), a built-in solution to help manage local admin accounts.

You can use Microsoft Intune endpoint security policies for account protection to manage LAPS on devices that have enrolledenroll with Intune. Intune policies can:

  • Enforce password requirements for local admin accountsaccounts.
  • Back up a local admin account from devices to your Active Directory (AD) or Microsoft EntraEntra.
  • Schedule rotation of those account passwords to help keep them safe.

You can also view details about the managed local admin accounts in the Intune Adminadmin center, and manually rotate their account passwords outside of a scheduled rotation.

Use of Intune LAPS policies helps you protect Windows devices from attacks that are aimed at exploitingexploit local user accounts like pass-the-hash or lateral-traversal attacks. Managing LAPS with Intune can also help improve security for remote help desk scenarios and recover devices that are otherwise inaccessible.

Intune LAPS policy manages the settings available from the Windows LAPS CSP. Intune's use of the CSP replaces the use of Legacy Microsoft LAPS or other LAPS management solutions, with CSP based taking precedence over other LAPS management sources.

Intune support for Windows LAPS includes the following capabilities:

  • Set password requirements -. Define password requirements including complexity and length for the local administrator account on a device.
  • Rotate passwords -. With policy you can have devices automatically rotate the local admin account passwords on a schedule. You can also use the Intune admin center to manually rotate the password for a device as a device action.
  • Backup accounts and passwords -. You can choose to have devices back up their account and password in either Microsoft Entra ID in the cloud, or your on-premises Active Directory. Passwords are stored using strong encryption.
  • Automatic Account Management - (Supported. Supported on Windows 11 24H2 and later) -later. Simplify management of the built-in administrator account or a custom account that you specify. Automatic account management options support disabling or enabling the specified account and randomization of the account name or prefix. Use of automatic account management also expands LAPS account tampering protection.
  • Configure post authenticating actions -. Define actions that a device takes when its local admin account password expires. Actions range from resetting the managed account to use a new secure password, logging offsigning out the account, or doing both and then powering down the device. You can also manage how long the device waits after the password expires before taking these actions.
  • View account details -. Intune administrators with sufficient role-based administrative control (RBAC) permissions can view information about a devicesdevice's local admin account and its current password. You can also see when that password was last rotated (reset) and when it's next scheduled to rotate.
  • View reports -. Intune provides reports on password rotation including details about past manual and scheduled password rotation.

To learn about Windows LAPS in more detail, start with the following articles in the Windows documentation:articles:

  • What is Windows LAPS? -. Introduction to Windows LAPS and the Windows LAPS documentation set.set
  • Windows LAPS CSP -. View the full details for LAPS settings and options. Intune policy for LAPS uses these settings to configure the LAPS CSP on devices.

Applies to:

Licensing requirements

  • Intune subscription -. Microsoft Intune Plan 1, which is the basic Intune subscription. You can also use Windows LAPS with a free trial subscription for Intune.
  • Microsoft Entra ID -. Microsoft Entra ID Free, which is the free version of Microsoft Entra ID that's included when you subscribe to Intune. WithBy using Microsoft Entra ID Free, you can use all the features of LAPS.

Active Directory support

Note

DevicesIntune for LAPS doesn't support devices that are workplace-joined (WPJ) aren't supported by Intune for LAPS..

  • Cloud -. Cloud supports backup to your Microsoft Entra ID for the following scenarios:

  • On-premises -. On-premises supports back upbackup to Windows Server Active Directory (on-premises Active Directory).

    Important

    LAPS on Windows devices can be configured to use one directory type or the other, but not both. Also consider,Also, the backup directory must be supported by the devicesdevice's join type - iftype. If you set the directory to an on-premises Active Directory and the device isn't domain joined, it accepts the policy settings from Intune, but LAPS can't successfully use that configuration.

Device Editionedition and Platformplatform

Devices can have any Windows edition that Intune supports, but must run of one of the following versions to support the Windows LAPS CSP:CSP, devices must run one of the following versions:

  • Windows 11, version 22H2 (22621.1555 or later) with KB5025239
  • Windows 11, version 21H2 (22000.1817 or later) with KB5025224

Role based access controls for LAPS

To manage LAPS, an account must haveneeds sufficient role-based access control (RBAC) permissions to complete athe desired task. The following are thelist shows available tasks withand their required permissions:

  • Create and access LAPS policy -. To work with and view LAPS policies, your account must be assignedhave sufficient permissions from the Intune RBAC category for Security baselines. By default, Intune includes these are includedpermissions in the Intune built-in roleEndpoint Security Manager. To use custom Intune RBAC roles, ensure the custom role includes the rights from the Security baselines category.

  • Rotate local Administrator password -. To use the Intune admin center to view or rotate a devicesdevice's local admin account password, your account must be assignedhave the following Intune permissions:

    • Managed devices: Read

    • Organization: Read

      Important

      The Remote tasks action of Rotate Local Admin Password isn't included by anyNo Intune built-in role or the Microsoft Entra built-in role of Intune Administrator.Administrator includes the Remote tasks action of Rotate Local Admin Password. Instead, use a custom Intune role to assign this permission to users who should haveneed this capability.

  • Retrieve local Administrator password -. To view password details, your account must have one of the following Microsoft Entra permissions:

    • microsoft.directory/deviceLocalCredentials/password/read to read LAPS metadata and passwords.
    • microsoft.directory/deviceLocalCredentials/standard/read to read LAPS metadata excluding passwords.

    To create custom roles that can grant these permissions, see Create and assign a custom role in Microsoft Entra ID in the Microsoft Entra documentation.

  • View Microsoft Entra audit logs and events -. To view details about LAPS policies and recent device actions such as password rotation events, your account must have permissions equivalent to the built-in Intune role Read Only Operator.

For more information about Intune's built-in roles and custom roles, see Role-based access control for Microsoft Intune.

LAPS Architecture

For information about Windows LAPS architecture, see Windows LAPS architecture in the Windows documentation..

Frequently Asked Questionsasked questions

Can I use the Intune LAPS policy to manage any local admin account on a device?

Yes. Use the Intune LAPS policy can be used to manage any local administrator account on a device. However, LAPS supports only one account per device:

  • When a policy doesn't specify an account name, Intune manages the default built-in administrator account regardless of its current name on the device.
  • You can change the account that Intune manages for a device by changing the device's assigned policy or editing its current policy to specify a different account.
  • If two separate policies are assigned to a device that both specify a different account, a conflict occurs that you must be resolvedresolve before the device's account can be managed.

What if I deploy the LAPS policy with Intune to a device that already has LAPS configurations from a different source?

The CSP-based policy from Intune overrides all other sources of LAPS policy, such as from GPOs or a configuration from Legacy Microsoft LAPS. For more information, see Supported Policy roots in the Windows LAPS documentation..

Can Windows LAPS create local admin accounts based on the administrator account name that's configured I configure by using the LAPS policy?

Starting with Windows 11 24H2, you can configure Windows LAPS by using the new automatic account management mode to manage the built-in local Administrator account or create a new, custom account that it then manages. On down-level Windows versions, Windows LAPS can only manage accounts that already exist on the device.

Note

When you use manual account management mode or Windows LAPS on devices runningthat run Windows 11 version 23H2 or earlier, specifying an account name that doesn't exist on the device has no effect and doesn't generate an error.

Does Windows LAPS rotate and backupback up the password for a device that is disabled in Microsoft Entra?

No. Windows LAPS requires the device to be in an enabled state before password rotation and backupback up operations can apply.

What happens when a device is deleted in Microsoft Entra?

What roles are needed to recover LAPS passwords?

The following built-in Microsoft Entra roles have permission to recover LAPS passwords: Cloud Device Administrator, and Intune Administrator.

What roles are needed to read LAPS metadata?

The following built-in Microsoft Entra roles roles are supported tocan view metadata about LAPSLAPS, including the device name, last password rotation, and next password rotation:

  • Security Reader

You can also use the following roles:

  • Cloud Device Administrator
  • Intune Administrator
  • Helpdesk Administrator
  • Security Administrator

Why is the Local admin password button greyed out and inaccessible?

Currently, access to this area requires the Rotate local Administrator password Intune permission. See Role-based access control for Microsoft Intune.

What happens when the account specified by policy is changed?

Daily Intune.Admin.News

Get daily email updates

Get a concise summary of the latest Microsoft Intune updates delivered straight to your inbox.

Loading the secure signup form…