Top Nav

Fixing Windows 7: Prevent Windows Waking from Sleep

If you’re trying to save a few bucks on power, setting your computer go to sleep after some time of inactivity in power settings is a good solution. However, devices that are connected can cause the computer to wake up. For instance, a slight movement of the keyboard or mouse can wake it up.

It’s also quite annoying when you put your computer to sleep before bed, and when you wake up, it turns out the system was running all night. Here’s how to fix the problem of your computer waking up.

Disable Mouse or Keyboard from Waking Windows

It’s easy to prevent mouse movement to not wake up you computer in either Windows 7 or 8.1. From the desktop open Control Panel and click on Mouse.


Or in Windows 7 click the Start button and type: mouse and hit Enter.


In the windows that comes up, select the Hardware tab and click Properties.


Next click the Change Settings button under the General tab.

Change Settings

In the next screen under the Power Management tab, uncheck Allow this Device to Wake the Computer and click OK.

mouse power Options

The process is the same for the Keyboard as well. Select Keyboard from Control Panel and follow the same path to Power Management and uncheck Allow this Device to Wake the Computer and click OK.

Keybaord Properties

Other Devices and Network Activity that Wake Windows from Sleep

While it’s usually the mouse or keyboard that wakes up your computer, other hardware can cause your computer from waking as well. To find out what is waking it up, you can use a couple of handy commands.

powercfg –lastwake


If that doesn’t work, here’s a more powerful command you can use. This will list every hardware device that has permission to wake your computer.

powercfg –devicequery wake_armed


It’s also worth noting that network activity can wake you computer up too. To stop it, read our article on how to prevent network activity from Waking Windows.


More Reading:

, ,

3 Responses to Fixing Windows 7: Prevent Windows Waking from Sleep

  1. Steve Krause February 25, 2014 at 1:18 pm #

    Been doing this a long time and never knew about that Mouse setting… Shame on me!

    Done and done!

  2. gloria February 27, 2014 at 1:18 pm #

    In the summer months on my all-in-one, the tiny bugs wake it and open many many programs

  3. Carl August 5, 2014 at 11:22 am #

    Being a PC novice, I have a question. If I disallow the Mouse and Keyboard to wake up the PC, how do I wake up the PC?

Leave a Reply


Free Learning


Don't miss a single tip, how to or tech news update. Subscribe to my free newsletter and receive updates, right to your inbox.

You have Successfully Subscribed!