Skip to main content

Hello Community,



since a few month I to fix this issue... It is simple but nothing works.



I want:




  • ScreenSaver after 5 minutes

  • Immediately Password Require



I try it with a configuration profile, it works sometimes and sometimes not. It is a bad option. I try a lot of scripts nothing works. I use JSS 9.93.



I hope everyone can help me to fix this simple issue. I only want a screenshot after 5 minutes with a password require 🙂



Many Thanks
Christian

You have to custom build and sign the profiles..



https://developer.apple.com/library/ios/featuredarticles/iPhoneConfigurationProfileRef/Introduction/Introduction.html



Passcode Policy Payload, maxGracePeriod



There here is a similar issue...



https://jamfnation.jamfsoftware.com/discussion.html?id=20842



There is a thread about this somewhere here : )



C


I got this information from my JAMF Buddy, he mention to try this workaround to create a script.



Script should look something like this:



!/bin/bash



defaults write com.apple.screensaver askForPassword -int 0 defaults -currentHost write com.apple.screensaver idleTime 7200 defaults write com.apple.screensaver askForPassword -bool false



also he provided this link:
-- https://jamfnation.jamfsoftware.com/discussion.html?id=9982



I have not try it yet, please post your results (if it worked or it didn't)



hope it helps.


Hello!



Many Thanks for help!



@gachowski Many Thanks - My JAMF Buddy tell me, that this issue is fixed since 9.93 but I can try it! :-)



@scentsy Many Thanks for the bash script. I test it, tomorrow!



Feedback in a few days! :-)



-Christian


Hello,



I fixed the issue with the screen saver. It works with the configuration profiles perfect, now.



The problem was, inside a older Profile I saw settings which I delete from the profile. In Casper Suite I don't saw the settings but on the mac on "System Preferences -> Profiles" I saw the settings. I delete this profile.



Now, it works!



Many Thanks