Windows LAPS account management modes

Learn about the different account management modes supported by Windows Local Administrator Password Solution (Windows LAPS).

Important

The Windows LAPS automatic account management feature is supported in Windows Server 2025 and later.

Overview

The primary purpose of Windows LAPS is regularly rotate the password of a local Windows account. This account can either be the built-in Administrator account, or a custom new account. The IT admin has two different modes to choose from for configuring and managing the target account: manual and automatic. Both modes have their pros and cons.

There are two different modes available to manage the target account.

Manual account management mode is the default mode. In manual mode, the IT admin is responsible for configuration of all aspects of the managed account except the password, which Windows LAPS manages and controls.

Automatic account management mode is an optional mode. In automatic mode, Windows LAPS is responsible for configuration of all aspects of the managed account, including basic account creation and deletion as required, plus the account's password.

Manual account management mode

Manual mode is the default mode. The IT admin has the choice of whether to target the built-in Administrator account, or a custom new account. This choice is configured via the AdministratorAccountName policy setting. If the AdministratorAccountName setting is empty, the built-in Administrator account is managed, otherwise AdministratorAccountName specifies the name of a custom local account.

When a custom local account is specified, the IT admin is responsible for creating that account prior to enabling Windows LAPS - Windows LAPS doesn't create the account in this mode.

In this mode, the target account's password is protected against accidental or careless tampering. All other account configuration changes are allowed.

Automatic account management mode

Automatic mode is an off-by-default mode. Once enabled the IT admin can choose from the following configuration details:

  • Whether to target the built-in Administrator account or a custom new account
  • The name of the account
  • Whether to enable or disable the account
  • Whether to randomize the name of the account

Automatic account configuration details

When automatic mode is enabled, the managed account is configured as follows:

  • The account is made a member of the local Administrators group
  • The password-not-required setting is disabled
  • The password-never-expires flag is disabled
  • The account description is modified to indicate that Windows LAPS is controlling the account

Integration with local account management policies

Windows supports multiple policies for managing the membership of Windows local groups:

Each of the above policies supports a configuration mode that can be used to force the removal of all members of a specified local group. The above policies now ignore any attempt to remove the Windows LAPS automatically managed account from the local Administrators group.

Account tampering protection

Account tampering protection is expanded in automatic mode. Windows LAPS controls all configuration aspects of an automatically managed account. External attempts to modify the managed account are blocked. IT admins shouldn't author policies or scripts that attempt to modify the managed account.

Windows LAPS rejects unexpected attempts to modify the account with a STATUS_POLICY_CONTROLLED_ACCOUNT (0xC000A08B) or ERROR_POLICY_CONTROLLED_ACCOUNT (0x21CE\8654) error. Each rejection has an associated event in the Windows LAPS event log channel. Events 10101-10104 are logged, corresponding to what type of modification was request (basic modify, modification of security descriptor, deletion, or removal from the local Administrators group).

Choosing a mode

Manual mode is the best choice for situations that require unique and\or detailed configuration of the target account.

Automatic mode is the best choice for situations with less detailed requirements, for example you only need the managed account to be available and ready for use in a basic configuration with Administrator privileges. Automatic mode also supports creation of a custom new account.

Feature Manual mode Automatic mode
Password controlled by Windows LAPS Yes Yes
IT admin can customize the account Yes No
Supports automatic account creation No Yes
Supports automatic account naming No Yes
Supports automatic account enablement\disablement No Yes
Supports automatic account name randomization No Yes
Supports integration with local account policies No Yes

Directory Services Repair Mode account management

Windows LAPS supports managing the password of the Directory Services Repair Mode account (DSRM) on domain controllers. The manual and automatic account management modes described in this article don't apply to the DSRM account.

See also

Next steps

Now that you understand the different account management modes, take a look at these other sections.