How to Prevent Devices From Waking Up Your Sleeping PC

Ben Stegner 12-12-2016

It’s frustrating when your computer seems to have a mind of its own. One of the ways this manifests is your PC’s power. At times, you’ll swear you put your system to sleep, only to walk back a minute later and find it turned on again How To Stop Your Windows Computer From Randomly Waking Up Computers can have restless nights, too. Sometimes, they turn on for no apparent reason and eventually go back to sleep. Making your computer sleep through the night isn't hard and we show you how. Read More .


Aside from being irritating, this can also waste power. In the case of a laptop, if the machine turns on in your bag, it could overheat due to the confined space. One common cause of machines waking from sleep by themselves is an external device powering them on. Here’s how you can disable that.

First, we’ll need to check which of your devices are allowed to wake your PC. Open a Command Prompt 7 Common Tasks The Windows Command Prompt Makes Quick & Easy Don't let the command prompt intimidate you. It's simpler and more useful than you expect. You might be surprised by what you can accomplish with just a few keystrokes. Read More by typing cmd into the Start menu, and type the following command:

powercfg -devicequery wake_armed

This will list the devices have permission to wake your computer. You’ll likely see your mouse, keyboard, and other similar devices here. To adjust these, type Device Manager into the Start Menu to open that utility.

Here, you’ll find all devices for your system, organized by type. Your mouse should be under Mice and other pointing devices, while keyboards are obviously under Keyboards. Each device in the Device Manager will have the same name as it did in the Command Prompt window.

Double-click on a device that was listed, and choose the Power Management tab. Uncheck Allow this device to wake the computer and click OK to save that choice. Repeat this for each device you want to revoke waking privileges for; consider running the command again when you’re done to be sure you got everything.


Now, you won’t have to worry about accidentally waking up your computer when you bump a key getting up from your desk. You know how to keep your PC from turning on randomly, so check out how you can remotely turn on and control your computer 5 Ways To Remote Control Your PC With Power Or Wake On LAN Ever wish you could turn your computer on or off remotely or on a schedule or other triggers? Imagine how much time and energy you could save! Time to get familiar with Wake On LAN! Read More .

What devices do you accidentally wake up your computer with? Let us know if you disabled any devices using this method!

Image Credit: kurhan via Shutterstock

Explore more about: Troubleshooting, Windows Tricks.

Whatsapp Pinterest

Enjoyed this article? Stay informed by joining our newsletter!

Enter your Email

Leave a Reply

Your email address will not be published. Required fields are marked *