OneIdPWindows LAPS: What It Is, How It Works, Setup & Benefits

Windows LAPS: What It Is, How It Works, Setup & Benefits

Published April 13, 2026 by Steven Chopade in OneIdP

Windows Local Administrator Password Solution (LAPS) is a built-in Microsoft security feature that automatically manages and rotates local administrator passwords on supported Windows devices. It ensures each managed Windows device has a unique, regularly updated local admin password that IT teams can securely retrieve when needed. This helps organizations reduce the risk of credential theft, lateral movement, and unauthorized administrator access.

Key takeaways

Windows LAPS improves endpoint security by automatically generating, rotating, storing, and controlling access to unique local administrator passwords across managed Windows devices.

  • Reduce password reuse: Windows LAPS generates unique, randomized passwords for managed local administrator accounts, reducing risks associated with shared, static, or predictable credentials.
  • Automate password rotation: IT teams can define password complexity, expiration, reset, and rotation policies so credentials are changed regularly without manual intervention.
  • Restrict password access: Role-based permissions, encryption, and secure on-demand retrieval help ensure that only authorized administrators can view or use local admin credentials.
  • Support Zero Trust security: Unique administrator passwords, automated rotation, and restricted credential access help reduce lateral movement risks and support least-privilege security practices.
  • Support password recovery: Authorized administrators can retrieve local administrator passwords backed up to Microsoft Entra ID or Windows Server Active Directory when troubleshooting or recovering managed devices.
Windows LAPS

What is Windows LAPS?

Windows LAPS is a native Microsoft Windows security feature that automatically manages, rotates, and backs up passwords for local administrator accounts on Microsoft Entra-joined or Windows Server Active Directory-joined devices.

LAPS for Windows performs these actions securely, silently, and without any manual intervention on managed Windows devices. It eliminates the risk of shared credentials, enhances endpoint security, and supports compliance with organizational and regulatory standards.

Why is Windows LAPS needed?

Many organizations need local administrator accounts for maintenance and troubleshooting. Using the same password across multiple devices creates a security risk: if an attacker obtains that password on one device, they may be able to use it elsewhere. Windows LAPS addresses this by giving devices managed, regularly rotated local administrator passwords.

Here are some key benefits of Windows LAPS:

  • Automation: Automates local administrator account management and embeds it within the enterprise’s endpoint control and identity framework.
  • Storage: Securely backs up local administrator account passwords to Microsoft Entra ID or Windows Server Active Directory, based on the device’s join state and configuration.
  • Centralization: Provides centralized command and visibility to manage local administrator passwords across Windows devices.
  • Audit: Enables detailed tracking and logging of local administrator password changes to meet audit and compliance requirements.
  • Zero Trust: Strengthens security by enforcing unique, randomized, regularly rotated local administrator credentials on each Windows device. This reduces implicit trust and supports a Zero Trust framework.
  • Retrieval: Allows authorized IT administrators to securely retrieve local administrator passwords only when needed, based on access permissions.
  • Compliance: Supports compliance with PCI DSS, GDPR, HIPAA, and other regulatory standards by implementing strong passcode hygiene.
  • Security: Reduces security risk by removing the predictability of local administrator passwords, closing a common vector for lateral movement attacks.

How does Windows LAPS work?

Windows LAPS automatically manages the password of a local administrator account on supported Windows devices. Based on the configured policy, it generates and regularly rotates the password, reducing the risk associated with shared or unchanged administrator credentials.

The password is securely backed up to Microsoft Entra ID or Windows Server Active Directory, depending on how the device is joined. Authorized administrators can retrieve the password when local administrator access is needed for troubleshooting, maintenance, or device recovery.

The Windows LAPS process can be summarized as:

Configure a LAPS policy → Generate a local admin password → Rotate the password automatically → Back up the password → Authorized administrator retrieves it when needed.

Windows LAPS policies can be configured using Group Policy or the Windows LAPS Configuration Service Provider (CSP). IT administrators can use Microsoft Intune or other compatible device management solutions to deploy Windows LAPS policies through the CSP.

DSRM password management and backup

Windows LAPS also supports managing and backing up Directory Services Restore Mode (DSRM) account passwords on Active Directory domain controllers. These credentials are used for directory recovery and maintenance operations.

