I am having an issue with Jamf having "Start screen saver after" unchecked within a configuration profile, yet after 20 minutes each one of the iMacs run their screensaver. Does anyone have a workaround to changing the screensaver time from 20 minutes to never without me having to apply it individually per workstation?
Setting ScreenSaver to Never
Best answer by mm2270
This can be done, but you need to use a Custom Settings payload with a plist uploaded.
The trick to getting the screensaver to not kick in at all is to set the idleTime setting in the com.apple.ScreenSaver.plist to 0
You can do that with the following set of commands in Terminal
defaults write ~/Desktop/com.apple.ScreenSaver.plist idleTime -int 0
plutil -convert xml1 ~/Desktop/com.apple.ScreenSaver.plist
Then go into Jamf Pro, create a new Configuration Profile and add a Custom Settings payload. Upload the plist on the Desktop that was created using the above steps and it should look something like this:

One key thing about this - It must be set as a User Level Profile. A Computer Level profile won't work in my experience. What this means is that once it's scoped it may not get pushed down to any devices in scope until they either log out/in or an inventory collection is run on them. So if you're scoping it to a test Mac to start with, just run a sudo jamf recon on the Mac and you should see the profile get pushed down into the Profiles preference pane.
Once it's been successfully pushed to any MDM enabled accounts on your Macs, the setting in the Desktop & Screen Saver Pref Pane should look like this:

Because its a profile, it does lock out the setting from being changed by anyone as you can see in the above screenshot. Not sure if that was the ultimate intention, but that's how it will work.
Good luck, and post back if you run into any problems.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
