Australian cloud for business software — built and run in Sydney since 2002

NetLeverage
NetLeverage

Windows LAPS events 10013 and 10027: account not found or password rejected

Technical article
Troubleshooting

About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.

Windows LAPS is switched on for a group of computers, and on some of them the local administrator password never changes. The Windows LAPS log on those computers carries event 10013 or event 10027. The first says the account Windows LAPS is meant to manage cannot be found, and the second says Windows LAPS was unable to create a new password that suits the computer's password policy.

Microsoft's troubleshooting page gives a short check and a resolution for each event, with a longer procedure for the second. Below are what each event means, the read-only checks that tell the causes apart, the changes that fix them in a safe order, and what to confirm afterwards. Nothing before the Fix section changes anything.

What the error means

Both events appear in Applications and Services Logs > Microsoft > Windows > LAPS > Operational. Microsoft's table lists 10013 for both the Active Directory and the Microsoft Entra ID scenarios, and 10027 for both as well.

Event 10013 reads: "LAPS failed to find the currently configured local administrator account". Microsoft explains where the name comes from. Windows LAPS reads the name of the local administrator from Group Policy or from the Intune setting Name of administrator account to manage. If that setting is not configured, "it will look for the local account with a security identifier (SID) ending with 500 (administrator)". If Windows LAPS cannot find the account, event 10013 is logged.

Event 10027 reads: "LAPS was unable to create an acceptable new password. Please verify that the LAPS password length and complexity policy is compatible with the domain and local password policy settings". Microsoft's description under the heading is the sentence "Windows LAPS can't update the password of the locally managed user account on the local machine", followed by the statement that Windows LAPS found the managed user but had trouble changing the password. The same two sentences appear under event 10019, so they do not by themselves separate the two events; the message text does. Event 10019 reads "LAPS failed to update the local admin account with the new password". It points at a resource problem or a third-party filter driver and is a different fault.

Likely causes

Event Cause on Microsoft's page Where it comes from
10013 The configured account name is wrong, or the account does not exist The Group Policy or Intune setting names an account that is not in the local users
10013 A stray space in the name Microsoft's note: make sure there are no trailing spaces at the beginning and the end of the account
10013 An account that Windows LAPS does not create On earlier versions the account must already exist; from Windows 11, version 24H2 and Windows Server 2025 a feature to create the managed user has been added
10027 Length or complexity set by Windows LAPS that the computer's password policy refuses A local policy, a domain policy or the local security settings, or an Intune policy on a Microsoft Entra joined computer
10027 A third-party password filter A module loaded by the LSASS.exe process that blocks the new password

Microsoft's policy reference explains why the account name matters. If AdministratorAccountName is not specified, Windows LAPS manages the built-in local administrator account, which it identifies by its well-known relative identifier and not by its name. If a custom account is specified, "you must ensure that the account is created. Windows LAPS doesn't create the account", and the setting is ignored when automatic account management is enabled. The same reference says PasswordLength can be 8 to 64 characters and defaults to 14, PasswordComplexity defaults to 4, and that a PasswordLength or PasswordComplexity value incompatible with the managed device's local password policy results in Windows LAPS failing to create a new compatible password, with a 10027 event as the sign. It also says PasswordComplexity values 5 to 8 are supported only in Windows 11, version 24H2, Windows Server 2025 and later.

Prove the cause before changing anything

All of these only read, with one exception: gpresult /h in step 4 writes a report file and changes nothing else.

  1. Find the event in the log and note the time of the cycle it belongs to. A cycle starts with 10003 and ends with 10004 on success or 10005 on failure, so read the events between them.

  2. For 10013, check that the managed account is present. Microsoft's two methods are the Local Users and Groups console, started with lusrmgr.msc, and the net user command. Compare the name in the list with the name in the policy letter by letter, including any space at either end.

  3. For 10027, read the computer's password policy with Microsoft's command, shown below, and compare minimum length, complexity and age with what Windows LAPS is set to make.

  4. Find where the conflicting setting comes from. Microsoft says to identify whether it is applied by a local Group Policy Object, a domain Group Policy Object or the Local Security Settings, by running GPRESULT /h <Report File Name>.html, which writes the report to that file in the folder you give it. For a Microsoft Entra joined or hybrid joined computer managed by Intune, the page says to look for a conflicting policy applied through Intune, a local policy or similar third-party management software.

  5. If the policies agree, look for a third-party password filter. Microsoft's procedure is to download Process Explorer, run it as an administrator, select the LSASS.exe process, show the lower pane as DLLs, and read the Company Name column for modules that are not Microsoft's. The names to look for contain words like "security", "password" or "policies".

The commands, each of which only reads:

net user
net accounts

Example (illustrative): at contoso.com.au a policy sets the managed account to LocalAdmin with a space at the end, copied from a spreadsheet. Every computer logs 10013. net user lists LocalAdmin on each. The names differ by one trailing space, so the account is not found. On another server group the log shows 10027, and net accounts reports a minimum password length of 16 while the Windows LAPS policy makes 14-character passwords. Those two groups need different fixes, and the event number is what tells them apart.