Unlike regular local administrator passwords, DSRM passwords can only be backed up to Windows Server Active Directory and require password encryption to be enabled. Authorized administrators can retrieve the stored credentials when needed for directory recovery.

What’s new in Windows LAPS?

Microsoft introduced several enhancements to Windows LAPS with Windows 11 version 24H2 and Windows Server 2025. These improvements expand local administrator account management, password configuration, and recovery capabilities.

1. Automatic account management

Windows LAPS can automatically create and manage a local administrator account. IT administrators can configure the account name, enable or disable the account, and randomize its name during password rotation.

This reduces the need to manually create and maintain local administrator accounts across Windows devices.

2. Passphrase support and improved password readability

Windows LAPS supports passphrase generation as an alternative to traditional randomized passwords. IT administrators can configure the number of words in a passphrase using the PassphraseLength policy.

It also supports generating passwords that exclude easily confused characters, such as the number zero and the letter O, making them easier to read and enter.

3. Enhanced post-authentication actions

Windows LAPS introduces an additional post-authentication action that can reset the managed account password, sign out active sessions using that account, and terminate remaining processes running under its identity.

This helps limit continued use of local administrator credentials after an authorized access session.

4. Image rollback detection

Windows LAPS can detect when a device is restored to an earlier OS image, which may cause its local administrator password to differ from the password stored in Active Directory.

For supported Active Directory-backed deployments, Windows LAPS uses a password version identifier to detect the mismatch and initiate password rotation.

Note: These enhancements are supported on Windows 11 version 24H2, Windows Server 2025, and later applicable releases. Certain capabilities, such as image rollback detection, have additional configuration requirements.

Windows LAPS vs Microsoft LAPS (legacy)

Legacy Microsoft LAPS is deprecated as of Windows 11 version 23H2 and later. Newer Windows versions block installation of the legacy Microsoft LAPS MSI package. Microsoft no longer develops or updates the legacy product’s code.

Microsoft continues to support legacy Microsoft LAPS on older Windows versions (prior to Windows 11 23H2) where it was previously supported. This support discontinues when the respective OS versions reach the end of their standard support lifecycle.

Unlike legacy Microsoft LAPS, Windows LAPS is built into supported Windows OS versions. It enables IT administrators to centrally manage, rotate, and securely back up local administrator account passwords across managed Windows devices.

Windows LAPS allows IT administrators to configure password complexity requirements, set automatic rotation intervals, and retrieve stored passwords when needed. By assigning and regularly rotating passwords, it helps reduce security risks associated with shared or static local administrator credentials without requiring separate LAPS software installation.

How to migrate from legacy Microsoft LAPS to Windows LAPS

Organizations using legacy Microsoft LAPS can migrate to native Windows LAPS to access newer capabilities, including Microsoft Entra ID password backup and Active Directory password encryption.

Microsoft supports two migration approaches: an immediate transition or temporary side-by-side deployment.

Step 1: Assess the existing deployment

Identify the devices, local administrator accounts, and Group Policy settings currently managed by legacy Microsoft LAPS. Verify that the target devices support Windows LAPS.

Step 2: Choose a migration approach

For an immediate transition, disable or remove the legacy LAPS policy and apply a Windows LAPS policy as closely together as possible. For gradual migration, configure a separate local administrator account so both solutions can operate temporarily without managing the same account.

Note: Windows LAPS also supports legacy Microsoft LAPS emulation mode for backward compatibility with existing legacy LAPS policies. However, this mode does not provide newer capabilities such as Microsoft Entra ID password backup or Active Directory password encryption.

Step 3: Configure Windows LAPS

Prepare the selected password backup destination and apply the new Windows LAPS policy using Group Policy or a supported device management solution.

Step 4: Verify the transition

Confirm that Windows LAPS successfully rotates and backs up the managed local administrator password. Verify that authorized administrators can retrieve the password.

Step 5: Remove legacy LAPS components

After confirming successful migration, remove the legacy Microsoft LAPS software and obsolete policies. If temporary coexistence was used, remove the additional local administrator account when it is no longer needed.

