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.
A server or workstation is set up to keep its local administrator password in Active Directory with Windows LAPS. When an administrator goes to read the password, it is old, or the expiry date has passed, or the Windows LAPS log is full of red entries. The entry that stands out is event 10017.
Event 10017 is the last line of a failed attempt. It says nothing about why the attempt failed. That is the point Microsoft makes about it, and it changes how the fault is found: the cause is one of the events written earlier in the same cycle. Below are what the event means, the earlier events that explain it, the read-only checks that separate them, the two changes that can be needed, and what to watch afterwards. Nothing before the Fix section changes anything.
What the error means
The event sits in the Windows LAPS log. Microsoft gives its place in Event Viewer as Applications and Services Logs > Microsoft > Windows > LAPS > Operational. Its text is "LAPS failed to update Active Directory with the new password. The current password has not been modified". Microsoft describes it as "a status event at the end of a Windows LAPS processing cycle" and says it "has no root cause", so you need to read the earlier events from the same cycle where Windows LAPS met an issue.
Processing starts with event 10003 and ends with event 10004 when it succeeds. If the cycle fails for any reason, event 10005 is logged. Event 10017 belongs to the Active Directory scenario, where devices store the password in Active Directory rather than in Microsoft Entra ID.
Two further facts from Microsoft's other pages explain why the result matters. Windows LAPS runs a background task every hour to process the active policy; the task is not a Task Scheduler task and cannot be configured. In the Active Directory scenario the device polls the directory for the password expiry time and acts when it has passed. The success event in this scenario is 10018, "LAPS successfully updated Active Directory with the new password.", and when the directory update works Windows LAPS then updates the managed local account too, which is logged as 10020.
Likely causes
Because 10017 has no cause of its own, the cause is an error event earlier in the same cycle. The table matches six events that Microsoft's page lists for the Active Directory scenario, each quoted as the page prints it, to what it points at. The page lists other Active Directory events as well, and Microsoft's instruction is to fix any errors before event 10017.
| Earlier event | Text on Microsoft's page | What it points at |
|---|---|---|
| 10011 | "LAPS failed when querying Active Directory for the current computer state" | The client could not discover or reach a domain controller through Netlogon |
| 10056 | "LAPS failed to locate a writable domain controller" | No writable domain controller found |
| 10057 | LAPS was unable to bind over LDAP to the domain controller with an <Error Code>: |
An authentication problem between the client and the domain controller |
| 10065 | "LAPS received an LDAP_INSUFFICIENT_RIGHTS error trying to update the password using the legacy LAPS password attribute" | The computer account lacks Self permission on its container |
| 10012 | "The Active Directory schema has not been updated with the necessary LAPS attributes" | The schema was not extended, or the change has not replicated to this domain controller |
| 10006 | "LAPS password encryption is required but the Active Directory domain is not yet at 2016 domain functional level." | Encryption is on and the domain is not at the 2016 level |
The job is to find which of these stands in the same cycle just before 10017. Events 10012 and 10006 have their own articles (schema not updated or domain level too low) because their fixes sit in the schema and the domain level rather than on the client. The first four are covered here, since each has a short check and a fix on Microsoft's page.
Prove the cause before changing anything
All of these only read.
-
Find the cycle. On the affected computer, start Event Viewer and go to Applications and Services Logs > Microsoft > Windows > LAPS > Operational. Find the latest 10017 and read upwards to the 10003 that begins the same cycle. Microsoft's instruction is to filter for the latest processing of events starting from event 10003 through event 10005 and to fix any errors before event 10017. Note every event between them, and the error code in the 10005 event if there is one. Microsoft's example of an error code is
80070032. -
Match the earlier event to the table. The wording of the first line of each event is the match. If more than one error stands before 10017, deal with the earliest first, because the later ones may follow from it.
-
If the earlier event is 10056, test discovery of a writable domain controller from the client. Microsoft's command for 10056 is shown below; for 10011 the page gives no check. Microsoft says that an error 1355 ("domain controller for the domain cannot be found") means the discovery of a writable domain controller has to be troubleshot.
-
If the earlier event is 10057, test the secure channel between the client and the domain. Microsoft's command for this is shown below, with the domain name in place of the placeholder.
-
If the earlier event names a schema problem (10012), look for replication trouble. The page's check for replication errors is
repadmin /showreps, run after reading event 10055 in the same log for the name of the domain controller.
The commands, each of which only reads:
nltest /dsgetdc:<Domain Name> /force /writable
nltest /sc_query:<Domain Name>
repadmin /showreps
Microsoft's check for 10065 is a look at the permissions on the computer's organisational unit: in LDP.exe, bind to the domain, browse to the organisational unit that holds the client computers, open its security descriptor and look at the trustee entries for NT AUTHORITY\SELF on the msLAPS-Password attribute. The page gives that as a series of menu steps rather than a command. The page also notes that the problem can appear after a computer is moved to a different organisational unit that does not carry the Self permission.
Example (illustrative): at contoso.com.au a file server, FS02, shows 10017 every hour. Reading upwards from the latest 10017, the cycle starts with 10003 and then shows 10065, with the text about LDAP_INSUFFICIENT_RIGHTS, and ends with 10005 and 10017. FS02 was moved last month from the Servers organisational unit to a new Branch Servers unit. The cause is the permission on the new unit, so the fix is the permission step below.
Fix
Match the fix to the earlier event, not to 10017. Microsoft's page gives these resolutions for the events in the table.
For 10011 and 10056, where connectivity is the problem: Microsoft's resolution is that, if the environment gives the client connectivity only to a writable domain controller, the network ports between the client and the domain controller must be open, and it points to its documentation of service overview and network port requirements for Windows. That is a firewall change owned by whoever runs the network, and the page gives no command for it, so it is described here and not walked through.
For 10057, the page's resolution is to check that the machine account has not been deleted in Active Directory, to test the secure channel with the nltest /sc_query command above, and to rejoin the machine to the domain. Microsoft adds a note to ensure you know the local administrator's password. Rejoining a computer is a change to the computer and its account that the page does not describe step by step, so treat it as a decision for the domain administrators.
For 10065, the page's resolution is the permission step below. For 10012 and 10006 the fixes are in the schema and the domain functional level, covered in the linked article above.
Give the computers' container the Self permission
Save first. Before the change, record who holds extended rights on the organisational unit with Microsoft's read-only cmdlet Find-LapsADExtendedRights -Identity <OU Name> and keep the output. That cmdlet lists who holds extended rights; it does not show the Self entry that the next step adds, so it is not a record of what the step changes. The record that matches is the existing security descriptor in LDP.exe, taken by the menu steps above. The page gives no command that writes the descriptor to a file, so that record is made by hand.
Risk: the next step changes access control on an organisational unit in Active Directory. Microsoft describes it as setting inheritable permissions on the unit so that the managed devices in it can update their own passwords, so it reaches the computer objects under the unit, not only the one that raised the event. The page gives no way to undo it. Run it against the narrowest unit that holds the affected computers, and use the distinguished name form if two units share a name.
Set-LapsADComputerSelfPermission -Identity <OU Name>
Microsoft's examples use -Identity LAPSOU and -Identity OU=LAPSOU,DC=contoso,DC=Com, and it notes that a distinguished name can be used if the same name exists in different hierarchies. The page then says to verify that the computer account has the Self permission on the unit where it sits.
To undo it: the page gives no command that removes the permission, so this step cannot be undone from the cited pages. As general advice, not a step on the page, the record made before the change tells a directory administrator which entries to take out by hand.
Run the policy cycle again
Save first. Keep a copy of the Operational log entries for the failed cycle by saving them from Event Viewer, so the earlier events stay available after the next cycle writes new ones. This is general advice; the page gives no command for it.
Disruptive step: the next command tells Windows LAPS to process its policy now. If the password has passed its expiry time, Windows LAPS generates a new password and tries to store it, and if the directory update works it also changes the password of the local administrator account on this computer. The page gives no way to undo a password rotation, and anyone holding the old password loses it. Run it on one computer first, and not while someone is signed in with that account.
Invoke-LapsPolicyProcessing
Microsoft's page says to run it from an elevated PowerShell prompt, and prints the name as Invoke-lapsPolicyProcessing, with a lower-case l. Microsoft's cmdlet list describes it as "Initiate a policy processing cycle." The result is read in the Operational log, and Microsoft's Active Directory page says to look for event 10018 to confirm that a password was updated.
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
- A new cycle starts with 10003, shows 10018 with the text "LAPS successfully updated Active Directory with the new password.", shows 10020 for the local account, and ends with 10004. There is no 10017 and no 10005 in that cycle.
- The next hourly cycle also ends in 10004 without an error in between.
- The password expiry time stored in Active Directory moves forward by the password age set in policy. The page gives 30 days as the default for the age setting, so a computer left on defaults gets an expiry about a month on.
- An administrator who is authorised to read the password can read the new one.
What to watch afterwards
- Which computers log 10017 again. A single computer points at that computer's secure channel, its permission or its network path. Many computers at once point at a domain controller, the schema or a shared policy.
- Computers moved between organisational units. Microsoft names the move as one way event 10065 appears.
- Replication errors on the domain controller that serves the client. Event 10055 names the domain controller in use.
Read next
Related articles you may want next.
- HostingWindows LAPS: Deploy It Safely and Recover the Local Administrator After a RestoreDeploy Windows LAPS to Active Directory with encryption and password history, migrate from legacy LAPS, and sign in to a restored VM whose LAPS password no longer matches.Read article
- TroubleshootingAD replication error 8453 "Replication access was denied": find the missing permissionActive Directory replication error 8453 (0x2105): find which DC account, partition permission or admin group lacks rights, then fix it step by step.Read article
- TroubleshootingGroup Policy Not Applying: gpresult, Events and SYSVOLA Group Policy setting missing on a hosted server: read gpresult as the affected user, check loopback, filter one run's events, then check SYSVOL state.Read article
Risks and limits
These steps have not been run or lab-tested. Microsoft's troubleshooting page, last updated on 2026-02-12, states that it lists only some of the possible root causes and that other causes may exist; it also says its list of event IDs might not include all Windows LAPS events. It gives no version range for event 10017 and no list of the events that always precede it.
The page prints the text of event 10065 as naming the legacy cmdlet Update-AdmPwdComputerSelfPermission, while its resolution uses Set-LapsADComputerSelfPermission; both are quoted as printed. The message for 10057 ends with a colon and a placeholder for the error code. Microsoft's own Windows LAPS pages describe the permission, event log and cmdlet details and are dated between 2025-05-06 and 2025-07-01. Check Microsoft's current wording for your Windows build. Changing permissions in Active Directory, rejoining a computer or rotating a password can lock people out of a local administrator account, so test on one computer first.
Sources
- Windows LAPS troubleshooting guidance — Microsoft Learn, page dated 2026-02-12, accessed 3 December 2026
- Use Windows LAPS event logs — Microsoft Learn, page dated 2025-05-12, accessed 3 December 2026
- Key concepts in Windows LAPS — Microsoft Learn, page dated 2025-05-19, accessed 3 December 2026
- Get started with Windows LAPS and Windows Server Active Directory — Microsoft Learn, page dated 2025-05-19, accessed 3 December 2026
- Overview of Windows LAPS PowerShell Cmdlets — Microsoft Learn, page dated 2025-05-06, accessed 3 December 2026
- Configure policy settings for Windows LAPS — Microsoft Learn, page dated 2025-07-01, accessed 3 December 2026
This article was originally published on .