mm2270 / JamfProScripts

A collection of shell scripts created for use in Jamf Pro and elsewhere
MIT License
174 stars 30 forks source link

Problem with policy banner #13

Open maburdett opened 6 years ago

maburdett commented 6 years ago

Every once and while I get a Mac that is stuck on the policy banner https://support.apple.com/en-us/HT202277 and the user can't click on the agree button.

I found under the policy banner is the lock screen from the com.LockLoginScreen.plist and this seems to prevent the update from finishing or the user is restarting the computer because they don't see the lock screen telling them not to restart the computer.

I'm thinking I could move or rename the banner file in /Library/Security/ when the com.LockLoginScreen.plist file is being created but my initial attempts have broken your script.

Any chance you could add in a check for the policy banner, disable it, and enable it after the the update is finished, or some other idea to prevent policy banner from hiding the update lock screen?