For detailed migration prerequisites and troubleshooting, refer to Microsoft’s official Windows LAPS migration guide.ashboard’s device summary section for audit purposes. These details include current password status, last rotation time, and access history.

Prerequisites to deploy LAPS for Windows

Before configuring Windows LAPS, verify that your environment meets the following requirements:

Supported Windows versions

Ensure devices run a supported version of Windows 10, Windows 11, or Windows Server 2019 or later, with the required OS updates.

Note: Windows 10 reached its general end of support on October 14, 2025. Some Long-Term Servicing Channel (LTSC) editions have different support lifecycles. Windows LAPS remains available on devices that continue to receive applicable updates, including those enrolled in the Extended Security Updates (ESU) program. Ongoing support depends on servicing eligibility.

Operating systemSupported versionsRequirements
Windows 11Version 23H2 and laterNative support
Windows 11 (older releases)Versions 21H2 and 22H2April 11, 2023 update or later
Windows 10Versions 20H2, 21H2, 22H2, and applicable LTSC releasesApril 11, 2023 update or later, including applicable LTSC updates
Windows Server2025 and laterNative support
Windows Server2019 and 2022April 11, 2023 update or later

Directory requirements

Determine whether passwords will be backed up to Microsoft Entra ID or Windows Server Active Directory, based on the devices’ join state. Enable Windows LAPS in Microsoft Entra ID for Entra-backed deployments.

Active Directory preparation

For Windows Server Active Directory-based deployments, ensure the required schema extensions and password management permissions are configured.

Management permissions

Ensure IT administrators have the necessary permissions to configure Windows LAPS policies and retrieve stored passwords.

Device management requirements

For Microsoft Intune deployments, ensure devices are enrolled and the required Intune licensing and administrative permissions are available. Windows LAPS CSP is supported on Windows 10 Pro, Enterprise, Education, and IoT Enterprise editions.

Windows LAPS setup: How to configure it

Windows LAPS can be configured through Group Policy or supported mobile device management (MDM) policies, depending on the device’s join state and password backup destination.

For Windows Server Active Directory-based deployments, IT administrators can use PowerShell to prepare the directory and configure permissions, followed by Group Policy to apply Windows LAPS settings. Alternatively, Microsoft Intune supports configuring Windows LAPS through the Windows LAPS Configuration Service Provider (CSP).

Note: Before configuring Windows LAPS, IT administrators should verify that target devices meet the supported Windows version and update requirements.

Step 1: Prepare Active Directory using PowerShell

Before configuring Windows LAPS, ensure you have the necessary administrative permissions to prepare Active Directory.

Open PowerShell on the Windows computer or server used to configure Active Directory. Run the following command to verify that the Windows LAPS PowerShell module is available on that device:

Get-Command -Module LAPS

This command lists the available Windows LAPS PowerShell cmdlets required for Active Directory preparation.

Next, extend the Active Directory schema if the required Windows LAPS schema extensions have not already been installed:

Update-LapsADSchema -Verbose

This one-time operation adds the Active Directory attributes required to store Windows LAPS password information.

Step 2: Configure Windows LAPS permissions

Managed Windows devices need permission to update their passwords in Active Directory. IT administrators must also configure permissions for authorized users to retrieve stored passwords.

i. Grant computer permissions

On the Windows computer or server used for Active Directory configuration, run the following PowerShell command to allow managed Windows computers to update their Windows LAPS password information in Active Directory:

Set-LapsADComputerSelfPermission -Identity "YourOU"

Replace YourOU with the target organizational unit (OU) containing the managed Windows computer accounts.

ii. Configure password retrieval permissions

Use the following PowerShell command to grant authorized users or groups permission to read Windows LAPS passwords stored in Active Directory:

Set-LapsADReadPasswordPermission -Identity "YourOU" -AllowedPrincipals "DOMAIN\YourSecurityGroup"

Replace YourOU with the target OU and DOMAIN\YourSecurityGroup with the domain-qualified security group authorized to retrieve Windows LAPS passwords.

iii. Review password decryption permissions

If Active Directory password encryption is enabled, verify that authorized IT administrators have the required decryption permissions. Password-read permissions alone do not automatically grant access to decrypt stored passwords.

Step 3: Configure Windows LAPS using Group Policy