Fix

Match the fix to the event.

10013: correct the account name or create the account

Save first. Record the policy that applies now by writing a report to a file with gpresult /h <Report File Name>.html, so that the old value of the account name setting is on record. The command writes that file in the folder you give it and changes nothing else.

Risk: the next step changes a Group Policy or Intune setting that Windows LAPS reads on every computer in its scope. A wrong name makes every one of them log 10013 and keeps their passwords from rotating. Type the name exactly, with no space at either end, and apply it first to one test computer.

In the policy that sets Windows LAPS, open the setting for the name of the administrator account to manage and enter the exact name shown by the account check. If the intention is the built-in administrator account, Microsoft says to leave the setting unconfigured, because Windows LAPS finds the built-in account by its identifier and not by its name.

To undo it: the page gives no steps for this, so what follows is general advice, not a step on the page. Putting the value recorded in the report back, or setting the setting back to not configured if it was unconfigured, changes the account name that Windows LAPS manages on every computer in scope. Refreshing Group Policy on the test computer applies every pending policy change on it, not only this one.

If the account does not exist at all, the page's resolution is to make sure the managed user is present. Creating a local account on many computers is a change the page does not describe in steps. Microsoft's account management page names three ways in manual mode, which are the Accounts CSP, policy-driven scripts and adding the account to a base operating system image, and says automatic account management mode, which is off by default, avoids the extra complexity on supported versions. These are described here and not walked through.

10027: make the policies agree

Save first. Keep the output of the read-only commands above, together with the current Windows LAPS password settings from the policy report.

Risk: the next step changes password rules. If it is the Windows LAPS setting that moves, only the managed account's generated password changes. If it is the domain or local password policy that moves, it applies to every account the policy covers, and the page gives no way to undo a password already set under the new rules. Microsoft's note says the Active Directory, local and security policy settings should match the Windows LAPS password settings or be lower than them. Move the Windows LAPS setting where possible, and start with one test computer.

Microsoft's instruction is to modify the Group Policy or security settings to match the Windows LAPS Group Policy settings. The Windows LAPS settings sit under the Password Settings setting in Group Policy or in Intune. Set the length and complexity to values the computer's own policy accepts, and keep PasswordComplexity at 4 or higher as Microsoft recommends.

To undo it: the page gives no steps for this, so what follows is general advice, not a step on the page. Restoring the values recorded before the change puts the old password rules back for every account the policy covers, and passwords already set under the new rules stay as they are. Refreshing Group Policy on the test computer applies every pending policy change on it, not only this one.

For a third-party password filter, Microsoft's resolution is to uninstall or stop the application or service that uses the module. That change can affect other software on the computer, and the page gives no steps for it, so decide it with whoever owns that software.

Run the policy cycle once

Save first. Keep the log entries for the failed cycle by saving them from Event Viewer. This is general advice; the page gives no command for it.

Disruptive step: the next command starts a Windows LAPS processing cycle at once. If the password has passed its expiry time, Windows LAPS generates a new password and changes the local administrator account's password. The page gives no way to undo a password rotation. Run it on one computer first, and not while someone is signed in with that account.

Invoke-LapsPolicyProcessing

Microsoft's Windows LAPS pages say the processing otherwise runs every hour and is not driven by the Group Policy refresh cycle.

To undo it: the page gives no way to undo it. The step does not change policy; the only lasting change is a new password if the old one had expired.

Confirm the fix

  • For 10013, the next cycle no longer logs 10013, and the managed account name in the policy matches the account in the local users.
  • For 10027, the cycle completes without 10027. Microsoft's Active Directory page names 10018 as the event that confirms a password was stored in Active Directory, "LAPS successfully updated Active Directory with the new password.", and the Entra page names 10029 for Microsoft Entra ID.
  • The local update is logged as 10020, "LAPS successfully updated the local admin account with the new password."
  • The password expiry time moves forward by the password age set in policy, which defaults to 30 days.

What to watch afterwards

  • New computers added to the group. A policy that names a custom account needs that account on each new computer, and Windows LAPS does not create it on earlier versions.
  • Changes to the domain or local password policy. A later tightening can bring 10027 back without anyone touching Windows LAPS.
  • Event 10019, which looks like 10027 on Microsoft's page but has its own message and points at a resource problem or a filter driver.
  • Software installed on the computer that handles password changes, because the page names third-party password filters as a cause of 10027.
  • A managed account changed by someone else. Windows LAPS blocks attempts to change its password and logs them as 10031.

Risks and limits

These steps have not been run or lab-tested. Microsoft's troubleshooting page, last updated on 2026-02-12, says it lists only some of the possible root causes. It does not say which password policy values are accepted, so the example numbers above are illustrative. It prints the heading of event 10027 with a long message and then describes the event with the same two sentences it uses for 10019; both are quoted as printed.

The Process Explorer procedure and the list of keywords come from Microsoft's page, which says to look for words such as "security", "password" or "policies". A filter that uses none of those words can still be the cause. Changes to account names, password rules and password filters affect every sign-in to the account, so keep the local administrator's current password available and test on one computer first.

Sources