If you have children or pets – particularly cats – you know how much they like to touch or climb on your things, particularly your PC. The other day while I was writing an article, my five year old was sitting next to me, watching Sesame Street videos and, as is her habit, waving her feet around.
All of a sudden, I saw my computer had the “shutting down” text on the screen and, within a few seconds, the power was off and the article I was writing in our CMS (and hadn’t saved yet) was gone. My daughter had accidentally kicked the power button on my desktop, which sits under my desk.
This isn’t the first time my daughter has accidentally turned off my computer while I was doing work. Another time, she pressed the button on purpose, thinking it would change the RGB light colors on the fans. And many years ago when I had cats, one of my cats hit my desktop’s power button with his paw, coincidentally while I was writing about him.
If you have a Windows desktop or even a laptop, it’s very easy for kids or pets to touch that power button, initiate a shutdown and cause data loss. You might even do it to yourself if you brush against it with your own finger or toe.
On some systems, particularly laptops, it’s possible the power button will be configured to put your computer to sleep, which will waste your time as you wake the computer up again but won’t cost you work. But, on my desktop – where I had done a clean install ofWindows 11Pro just a couple of weeks ago – shutdown on power button press was the default setting.
Fortunately, it’s easy to change what the power button does in Windows 11 or 10 and set it to “do nothing.” So when your child or cat presses the button, absolutely nothing will happen. If your computer completely locks up and you can’t shut down via Windows, you can still hold down the button for several seconds to cut the power.
How to Disable the Power Button in Windows 11 or 10
1.Navigate to the control panel. The easiest way to get there is to search for control panel in Windows search and click the top result.
Get Tom’s Hardware’s best news and in-depth reviews, straight to your inbox.
4.Set when I press the power button to “Do nothing.”
5.Click Save changes.
Now, when anyone presses the power button, it will do nothing. If you need to shut down and Windows is frozen, you may hold down the button for a few seconds and the computer will power off. Or you could flip the power switch on the back of the power supply (on a desktop).
Avram Piltch is Managing Editor: Special Projects. When he’s not playing with the latest gadgets at work or putting on VR helmets at trade shows, you’ll find him rooting his phone, taking apart his PC, or coding plugins. With his technical knowledge and passion for testing, Avram developed many real-world benchmarks, including our laptop battery test.