Once Active Directory is prepared, configure Windows LAPS settings through Group Policy.

1. Verify the Windows LAPS administrative template

Ensure that the Windows LAPS administrative template (LAPS.admx) is available. If your organization uses a Group Policy Central Store, you may need to manually copy the updated Windows LAPS template files to it.

2. Create or edit a Group Policy Object (GPO)

Open Group Policy Management and create or edit a GPO for the target Windows devices.

3. Navigate to Windows LAPS settings

In Group Policy Management Editor, navigate to: Computer Configuration > Policies > Administrative Templates > System > LAPS

4. Configure the password backup directory

Open the Configure password backup directory policy and select Windows Server Active Directory as the backup destination.

5. Configure the administrator account

Specify the local administrator account to be managed if your organization uses an existing custom local administrator account. Otherwise, Windows LAPS manages the built-in local Administrator account by default.

6. Define password policies

Configure password length, complexity, and maximum password age according to your organization’s security requirements. Review additional settings, including password encryption, where applicable.

7. Apply the Group Policy

Link the GPO to the appropriate OU and allow the policy to apply to the targeted Windows devices.

Note: Organizations migrating from legacy Microsoft LAPS should review their existing policies and account configurations before deploying Windows LAPS. Removing legacy policies or creating a new local administrator account is not required for every deployment. It depends on the chosen migration approach.

Step 4: Verify Windows LAPS configuration

After applying the Group Policy, verify that Windows LAPS processes the settings and successfully backs up the managed local administrator password.

1. Trigger policy processing

On a target Windows device, open PowerShell with administrator privileges and run the following command to initiate Windows LAPS policy processing:

Invoke-LapsPolicyProcessing

2. Check Windows LAPS event logs

On the target Windows device, open Event Viewer and navigate to: Applications and Services Logs > Microsoft > Windows > LAPS > Operational

Look for Event ID 10018, which indicates that Windows LAPS successfully updated the password in Windows Server Active Directory.

3. Verify password retrieval

On a Windows computer or server with the Windows LAPS PowerShell module available, authorized IT administrators can run the following command to retrieve the stored password from Active Directory:

Get-LapsADPassword -Identity "ComputerName" -AsPlainText

Replace ComputerName with the name of the target Windows device. Run the command in a secure administrative session because it displays the password in plaintext.

Successful verification confirms that Windows LAPS is configured to automatically rotate and back up the managed local administrator account password according to the defined policy, while allowing authorized IT administrators to retrieve it when needed.

Note: These steps apply to Windows LAPS deployments using Windows Server Active Directory for password backup. Deployments backing up passwords to Microsoft Entra ID require separate configuration and do not need Active Directory schema extensions.

How to configure Windows LAPS using Microsoft Intune

Microsoft Intune allows IT administrators to configure Windows LAPS policies for enrolled Windows devices using the Windows LAPS Configuration Service Provider (CSP). It supports password backup to Microsoft Entra ID or Windows Server Active Directory, depending on the device’s join state.

Follow these steps to configure Windows LAPS using Microsoft Intune:

Step 1: Verify prerequisites

Ensure that the devices meet Windows LAPS requirements, are enrolled in Microsoft Intune, and that the required licenses and administrative permissions are available. For Microsoft Entra ID backup, enable the Windows LAPS setting in Microsoft Entra ID where required.

Step 2: Create a Windows LAPS policy

Sign in to the Microsoft Intune admin center and navigate to: Endpoint security > Account protection > Create Policy

Select Windows as the platform and Local admin password solution (Windows LAPS) as the profile.

Step 3: Configure password settings

Specify the backup directory and configure the required password settings, including password length, complexity, and maximum password age. Select the administrator account to manage if your organization uses a custom local administrator account.

Step 4: Assign the policy

Assign the Windows LAPS policy to the appropriate device groups. Avoid assigning conflicting Windows LAPS policies to the same devices.

Step 5: Verify password backup and rotation

Monitor policy deployment and verify that Windows LAPS successfully backs up and rotates the administrator password. For devices backing up passwords to Microsoft Entra ID, authorized administrators can view password details and rotation information through the Intune admin center.

