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 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
How to add external games to your Steam library
Steam library.

Steam is the place for PC games, but several games are only available on other storefronts. The Epic Games Store, Ubisoft Connect, Origin, and more have games that you can’t find on Steam. Plus there are those classic roguelike games you're likely to download from independent sites. Here's how to get them all on Steam so you can access your games all from the same place. Plus, we'll show you how to add games you've bought from places like Humble Bundle that use Steam codes.

Read more
How to use a blue light filter on your PC or Mac
How to use a blue light filter on a PC or Mac

Whether you are spending your day on a Windows PC, Mac, or Chromebook, you should enable their blue light filter to help ease the strain on your eyes. Desktop screens and laptops typically have a built-in filter you can access, and there are downloadable options in case your computer doesn’t have this feature available.

We'll go into each of these steps below, but here's a simplified explanation of how to configure blue light settings on a Mac:

Read more