> ## Documentation Index
> Fetch the complete documentation index at: https://docs.macstadium.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Hard reboot a MacStadium Mac from the portal

> Mac not responding and SSH is down? Use Hard Reboot in the MacStadium portal. Includes Energy Saver settings so the Mac comes back online automatically.

If your Mac locks up or connecting via SSH becomes unavailable, you should first use the Power Management ‘Hard Reboot’ feature included with every dedicated MacStadium server subscription via your control panel on the MacStadium website. Click a subscription, then select 'Hard Reboot' on the right hand side of the page.

<img src="https://mintcdn.com/macstadiuminc/k9YNvpSipPmqGPgg/images/attachments/44032707582107.png?fit=max&auto=format&n=k9YNvpSipPmqGPgg&q=85&s=a602173296dae72f77b46674c5bc0e67" alt="PortalReboot.png" width="2980" height="844" data-path="images/attachments/44032707582107.png" />

By clicking this button, you are sending a signal to a power-supply dedicated to your Mac in the data center. The power-supply will drop power for a few seconds and then restore power.

In order for this feature to work as desired, it is important that your Mac's Energy Saver/Battery settings are configured as shown below. All of our macs are configured with these settings by default, so no adjustment is needed.

In macOS Ventura (13.x), Sonoma (14.x), Sequoia (15.x) and later, select **System Settings** from the **Apple Menu** and configure as follows:

* Under the **Energy Saver** section:
  * Enable Prevent automatic sleeping when the display is off
  * Enable Start up automatically after a power failure
  * Enable Wake for network access
* Under the **Lock Screen** section:
  * Set Turn display off when inactive to Never
* Under the **Displays** section:
  * Set **Advanced** > **Prevent automatic sleeping on power adapter when the display is off** (if available)

In earlier versions of macOS (Monterey (12.x) and older), select System Preferences from the Apple Menu and configure as follows:

* Click **Energy Saver**
* Set **Display Sleep** to **Never**
* Computer Sleep: Set to Never
* Uncheck ‘Put the hard disks to sleep when possible’
* Check ‘Wake for Ethernet network administrator access’
* Uncheck ‘Allow power button to sleep the computer’
* Check ‘Restart automatically after a power failure’
* Click Schedule
* Set Start up or wake Every day at 4AM (in case you ever accidentally shut your mac down permanently)