PowerShell, Group Policy, and Microsoft Intune support the configuration and administration of native Windows LAPS. Organizations seeking an alternative approach to local administrator password management can consider Scalefusion OneIdP, which offers its own LAPS capability for managed Windows devices.

How to configure Scalefusion OneIdP LAPS on Windows devices

Scalefusion OneIdP provides a LAPS capability for managing and rotating local administrator passwords on enrolled Windows devices. IT administrators can configure password policies, publish them to managed device profiles, and monitor password activity through the Scalefusion dashboard.

Follow these steps to configure OneIdP LAPS:

Step 1: Create a LAPS configuration

Navigate to OneIdP > LAPS on the Scalefusion dashboard. Create a LAPS configuration and define the local administrator account scope, password complexity, and rotation settings.

LAPS config page with Rotation Settings selected; configure password complexity: length 8, required complexity, 2 special chars, 30-day rotation, 5-minute post-rotation, No Action, and disabled Just-In-Time password viewing.

Step 2: Publish the configuration

Save the configuration and publish it to the relevant Windows device profiles to apply the LAPS settings to associated devices.

Publish modal for Local Admin Password Solution listing device profiles with checkboxes and a Publish button

Step 3: Access LAPS on the Windows devices

Open the LAPS section in the Scalefusion Agent on a managed Windows device. Enter the one-time password (OTP) obtained from the Scalefusion dashboard to access the selected local administrator account credentials.

Screenshot of ScaleFUSION MDM Agent with LAPS selected in the left menu; main panel shows 'Local Administrator Password Solution (LAPS)' and an OTP entry field with a 'View Credentials' button (Version 16.5.6).

Step 4: Review LAPS recommendations

Use the Recommendations section of OneIdP LAPS to view local administrator account details, review applied LAPS configurations, and access available account management actions across managed Windows devices.

Dashboard view of Local Admin Password Solution with a list of devices and summary metrics at the top left of the table area.

Step 5: Monitor password status and rotation activity

Use the Devices Summary section of OneIdP LAPS to review local administrator account details, password history, and rotation timestamps across managed Windows devices. IT administrators can also view activity logs to track password access, rotation, and account maintenance actions for security audits.

LAPS dashboard with a devices table on the left and a right-side Admins panel listing usernames and password history details for several accounts.

For detailed configuration instructions and prerequisites, refer to the Scalefusion OneIdP LAPS documentation.

Windows LAPS troubleshooting: Common issues and fixes

Windows LAPS configuration issues can prevent password rotation, backup, or retrieval. IT administrators can diagnose these issues using Windows LAPS event logs and by reviewing the applied policies, directory permissions, and device configuration.

To view Windows LAPS events, open Event Viewer on the affected Windows device and navigate to: Applications and Services Logs > Microsoft > Windows > LAPS > Operational

The following table outlines common Windows LAPS errors and their potential resolutions.

Event IDIssueRecommended action
10005Windows LAPS policy processing failedReview the event error code and preceding LAPS events to identify the cause.
10012Required Active Directory schema attributes are missingVerify schema extensions and update the AD schema if necessary.
10013Windows LAPS cannot find the configured administrator accountConfirm that the managed account exists and matches the policy settings.
10017Password backup to Active Directory failedReview earlier LAPS events to identify the underlying error.
10027Windows LAPS cannot generate a password that meets policy requirementsCheck for conflicts between Windows LAPS password settings and local or domain password policies.
10028Password backup to Microsoft Entra ID failedVerify tenant configuration, device registration, and connectivity.

IT administrators can manually trigger Windows LAPS policy processing by opening PowerShell with administrator privileges on the affected Windows device and running the following command:

Invoke-LapsPolicyProcessing

After running the command, review the event logs to confirm whether processing succeeded. Event ID 10004 indicates successful policy processing, while Event ID 10005 indicates failure.

For additional error codes and troubleshooting procedures, refer to Microsoft’s official Windows LAPS troubleshooting documentation.

Best practices to implement Windows LAPS

Follow these best practices to help maintain a secure and consistent Windows LAPS deployment.

1. Monitor Windows LAPS activity

Monitor Windows LAPS event logs to track policy processing, password rotation, and backup activity. Review password retrieval audit records where supported by the configured directory service to identify unusual access patterns and support security audits.

2. Enforce least privilege

