Hi all,
At System Settings -> Display -> Advanced -> Energy you can this turn off or on "Prevent automatic sleeping when the display" Any idea of this is possible to control this with Jamf?
thanks
Hi all,
At System Settings -> Display -> Advanced -> Energy you can this turn off or on "Prevent automatic sleeping when the display" Any idea of this is possible to control this with Jamf?
thanks
@PE14_2 Running the following command via a Files and Processes payload will set the Mac to not go to sleep when it's plugged in:
/usr/bin/pmset -c sleep 0
@PE14_2 Running the following command via a Files and Processes payload will set the Mac to not go to sleep when it's plugged in:
/usr/bin/pmset -c sleep 0
@sdagley thanks this works also with an iMac? this one is always plugged in ;-)
@sdagley thanks this works also with an iMac? this one is always plugged in ;-)
@PE14_2 Yes, that should work with any Mac
@sdagley thanks for your time
@PE14_2 Running the following command via a Files and Processes payload will set the Mac to not go to sleep when it's plugged in:
/usr/bin/pmset -c sleep 0
Is this really the only way to do this? I could have sworn we used to be able to set this from a profile payload in Jamf.
Is this really the only way to do this? I could have sworn we used to be able to set this from a profile payload in Jamf.
Yes, as was pointed out in a similar thread there is an Energy Saver Configuration Profile payload I'd forgotten about, but at least in Jamf Pro's implementation of the configuration GUI for that payload there is no option for never go to sleep.
Yes, as was pointed out in a similar thread there is an Energy Saver Configuration Profile payload I'd forgotten about, but at least in Jamf Pro's implementation of the configuration GUI for that payload there is no option for never go to sleep.
Yeah, that's the one I'm talking about. Didn't there used to be a "never" option there? It's possible I imagined it.
Yeah, that's the one I'm talking about. Didn't there used to be a "never" option there? It's possible I imagined it.
Apple's MDM spec says the sleep time can be between 1 and 180 minutes, or 0 to disable. Jamf's GUI doesn't support that for the Energy Saver payload so you can use the JSON Manifest for com.apple.MCX-EnergySaver (see https://github.com/Jamf-Custom-Profile-Schemas/ProfileManifestsMirror/blob/main/manifests/ManifestsApple/com.apple.MCX-EnergySaver.json), or use iMazing Profile Editor to build and sign a profile with that setting then upload that profile to Jamf Pro for distribution.
Apple's MDM spec says the sleep time can be between 1 and 180 minutes, or 0 to disable. Jamf's GUI doesn't support that for the Energy Saver payload so you can use the JSON Manifest for com.apple.MCX-EnergySaver (see https://github.com/Jamf-Custom-Profile-Schemas/ProfileManifestsMirror/blob/main/manifests/ManifestsApple/com.apple.MCX-EnergySaver.json), or use iMazing Profile Editor to build and sign a profile with that setting then upload that profile to Jamf Pro for distribution.
Nice, I'll give that a go. Thanks for the suggestion!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.