Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Is there a way to prevent auto-shutdown at login screen?

This "feature" seems to have been introduced in OS X Yosemite and has continued through at least OS X El Capitan—and most likely MacOS Sierra. If a Mac is started, and there is no login within a couple minutes, it will shut down.


This is really bad from a remote perspective. Let's say I reboot the machine using ssh—if I don't reconnect and log in within this short timeframe, the computer will shut down, and then I have no way to connect to it. The only way to start the machine at that point is to have someone at the physical location. I've completely lost remote access to my machine for weeks because of this. This is not something that should happen without an option to disable it.


My only known workaround is to log in before it shuts down and then keep that user logged in. Unfortunately, this opportunity may be lost if restarting and connecting remotely with slow internet speeds. This functionality makes it so I cannot depend on an ssh connection to my machine.


Is there a way to prevent a Mac from shutting down automatically at the login screen?

Posted on Feb 26, 2017 5:23 PM

Reply
Question marked as Best reply

Posted on Feb 26, 2017 11:01 PM

System sleep is normal after a period of inactivity. Shutdown is not.


Reset the SMC: Reset the System Management Controller (SMC) on your Mac - Apple Support.


Excerpted from the above:


After you perform normal troubleshooting, these symptoms might mean that an SMC reset could be necessary:


  • ...
  • The computer sleeps or shuts down unexpectedly.
22 replies

Is there a way to prevent auto-shutdown at login screen?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.