Skip to main content
Question

JAMF Lock Computers

  • October 18, 2023
  • 2 replies
  • 40 views

JamfAdmin2
Forum|alt.badge.img+6

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?

2 replies

sdagley
Forum|alt.badge.img+25
  • Jamf Heroes
  • October 18, 2023

@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/283040


Forum|alt.badge.img+15
  • Jamf Heroes
  • October 22, 2023

@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/283040


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.