Me and my friends like having a laugh together and as part of that we turn each other computers off and spam tabs till the computer crashes. Is thee a way how to disable the power button on my MBP 2015 to prevent my friends from turning my computer by holding down the power button? If possible I would like to remap it to command+power or command+option+power.

So far the only way to stop them is physically moving their hand away in time (which I always do). Would be nice to do my work without having to move their hand all the time!

  • You could pull the key off the keyboard so they have a much smaller target.
    – user24601
    Jun 1, 2015 at 21:45
  • Would that void my warranty or not?
    – iProgram
    Jun 2, 2015 at 6:17

1 Answer 1


No. While an individual press of the power button can be reconfigured into a keyboard shortcut/function using third party software, the Press and Hold feature of it is a failsafe commonly included with computer systems and is stored at the firmware level of the system to allow you to shut the system down should it lock up. You will not be able to change the behavior.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .