Sometimes you just want to open up your MacBook, or plug it in, without it deciding to power itself on. Most of the time the behaviour makes sense but sometimes you don’t want it – wouldn’t it better to allow the. user to decide?
Until now, changing this default wasn’t possible, but with M-powered MacBooks and MacOS Sequoia onwards, you can now do this.
To do it, you need to open the Terminal app (Applications > Utilities) and type in one of the following commands in, followed by Enter. You’ll be prompted for a password, which won’t appear as you type. Again, complete this by pressing Enter.
Allow opening the MacBook or power to be connected without it switching on…
sudo nvram BootPreference=%00
Allow opening the MacBook without it switching on…
sudo nvram BootPreference=%01
Allow power to be connected to the MacBook without it powering on…
sudo nvram BootPreference=%02
If you change your mind and want to go back to the default behaviour…
sudo nvram -d BootPreference


Leave a Reply