Deploying Windows LAPS via Microsoft Intune

Deploying Windows LAPS via Microsoft Intune

A step-by-step technical guide to enforcing cloud-native Local Administrator Password Solution (LAPS) using Intune and Entra ID.

Managing local administrator accounts across an enterprise fleet has historically been an IT headache. Hardcoded passwords across multiple images create a massive lateral movement risk, while allowing end-users to remain local admins opens the door to complete device compromise.

Windows LAPS (Local Administrator Password Solution) directly natively resolves this by automatically generating, rotating, and backing up unique local administrator passwords securely to the cloud.

This guide details how to implement a pure cloud-native Windows LAPS policy using Microsoft Intune and Microsoft Entra ID.


Prerequisites#

Before starting your rollout, verify that your environment satisfies the following minimum baseline constraints:


Step 1: Turn On LAPS in Microsoft Entra ID#

Before Intune can escrow local passwords safely, your Entra ID tenant must be configured to receive them.

  1. Navigate to the Microsoft Entra Admin Center.
  2. Expand Identity > Devices > All Devices > Device Settings.
  3. Locate the setting Enable Microsoft Entra Local Administrator Password Solution (LAPS) and toggle it to Yes.
  4. Click Save.

Step 2: Configure the Intune LAPS Profile#

With tenant-side backing established, create the client enforcement layout directly via Endpoint Security.

  1. Open the Microsoft Intune Admin Center.
  2. Navigate to Endpoint Security > Account Protection.
  3. Select + Create Policy and apply the following parameters:
    • Platform: Windows 10 and later
    • Profile: Local admin password solution (Windows LAPS)
  4. Name the configuration (e.g., SEC-WIN-LAPS-Standard) and advance to the settings view.
Policy SettingConfiguration ValuePurpose / Notes
Backup DirectoryBackup the password to Microsoft Entra ID onlySecurely escrows the local password assets to cloud identity storage.
Password Age Days7Enforces an aggressive rotation rhythm every 7 days.
Administrator Account NameuserSpecifies the targeted local administrator account name.
Password ComplexityLarge letters + small letters + numbers + special characters (improved readability)Enforces maximum entropy while using the readable character set.
Password Length14Sets a strong 14-character minimum length boundary.
Post Authentication ActionsReset password: upon expiry of the grace period, the managed account password will be reset.Forces an automatic background password change cycle after use.
Post Authentication Reset Delay4Grants a 4-hour grace window for administrative remediation actions.
Automatic Account Management EnabledNot configuredLeaves modern native account lifecycle tiering unset.

Alternative text description

Step 2.5: Create the Custom Local User Account via Intune OMA-URI#

Because Windows LAPS requires an existing target user to manage when using a custom identifier (user), we can leverage the built-in Windows Accounts CSP to seamlessly provision the local account and add it to the local Administrators group before LAPS takes ownership.

This is handled by deploying a Custom Configuration Profile in Microsoft Intune using targeted OMA-URI strings.

Creating the Custom Profile#

  1. Open the Microsoft Intune Admin Center.
  2. Navigate to Devices > Configuration > Create > New Policy.
  3. Set the following platform parameters:
    • Platform: Windows 10 and later
    • Profile type: Templates
    • Template name: Custom
  4. Click Create, and name the profile (e.g., LAPS | Create a local admin account on Windows using Intune).

Configuring the OMA-URI Settings#

Under the Configuration settings step, click Add to create the following two required rows. These configurations instruct the Windows client engine to spin up the account profile natively:

Row 1: Define the Account and Set an Initial Password#

Row 2: Add the Account to the Administrators Group#


Verification Profile#

Alternative text description

Step 3: Enforce Post-Authentication Actions#

One of the strongest modern features of Windows LAPS is its capability to self-remediate immediately after an emergency intervention occurs.

Under the policy settings layout, look for Post Authentication Actions and set it to:

Reset the password, logoff the managed account, and terminate any remaining processes


Step 4: Verification and Auditing#

Once target device groups have successfully processed the policy, verification can be achieved through both remote administrative workflows and direct localized evaluation.

Retrieving Credentials via Cloud Console#

  1. Inside Intune, navigate to Devices > All Devices and choose your target endpoint.
  2. Select Monitor > Local Admin Password.
  3. Click Show Local Administrator Password to view the active randomized credential string alongside its associated timestamp array.

Checking Local Registry#

On the managed client machine, you can verify configuration enforcement by inspecting the specialized LAPS registry branch layout:

Terminal window
Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Policies\LAPS"

Summary#

By offloading legacy infrastructure mechanics to cloud-native Intune workflows, you completely eradicate the surface risk of shared static local administration credentials across the estate. Couple this posture alongside standard non-privileged baseline profiles to build a resilient endpoint layer.

License

CC BY-NC-SA 4.0 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Related Posts