Restrict local administrator account usage to tasks that require elevated permissions. Use standard user accounts for everyday activities and grant access to administrator credentials only when necessary.

3. Restrict password access

Limit password retrieval permissions to authorized administrators through appropriate directory access controls. Enable password encryption where supported and required, and periodically review permissions to reduce unauthorized credential exposure.

4. Configure password rotation policies

Define password rotation intervals based on organizational security requirements. Consider post-authentication password reset policies to limit how long a retrieved administrator password remains usable after authentication.

5. Maintain Windows updates and policies

Keep supported Windows devices updated with applicable security and quality updates. Periodically review Windows LAPS policies to ensure password settings, backup destinations, and administrative permissions remain aligned with organizational requirements.

6. Plan for password recovery

Document password retrieval procedures and ensure authorized IT administrators can access backed-up credentials when necessary. Regularly verify password backup and retrieval to support device recovery and emergency administrative access.

7. Prepare for troubleshooting

Review Windows LAPS event logs and common configuration errors to identify issues with policy processing, password backup, or rotation. Validate policy changes on a limited set of devices before broader deployment.

Manage local administrator passwords with Scalefusion OneIdP

Windows LAPS helps organizations secure local administrator accounts on supported Windows devices through automated password rotation, controlled access, and secure password backup. These capabilities reduce risks associated with shared or static administrator credentials.

Scalefusion OneIdP offers a separate LAPS capability for managing local administrator passwords on Windows and macOS devices. It supports automated password rotation, centralized credential storage, and controlled password access through the Scalefusion dashboard.

With OneIdP LAPS, IT teams can configure scheduled and usage-based password rotation, monitor password activity, and manage local administrator accounts. Configurable account maintenance controls also help restore deleted administrator accounts or reinstate modified administrator privileges.

These capabilities help organizations maintain consistent local administrator password management practices and support security audits.

Next Step

See how IT and security teams streamline access and identity management with OneIdP.

FAQs

1. Does Windows LAPS require Group Policy?

No, Windows LAPS does not require Group Policy. It can be configured using Group Policy or the Windows LAPS Configuration Service Provider (CSP). This gives organizations flexibility to manage LAPS based on their existing Windows device management environment.

2. Why should organizations use Windows LAPS?

Organizations can use Windows LAPS to automatically manage and rotate local administrator passwords on Windows devices. By avoiding shared or static administrator passwords, Windows LAPS helps reduce the risk of credential theft, unauthorized access, and lateral movement across the network. It also makes it easier for authorized IT administrators to retrieve administrator credentials when required.

3. Where does Windows LAPS store passwords?

Windows LAPS can back up local administrator passwords to Microsoft Entra ID or Windows Server Active Directory. The appropriate backup location depends on how the Windows device is joined and how the LAPS policy is configured. Authorized IT administrators can retrieve the stored password when they need local administrator access.

4. Does Windows LAPS work with Active Directory?

Yes, Windows LAPS works with Windows Server Active Directory. Organizations can configure Windows LAPS to back up local administrator passwords to Active Directory for supported domain-joined devices. This allows authorized IT administrators to retrieve and manage local administrator credentials centrally.

5. Is Windows LAPS available on Windows 10?

Yes, Windows LAPS is available on eligible Windows 10 versions with the April 11, 2023 update or later. However, Windows 10 reached its general end of support on October 14, 2025. Continued Windows LAPS availability depends on devices receiving applicable updates, such as through the Extended Security Updates (ESU) program.

Steven Chopade
Steven Chopade
Steven is an award-winning B2B content expert with over 11 years of experience crafting high-impact content for tech services, product, and other brands. He brings deep content expertise across AI, SaaS, UEM, and cybersecurity, translating complex concepts into clear, actionable insights.

More from the blog

What Is Identity Security? Key Controls, Assessments, and Best...

When attackers use valid accounts, tokens or service credentials, their activity can resemble legitimate access. IT administrators and security...

What Is Context-Aware Authentication? How It Works and How...

When an employee signs in to a sensitive business application from a new device or unfamiliar network, valid credentials...

What is Windows Authentication? How it works, types &...

Windows environments often rely on multiple authentication methods. Employees may sign in to devices using passwords, PINs, or biometric...