Skip to content

Troubleshooting

Find the message LAPSLens showed.

Signing in and finding the computer

Message What to do
Can't reach dc01… on port 636 The DC isn't reachable over LDAPS. Check the name, VPN, and that TCP 636 is open to that DC.
Timed out reaching dc01… The DC accepted the connection but didn't answer within 30 seconds. Try another DC.
A TLS or certificate error The Mac doesn't trust the DC's certificate, or the name doesn't match it. Install your AD certificate authority's root certificate with a configuration profile, and use the DC's full DNS name. See The certificate.
The user name or password is wrong. Check both. Use [email protected] as the user name.
Enter your password. The password field is empty. LAPSLens never signs in without one (that would be an anonymous bind).
The domain controller requires an encrypted connection (LDAPS). Make sure you're connecting to port 636 on a DC that has a certificate.
No computer named … in DC=… Check the name. LAPSLens searches the whole domain for the computer's account name (NAME$).
Found the computer, but no LAPS password you can read. Either the computer doesn't use LAPS, or your account isn't allowed to read the password. See Permissions.

Encrypted Windows LAPS

Message What to do
Use the domain controller's full DNS name… Type dc01.corp.example.com, not an IP address or dc01.
Can't reach … on port 135 Open TCP 135 and the dynamic RPC range from your Mac to the DC.
The endpoint mapper doesn't know the key service. The DC isn't running the Microsoft Key Distribution Service. Try a different DC (Windows Server 2012 or later).
Kerberos sign-in to the domain controller didn't finish. You probably have no Kerberos ticket. Run klist; if it's empty, kinit [email protected].
The domain controller didn't use Kerberos, so LAPSLens stopped. The DC offered NTLM, which LAPSLens never uses for keys. Usually this also means there's no ticket, or the DC name isn't the one Kerberos knows.
Kerberos didn't grant mutual authentication and encryption… Something between you and the DC weakened the connection. LAPSLens stops rather than risk it.
The domain controller refused the key request (access denied). Your account isn't in the group the password is encrypted to. See Who can decrypt.
The domain controller's key doesn't unlock this password. / failed its integrity check The value was changed or cut short. Copy it again, or look it up directly.

Pasted values

Message What to do
passwordBase64 is not valid base64. Copy the whole Graph response again.
passwordBase64 is neither UTF-8 nor UTF-16LE text. The value decoded to bytes that aren't a password. Copy the whole Graph response again.
Expected a Graph deviceLocalCredentialInfo response. The JSON isn't a Graph LAPS response. Ask Graph for ?$select=credentials.
A macOSLAPS escrow note Decrypting macOSLAPS escrow is planned. For now, see macOSLAPS's guide.

Still stuck? Ask in #laps on MacAdmins Slack or open a GitHub issue with your macOS version and the exact message. Never include a password.