Skip to content
Copy as Markdown

Windows 10 or later Configuration Policy - Windows LAPS Policy

ScopeTenantRoleL1 Read to view · L1 Read/Write to actLicenceIntune

Configuration policy for Windows Local Administrator Password Solution (LAPS)

Settings this baseline controls

SettingWhat it does
Policy nameName of the configuration policy. Learn more
Policy descriptionDescription of the configuration policy. Learn more
Backup directoryDirectory the managed local administrator password is backed up to (Disabled, Microsoft Entra ID, or Active Directory). Learn more
Password age in daysMaximum age (in days) of the managed local administrator account password. Learn more
Password complexityComplexity of the managed local administrator account password. Learn more
Password lengthLength of the managed local administrator account password. Learn more
Post-authentication actionsActions taken on expiry of the post-authentication grace period. Learn more
Post-authentication reset delayTime (in hours) to wait after an authentication before executing the post-authentication actions. Learn more
3 more settings
SettingWhat it does
Administrator account nameName of the managed local administrator account (blank uses the built-in administrator). Learn more
Automatic account management enabledWhether the target local administrator account is automatically managed. Learn more
Group assignmentsThe list of group assignments for this configuration policy. Learn more
Adding a baselineAdd, configure or remove a single baseline on a tenant, a user or a group, without deploying a whole scheme.

Configure it

Add this to a tenant’s Windows fleet so every device’s built-in local administrator password is randomised, rotated and backed up centrally, instead of being set once and never changed.

  1. Add the baseline to the tenant directly (Adding a baseline), or include it in a scheme you deploy to every tenant enrolling Windows devices (Deploying a scheme). Then select its row to open it. Before you deploy it, turn on Enable Local Administrator Password Solution (LAPS) in Microsoft Entra ID (Devices → Device settings); devices can’t back the password up to Entra until this tenant-wide switch is on. Windows LAPS works on Microsoft Entra joined and hybrid joined devices running a Windows release with the April 2023 update or later.

  2. Leave Backup Directory at Backup the password to Microsoft Entra ID only, so the rotated password is stored in Entra rather than an on-premises Active Directory your MSP may have no path to.

  3. Leave Password Length at 20 and Password Complexity at large letters, small letters, numbers and special characters, with Password Age (Days) (the settings table calls it Password age in days) at 30.

  4. Leave Post-Authentication Actions at resetting the password and logging off the managed account, with Post-Authentication Reset Delay (Hours) (Post-authentication reset delay in the table) at 24. Once someone signs in with the managed account, its password is reset and the account signed out 24 hours later. This limits how long a revealed password stays valid.

  5. Leave Administrator Account Name blank and Automatic Account Management Enabled at Not configured, so LAPS manages the device’s existing built-in administrator account rather than creating or renaming one. LAPS rotates that account’s password but doesn’t turn the account on, and Windows keeps it disabled by default, so enable it separately if technicians will sign in with it.

  6. Leave Included groups (Group assignments in the table), under Assignments, on All devices and All users. Octiga expects the policy assigned to those two and nothing else, so a policy assigned to other groups, or to only one of them, shows as Deviated. On a baseline added to the tenant directly, you can select Include groups instead and choose groups with Manage Included Groups; Octiga then expects the policy assigned to those groups.

  7. Select Save. Saving changes what Octiga checks for, not the policy in Intune. To create or update the policy, remediate the baseline on the tenant (Remediation), or switch on Auto for its row, on the tenant or in the scheme. Auto acts only while the tenant’s Allow auto-remediation setting is on (Tenant settings).

Check it worked

This baseline shows Passing once Intune has a Windows LAPS policy named (Octiga) Windows 10 - Windows LAPS Policy with the settings and assignments above and a description matching the editor’s Description field (Policy description in the table). Octiga finds the policy by that name, which the editor shows as the read-only Name (Policy name in the table), so a LAPS policy under another name doesn’t count: the baseline shows Deviated, and remediating it creates a new policy with this name alongside the old one. Select the orange indicator beside a field to see what Intune has.

Passing reflects the policy itself, not whether devices have applied it. To see how devices are getting on, go to Endpoint security → Account protection in the Microsoft Intune admin centre, open the policy, and use its Device assignment status and Per setting status views. To confirm the password itself is rotating, open Devices → All devices, select a device, and look under Monitor → Local admin password for the account name, last rotation and next scheduled rotation. End users notice nothing directly: this manages the built-in administrator account, not the one they sign in with.

Standards this addresses

NISTPR.AC-4AC-2IA-5

Doing this for every tenant?

Step through the deploy wizard to apply a scheme to a tenant, groups or users, and see what Managed and Direct do at deploy time.