Setting to prevent MacBook from turning on when opened.

118.99.***.***
330

I use my main computer as a Mac Studio, but I often reach for my MacBook.

But this thing... When you just open the lid... It turns on... (It doesn't wake up from sleep, it turns on even if I turn it off and then close and open the lid.)

This can be convenient, but it can also be inconvenient.

Until now, there was no way to control this function...

macOS Sequoia 15 or later allows you to change this behavior without affecting the ability to turn on your Mac using the keyboard or trackpad.

 

Enter the following commands in Terminal:

 

  • To prevent both opening the lid and connecting the power from automatically turning on the computer
sudo nvram BootPreference=%00

  • To prevent the computer from automatically turning on when the lid is opened
sudo nvram BootPreference=%01

  • To prevent the computer from automatically turning on when the power is connected
sudo nvram BootPreference=%02

 

  • To revert to default settings (automatic power-on state)
sudo nvram -d BootPreference

 

By the way, there's also an app called KeyboardCleanTool.

It's an app that can be installed through brew, so if you need it, install and configure it.

 

brew install keyboardcleantool

 

로그인한 회원만 댓글 등록이 가능합니다.

Jakarta 거주하며 자전거를 취미로 합니다.

개발한당

KR | ID | EN
  • IDR
  • KOR
8.32 0.01

2026.07.10 KEB 하나은행 고시회차 743회

다가오는 한인 행사일정

  • 등록 된 일정이 없어요!