Jamf-LAPS-Bootstrapper icon indicating copy to clipboard operation
Jamf-LAPS-Bootstrapper copied to clipboard

A simple tool to get the LAPS password from a Mac enrolled in Jamf Pro

Jamf LAPS Bootstrapper

I wanted to make a tool to get the LAPS password from a Mac in Jamf using the free tool macOSLAPS.

You can get this tool from here: https://github.com/joshua-d-miller/macOSLAPS

Jamf Extension attribute: https://github.com/kylejericson/JAMF/blob/master/Computer%20Extension%20Attributes/LAPS%20Password.xml

First, this tool assumes you have the following deployed:

  1. Jamf Pro with macOS LAPS setup and an extension attribute with the laps password
  2. The Extension attribute Id from Jamf
  3. Jamf Pro user with rights to read the LAPS password via API
  4. Mac enrolled with a LAPS password in its inventory
  5. This tool uses Swiftdialog and is now embedded into this app version 2.1.0-4148 https://github.com/bartreardon/swiftDialog

If you want to use a Jamf API Service account these are the only permissions required.

When you check the checkbox to save creds they are saved here: macOS Keychain and $HOME/Library/Application Support/jamfbootstrapper