Posted on 05-23-2014 05:29 AM
I'd like to set a Configuration Profile or policy on my Mac mini servers to grey out or hide the Sleep, Restart, and Shut Down options on the Apple Menu (login window too, but I think I already know how to do that part). The purpose to this is to force someone to open a Terminal and issue a shut down or restart command which would ensure someone doesn't just click the wrong button.
Is there a way to set this? it is for Mavericks 10.9.3.
Thank you
Posted on 05-23-2014 05:59 AM
i believe with a login window configuration profile you can disable the shut down button and with a login window managed preference you can disable all...
Posted on 05-23-2014 08:32 AM
This will disable the sleep button.
#!/bin/sh
defaults write /Library/Preferences/SystemConfiguration/com.apple.PowerManagement SystemPowerSettings -dict SleepDisabled -bool YES
Posted on 03-07-2023 07:49 AM
Do you know of a way to disable the Sleep option in the Finder drop-down menu?
Posted on 05-23-2014 11:22 AM
edit:
You can accomplish this through configuration profiles in the JSS. Use the "Finder" payload select the "Command" tab and uncheck "Restart" and "Shut Down" boxes. This combined with the above command for turning off "Sleep" should get you what you need.
Posted on 02-22-2015 10:39 AM
Hi Christopher M.J. Tangora,
Can you please post command to disable shutdown here. Your posted command for sleep worked like charm!
Thanks
Posted on 10-21-2015 06:40 AM
Hi all!
It looks like in 10.11.x the Finder configuration profile with unchecked "Shut Down" box is not working.
Does anyone have a solution?
Thanks
Posted on 05-05-2016 09:00 AM
Yeah I can confirm that Finder configuration profile with unchecked "Shut Down" box and the others are not working for me either - testing on 10.11.4 EL Capitan with JSS 9.82