Is there a way to remove the Shut Down option from the login window on Mac OS X (10.11.x) while preserving the ability to restart?


I don't know what the defaults write command is, but Mac Pilot can do this by setting this:

enter image description here

I just confirmed it works in 10.11.5 without needing a reboot.


I figured out the defaults write:

sudo defaults write /Library/Preferences/com.apple.loginwindow ShutDownDisabled -bool true

Afterwards, the command

sudo defaults read /Library/Preferences/com.apple.loginwindow ShutDownDisabled

should equal 1.

  • I used the defaults write option and it worked!!! – AJ. May 31 '16 at 19:27

In Terminal type this:
defaults write com.apple.loginwindow ShutDownDisabled -true to hide the Shutdown option.

To restore it again, type:
defaults write com.apple.loginwindow ShutDownDisabled -false

  • Just tested this on Mac OS X 10.11.5 with and without sudo but it didn't remove the Shut Down option on the login window. Note: The Mac was indeed rebooted. – AJ. May 27 '16 at 14:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .