macOSLAPS 4.0 is in prerelease: download 4.0.0.1000 and read Upgrading from 3.x first. This README and the documentation describe 4.0. The latest stable release is 3.0.4, documented on the wiki.
macOSLAPS rotates the password of a local administrator account on your Macs to a random value, on a schedule, and keeps it where IT can get it:
- Escrow: your MDM collects the password with
macOSLAPS -escrow, in plain text or encrypted to your admins' certificates (CMS). - Device mode: your MDM collects a reveal code instead. A technician enters it on the Mac, in macOSLAPS.app with no admin rights needed, to see the password, which changes again a few hours later.
- Active Directory: the password goes on the computer object (legacy LAPS or Windows LAPS attributes).
It also keeps the admin group to the accounts you approve, and works with any MDM: Jamf Pro, Intune, Workspace ONE, Iru (Kandji), Mosyle and others. Since 4.0 it installs as /Applications/macOSLAPS.app and needs macOS 13 or later.
joshua-d-miller.com/macOSLAPS documents 4.0:
| Get started | Set up macOSLAPS with your MDM |
| Upgrading from 3.x | The new identity, the keychain migration and what to watch for. Read this before upgrading. |
| Getting the password | Escrow, encrypted escrow, device mode and Active Directory |
| Admin group protection | On by default in 4.0: who stays admin |
| Settings reference | Every key and its default |
| Testing 4.0 | What CI tests on every build, and what needs your Macs |
macOSLAPS 3.x is documented on the wiki, which is kept as it is for 3.x users.
The site is built from docs/ and published by GitHub Actions. To preview it locally: pip install zensical && zensical serve.
Profile Manifests/ |
Jamf Pro custom schema and iMazing Profile Editor manifest for every setting |
PLIST Example/ |
An example settings file |
integrations/ |
Escrow, status and password scripts for Jamf Pro, Intune, Workspace ONE and other MDMs, and an MDM install script |
.github/release-notes/ |
Release notes |
Starting with 4.0, configuration profiles should use the preference domain (PayloadType) com.joshua-d-miller.macoslaps. The keys are unchanged. Profiles using the original edu.psu.macoslaps domain continue to work throughout 4.x and log a deprecation warning. Run sudo macOSLAPS -showConfig to see which settings are in effect and where they came from.
If you have questions you can contact me or the vibrant and friendly community in the #laps channel on MacAdmins Slack, or open an issue.
macOSLAPS was originally created while I was at The Pennsylvania State University, which is where the edu.psu identifiers come from. Thank you to Penn State for the start. The project is now maintained independently. Everyone who has contributed is thanked on the credits page.

