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 computer has been told to keep its local administrator password in Active Directory with Windows LAPS, and nothing arrives in the directory. The Windows LAPS log on the computer shows either event 10012 or event 10006. Both belong to the Active Directory scenario of Windows LAPS.
Event 10012 says the directory has not been prepared for LAPS. Event 10006 says encryption is required but the domain is not at the level that supports it. Microsoft's troubleshooting page gives three causes for the first and two ways out of the second. Below are what each event means, how to tell the causes apart without changing anything, the fixes in a safe order, and what to confirm afterwards. Nothing before the Fix section changes anything.
What the error means
Both events are written to Applications and Services Logs > Microsoft > Windows > LAPS > Operational on the client. Both belong to the Windows LAPS Active Directory scenario in Microsoft's table of events.
Event 10012 reads: "The Active Directory schema has not been updated with the necessary LAPS attributes". Microsoft explains that to introduce Windows LAPS the schema has to be extended with the Windows LAPS attributes, or, when Windows LAPS is used in legacy LAPS emulation mode, with the legacy LAPS attributes.
Event 10006 reads: "LAPS password encryption is required but the Active Directory domain is not yet at 2016 domain functional level. The password was not updated and no changes will be made until this is corrected". Microsoft adds that by default Windows LAPS encrypts the password of the managed account on the client machine, and that to support the encryption the domain functional level should be Windows Server 2016.
The two events point at different places. In the first, the schema lacks the LAPS attributes, or the domain controller the client is talking to has not received them. In the second, the domain's functional level is below the one encryption needs. Event 10017, the status event at the end of a failed Active Directory cycle, has no cause of its own and is covered in Windows LAPS event 10017.
Likely causes
Microsoft names three causes for 10012 and describes one condition for 10006.
| Event | Cause on Microsoft's page | What it means in practice |
|---|---|---|
| 10012 | "The schema hasn't been extended with the new Windows LAPS attributes." | The forest has never been prepared |
| 10012 | "A transient Active Directory replication exists between the local domain controller (DC) and the primary domain controller (PDC)." | The schema was extended, but the change has not yet reached the domain controller this client uses |
| 10012 | "An Active Directory replication issue on the local domain controller." | The domain controller has a replication fault with other domain controllers |
| 10006 | Encryption is required and the domain functional level is below 2016 | The domain level has to rise, or encryption has to be switched off for the clients |
The wording of the second 10012 cause is Microsoft's, including the grammar. Two further facts bear on 10006. Microsoft's Active Directory page says that if the domain functional level is earlier than 2016 you cannot enable Windows LAPS password encryption, and that clients can then store passwords only in clear text, secured by Active Directory access control lists. The same page says domain controllers cannot manage their local DSRM account when the level is below 2016. The policy page says that enabling the ADPasswordEncryptionEnabled setting "requires that your Active Directory domain is running at Domain Functional Level 2016 or later".
Prove the cause before changing anything
All of these only read, with one exception: gpresult /h in step 5 writes a report file and changes nothing else.
-
Note which event the client logged. On the client, go to Applications and Services Logs > Microsoft > Windows > LAPS > Operational and find 10012 or 10006. For 10012 also find event 10055, which Microsoft says carries the name of the domain controller the client used.
-
For 10012, check whether the schema was ever extended. Microsoft says you can use the LDP or ADSIEDIT snap-in to identify whether the Windows LAPS schema attributes have been replicated. The attributes Microsoft's reference lists include msLAPS-PasswordExpirationTime, msLAPS-Password and msLAPS-EncryptedPassword, and the legacy ones are ms-Mcs-AdmPwdExpirationTime and ms-Mcs-AdmPwd. Look on the domain controller named in event 10055 first. By our reading of Microsoft's three causes, attributes that are absent there and also absent on the schema master point to the first cause, and attributes present on the schema master but absent on the client's domain controller point to replication.
-
Find the primary domain controller, which is the name Microsoft says to use in the replication command. Microsoft's command is shown below.
-
Look for replication errors on the domain controller from event 10055. Microsoft's command is shown below, and its page for the third cause points to its documentation on troubleshooting Active Directory replication problems.
-
For 10006, find the setting that is switching encryption on and the level the domain is at. The effective policy on the client can be listed with
gpresult /h <Report File Name>.html, which Microsoft uses for the related event 10027. The command writes that report file in the folder you give it and changes nothing else; the setting is the one the troubleshooting page calls Enable password encryption, under Computer Configuration > Policies > Administrative Templates > System > LAPS (the policy reference lists ADPasswordEncryptionEnabled as the setting that enables encryption of passwords in Active Directory). Microsoft's pages give no command that reads the domain functional level, so the domain's administrators read it in their usual directory tools.
The commands, each of which only reads:
nltest /dsgetdc:contoso.com /pdc /force
repadmin /showreps
Example (illustrative): at contoso.com.au a new Windows LAPS policy is applied to all member servers. Every server logs 10012 once an hour. In LDP.exe the schema master has msLAPS-Password, but the domain controller named in event 10055, in a branch office, does not. Replication from the schema master to that branch domain controller reports errors. The cause is the third one: a replication fault on the local domain controller, not a missing schema extension.
Fix
Match the fix to the cause found above.
First cause of 10012: the schema was never extended
Save first. Microsoft's Active Directory page says that practices recommended for managing Active Directory include backing up all domain controllers regularly. Before a forest-wide change, confirm that a current backup of a domain controller exists. The page gives no command for this, so it is general advice.
Risk: the next command extends the Active Directory schema for the whole forest. Microsoft calls it a one-time operation for the entire forest, and the page gives no way to undo it. It needs Schema Admin privileges. Plan it with whoever owns the forest, run it once, and do not repeat it on each domain controller.
Update-LapsADSchema
Microsoft says the command can be run locally on a Windows Server 2019 or later domain controller that has the Windows LAPS update, or on a server that is not a domain controller if that server supports the Windows LAPS PowerShell module. Adding -Verbose shows progress. For the legacy emulation mode Microsoft names a different cmdlet, Update-AdmPwdADSchema, and says it needs the legacy LAPS product installed first; that route is described and not walked through here.
To undo it: the page gives no way to undo it.
Second and third causes of 10012: the schema has not reached this domain controller
For the second cause, Microsoft's resolution is to force replication of the schema partition from the schema master to the client's domain controller. For the third, the resolution is to find and repair the replication error.
Save first. Keep the output of the read-only listing repadmin /showreps for the domain controller, so the state before the change can be compared afterwards.
Disruptive step: the next command forces replication of the schema partition between two domain controllers. It adds replication traffic and cannot be taken back once the data has moved; the page gives no way to undo it. Run it once, outside busy hours, and check the result with the read-only listing again.
repadmin /replicate DC2.contoso.com PDC.contoso.com CN=Schema,CN=Configuration,DC=contoso,dc=com /force
Microsoft's note says to replace DC2.contoso.com with the domain controller identified by event 10055, and PDC.contoso.com with the name of the primary domain controller in your environment.
To undo it: the page gives no way to undo it. If errors remain after the forced replication, the repair is the work of Microsoft's replication troubleshooting, which the page names but does not describe.
10006: the domain level is below 2016
Microsoft gives two resolutions: raise the domain functional level if needed, or disable the Enable password encryption Group Policy for client machines. It adds that disabling the encryption stored on the domain controller is not recommended.
Raising the functional level is a change to the whole domain that the page does not describe in steps. Treat it as a decision for the domain's administrators, taken with the facts from Microsoft's Active Directory page: at a level below 2016 encryption cannot be enabled, and at 2016 or above, domain controllers on Windows Server 2016 or earlier do not support Windows LAPS.
The second route can be done by the people who manage the Group Policy.
Save first. Record what is applied now by writing the current policy report to a file with gpresult /h <Report File Name>.html, and note the current value of the setting.
Risk: the next step turns off password encryption for the clients in the policy's scope. Microsoft's Active Directory page says that clients can then store passwords only in clear text, secured by Active Directory access control lists. Our reading of that is that anyone who has read permission on the password attribute can read them. Apply it only to the group of computers that need it, and plan to turn encryption back on once the domain level allows.
In the Group Policy Management Editor, go to Computer Configuration > Policies > Administrative Templates > System > LAPS, find the setting Enable password encryption and set it to disabled.
To undo it: the page gives no steps for this, so what follows is general advice, not a step on the page. Setting the policy back to the value recorded in the report, and then refreshing Group Policy on the affected computers, turns password encryption on again for those computers; the refresh applies every pending Group Policy change on them, not only this one, so check that nothing else is waiting to apply.
Confirm the fix
- After the change, a new cycle on the client no longer logs 10012 or 10006. Microsoft's Active Directory page says the way to confirm a password was stored is event 10018, "LAPS successfully updated Active Directory with the new password."
- Microsoft's pages say Windows LAPS processes its policy every hour. They also name
Invoke-LapsPolicyProcessingand a forced Group Policy refresh withgpupdate.exe /target:computer /forceas ways to start processing at once. Either can rotate a password that has expired, which is a change; the 10017 article gives that step with its warning. - For the schema, the three attributes named above are present in LDP.exe on the domain controller the client used.
- For 10006 after raising the level, the policy is back to encrypting and the next cycle logs the success event.
What to watch afterwards
- Other clients that use the same domain controller. A replication lag that affected one computer affects every computer that talks to that controller.
- Event 10055 after any change to which domain controller a client uses.
- Any computer still logging 10006 after the policy change; Microsoft says the password was not updated and no changes will be made until it is corrected.
- Domain controllers on Windows Server 2016 or earlier. Microsoft says they do not support Windows LAPS and cannot manage their DSRM account.
- The setting itself. If encryption was turned off for a group of clients, put it on a list to be switched on when the level has been raised.
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 8606 "Insufficient attributes were given to create an object": find and remove lingering objectsReplication fails with error 8606 and event 1988. The blocking object lives on the source domain controller, not the one logging the error. Identify it, decide whether it is transient, remove it safely and stop it recurring.Read article
- TroubleshootingDomain controller lost for good: seize the FSMO roles and clean up its metadataA domain controller holding FSMO roles is gone for good. Find the role holders, seize them with Ntdsutil, clean up metadata and avoid RID burn.Read article
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 gives no version range for either event. The other pages listed in Sources are dated between 2025-05-12 and 2025-12-15.
The page prints the message for 10006 without a closing full stop after "corrected", and quotes the second cause of 10012 with the words "A transient Active Directory replication exists". Both are quoted as printed. The page names Event ID 10055 for the domain controller name but does not print its text. It gives no command that reads the domain functional level, and no way to undo a schema extension. A schema change, a forced replication or a policy change on many computers is hard to reverse, so test on a lab forest or one computer first.
Sources
- Windows LAPS troubleshooting guidance — Microsoft Learn, page dated 2026-02-12, 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
- Windows LAPS schema extensions reference — Microsoft Learn, page dated 2025-12-15, accessed 3 December 2026
- Configure policy settings for Windows LAPS — Microsoft Learn, page dated 2025-07-01, accessed 3 December 2026
- Key concepts in Windows LAPS — Microsoft Learn, page dated 2025-05-19, accessed 3 December 2026
- Use Windows LAPS event logs — Microsoft Learn, page dated 2025-05-12, accessed 3 December 2026
- gpresult — Microsoft Learn, page dated 2024-11-01, accessed 3 December 2026
This article was originally published on .