Skip to content

Decode Pasted Value

For a LAPS password you've copied from somewhere else: the Entra admin center, Microsoft Graph, an MDM console, or an AD attribute. Choose Edit → Decode Pasted Value… (⇧⌘V), paste, and click Read (⌘Return).

A pasted Windows LAPS value, decoded

LAPSLens works out the format by itself, and clears the editor once it's read the value, so the raw text doesn't stay on screen. If it guesses wrong, choose the format from the menu.

Formats

Format Looks like Where it comes from
Plain text Kp7#vQ2m-Xw9$Ld4 Legacy Microsoft LAPS (ms-Mcs-AdmPwd), MDM consoles, macOSLAPS plain-text escrow
Windows LAPS JSON {"n":"Administrator","t":"1dc7…","p":"…"} The msLAPS-Password attribute
Microsoft Graph {"credentials":[{"accountName":"…","passwordBase64":"…"}]} Entra ID / Intune: GET /directory/deviceLocalCredentials/{id}?$select=credentials. With several credentials, the newest is shown.
Encrypted Windows LAPS base64 The msLAPS-EncryptedPassword attribute. LAPSLens asks a DC for the key; see Encrypted Windows LAPS.
macOSLAPS encrypted escrow -----BEGIN PKCS7----- Recognised. Decrypting it is planned; for now use security cms -D as described in macOSLAPS's guide.

Nothing you paste leaves your Mac, except the key request for an encrypted Windows LAPS value, which goes to the domain controller you type.