
ALT An article on support.apple.com titled "Prevent a Mac laptop from turning on when opening its lid or connecting to power". Open Terminal, which is in the Utilities folder of your Applications folder. Or use Spotlight to find and open it. Type one of these commands in Terminal, then press Return: - To prevent startup when opening the lid or connecting to power: sudo nvram BootPreference=%00 - To prevent startup only when opening the lid: sudo nvram BootPreference=%01 - To prevent startup only when connecting to power: sudo nvram BootPreference=%02 Type your administrator password when prompted (Terminal doesnโt show the password as it's typed), then press Return. To undo any of the previous commands and reenable automatic startup when opening the lid or connecting to power, enter sudo nvram -d BootPreference in Terminal.






























