> For the complete documentation index, see [llms.txt](https://docs.lithnet.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lithnet.io/ams/v3.0/help-and-support/application-help-pages/directory-configuration/active-directory-page/active-directory-microsoft-laps.md).

# Microsoft LAPS configuration page

Access Manager can read LAPS passwords from Active Directory generated by both the new Windows LAPS and legacy Microsoft LAPS agents.

![](https://1500666603-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzPrDxVWpXXpSNTpkDVnR%2Fuploads%2Fgit-blob-efce695a0de37ec54fe7deb532f79132216d35a6%2Fui-page-directory-configuration-active-directory-microsoft-laps.png?alt=media)

## Schema

A list of forests is shown along with an indication of the deployment status of the legacy and new Microsoft LAPS schemas.

The legacy Microsoft LAPS schema uses an attribute called `ms-mcs-admpwd` to store the local admin password in plain text.

The new Windows LAPS agent in Windows 11 uses attributes called [`msLAPS-Password` and `msLAPS-EncryptedPassword`](https://learn.microsoft.com/en-us/windows-server/identity/laps/laps-technical-reference).

If you need to deploy the Microsoft LAPS schema, refer to the [Microsoft guides](https://aka.ms/laps) on how to complete this process.

## Password retrieval

### Enable retrieval of legacy LAPS passwords

When configured, Access Manager will attempt to retrieve passwords stored in Active Directory stored by the legacy Microsoft LAPS agent.

### Enable retrieval of Windows LAPS passwords

When configured, Access Manager will attempt to retrieve passwords stored in Active Directory stored by the new Windows LAPS agent in either encrypted or unencrypted form.

This includes the ability to read encrypted passwords, as well as password history from Active Directory.

## Permissions

If you plan on using Lithnet Access Manager to read Microsoft LAPS passwords, you'll need to delegate permission for the AMS service account to read those passwords. You can use the built-in cmdlets from Microsoft's PowerShell modules, or click the `Delegate LAPS Permissions` button to generate a script to do this automatically.

Copy or save the script, modify the `$OU` variable as appropriate, and run it in with domain admin rights.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.lithnet.io/ams/v3.0/help-and-support/application-help-pages/directory-configuration/active-directory-page/active-directory-microsoft-laps.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
