I have a MacBook Pro 2016 model with an Intel i7 running macOS Sequoia using OpenCore Legacy Patcher for which I want to disable the auto boot or auto turn-on feature when the lid is opened or when the laptop is connected to power.
I am confused by the seemingly conflicting terminal commands I found on the internet on how to do this.
From the official Apple support article (120622), it recommends the use of these terminal commands:
to prevent auto boot when opening the lid or connecting to power, when opening the lid only, and when connecting to power only respectively.
On the other hand, iFixit recommends the use of this terminal command:
to prevent auto boot when opening the lid only. There is no switch for preventing auto boot when opening the lid or connecting to power.
I tried all of the above commands, none of them worked.
What am I doing wrong? Can someone with an Intel MacBook pro try out these commands to see they work for them?
I am confused by the seemingly conflicting terminal commands I found on the internet on how to do this.
From the official Apple support article (120622), it recommends the use of these terminal commands:
sudo nvram BootPreference=%00sudo nvram BootPreference=%01sudo nvram BootPreference=%02to prevent auto boot when opening the lid or connecting to power, when opening the lid only, and when connecting to power only respectively.
On the other hand, iFixit recommends the use of this terminal command:
sudo nvram AutoBoot=%00to prevent auto boot when opening the lid only. There is no switch for preventing auto boot when opening the lid or connecting to power.
I tried all of the above commands, none of them worked.
What am I doing wrong? Can someone with an Intel MacBook pro try out these commands to see they work for them?