Skip to main content

How to make your PC’s power button do other stuff

HP-Spectre-13-laptop-power-button-macro
Image used with permission by copyright holder

You may have committed this snafu before – You’re doing your thing on your PC, accidentally hit the power button and, oops! You just lost whatever you were working on or ruined your online gaming session, throwing the match and ticking off your buddies off in the process. Thankfully, like a good dog, you can retrain the power button on your PC to behave differently, avoiding such sticky situations altogether down the line. If this sounds like you, we’ll show you how to do just that. It’s simple to pull off as well.

How to make your PC’s power button put your machine to sleep, hibernate, restart and more 

Start off by holding the Windows key and pressing R, which should bring up the Run dialog box. From here, type in “control panel” and press Enter. Then, scroll down to “Power Options” and click on it. To the left of your active power plan, there should be a button labeled “Choose what the power button does.” Click on it.

Now, you should see drop down menus which include multiple options. Depending on the selected option, pressing your power button will produce a different result. From here, you can choose to make your power button put your PC to sleep, rest in hibernation mode, or restart it. Once you’ve chosen your preferred action, click “Save changes” at the bottom. 

You’re done! Got questions? Suggestions? Sound off in the comments below.

Editors' Recommendations

Konrad Krawczyk
Former Digital Trends Contributor
Konrad covers desktops, laptops, tablets, sports tech and subjects in between for Digital Trends. Prior to joining DT, he…
How to build a PC from scratch: A beginner’s guide for building your own desktop computer
Installing RAM in a desktop PC.

Building a PC from scratch might seem like a daunting task. From motherboards and CPUs to GPUs and cooling systems, there are a lot of moving pieces to consider. But despite all these fancy components, building a desktop computer is surprisingly simple. In fact, if you know how to handle a screwdriver and aren't afraid of connecting a few cables, it's possible for beginners to build a PC that's powerful enough to handle even the most demanding games and software.

Read more
How to measure your PC’s power use, and why it matters
A person using 1Password on a desktop all-in-one computer while sat at a desk. There are two laptops next to them on the desk.

Do you have any clue how much power your PC consumes when you’re playing video games? Or how about when it’s just sitting idly? Whether you’re trying to figure out how to cut down on energy costs, or simply want to know how much toil your PC endures when running Abode Creative Suite, you’ll want to learn how to measure your PC’s power draw.

Fortunately, there are several different tools you can use to monitor this important statistic. Some are built right into your operating system, while others will require a separate download. You can also purchase certain external devices to keep tabs on your desktop’s energy output.

Read more
How to change your mouse cursor in Windows

You can change your mouse cursor in Windows to create a new aesthetic, have a more visible pointer, or make it more colorful to pop on certain backgrounds. In other words, changing your mouse cursor pointer is equally important for visual style and accessibility. Making your mouse cursor bigger and green makes it easier to find for anybody, for example. In any event, doing so is not difficult; here we will go through the steps to get into your mouse cursor settings on Windows, what settings you can change, and more.

Read more