# LAPS

The "Local Administrator Password Solution" (LAPS) provides management of local account passwords of domain joined computers. Passwords are stored in Active Directory (AD) and protected by ACL, so only eligible users can read it or request its reset.

## Enumerating LAPS access

Using `AdmPwd.PS.psd1`&#x20;

<https://www.powershellgallery.com/packages/AdmPwd.PS/6.3.1.0>

```powershell
Import-Module C:\AD\Tools\AdmPwd.PS\AdmPwd.PS.psd1
```

Enumerating for right holders

```powershell
Find-AdmPwdExtendedRights -Identity OUDistinguishedName
Get-DomainOU | %{Find-AdmPwdExtendedRights -Identity $_.distinguishedname}
```

## Accessing LAPS passwords

{% embed url="<https://www.hackingarticles.in/credential-dumpinglaps/>" %}


---

# Agent Instructions: 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:

```
GET https://rfc1918.gitbook.io/offsec/credential-access/microsoft-windows/laps.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
