JAMF Lock Computers

New Contributor II

Hello all is there a script out there or a EA that can show us all users computers that are locked in JAMF? is it possible to create a smart group for this sort of request?


Esteemed Contributor II

@JamfAdmin2 If a Mac is locked then it's not going to be submitting an inventory report so an EA isn't going to work. What you can do is use the Jamf API and a script to find what Macs have been sent a Lock command. The following thread discusses that option in detail: https://community.jamf.com/t5/jamf-pro/is-there-a-way-to-show-quot-locked-quot-computers-in-the/m-p/...

Something I’ve incorporated into our workflows, when sending the API Lock command, I also populate an EA via the API with the lock code used. Then I can use Smart Groups to find those computers with lock codes.