Skip to main content
Question

Display Message or Lock Screen During Post Image Policy with Startup Trigger

  • March 8, 2017
  • 2 replies
  • 27 views

Forum|alt.badge.img+11

Greetings!

I have a Post Image Policy that runs a script (mostly other policies with custom triggers) with a Startup trigger. I'd like to display a message at the login screen (or lock the screen even better) until it completes. I've tried using jamfHelper...

/usr/local/bin/jamf launchJAMFHelper -path '/Library/Application Support/JAMF/bin/jamfHelper.app'

...both in the script and with a custom trigger that calls a payload-free package with a postInstall script but neither seemed to do the trick. Also tried cocoaDialog as well but wasn't able to get that to run at the login window.

Anyone doing anything similar, might be able to recommend a workflow, or have any suggestions?

Thanks!

2 replies

Forum|alt.badge.img+2
  • New Contributor
  • March 8, 2017

I was having this same issue. I ended up creating a pkg that runs your JAMFHelper script. I set a trigger to run that pkg first in my postInstall script.


Forum|alt.badge.img+11
  • Author
  • Contributor
  • March 8, 2017

Thanks @kbingham , I wasn't able to get that to work but I'll try again!