How-To Geek

How To Prevent Your Computer From Waking Up Accidentally


If you find your Windows computer waking from sleep for no apparent reason, your computer is either being woken up by a hardware device – such as your mouse — or scheduled task set to wake your computer.

In some cases, the cause may not be obvious. For example, if your laptop occasionally wakes up for no apparent reason, it’s possible that the floor is shaking a bit, causing the mouse to vibrate slightly and wake the computer.

Note: These techniques should work on Windows 7, Windows 8, and Windows 10 roughly the same. The settings might look a little different depending on which operating system you’re using. If you’re using Windows 10 we do have one specific note below on how to fix the problem.

Determining Why Your Computer Last Woke Up

If you’re not sure why your computer just woke up, you can run a command which will tell you. To run this command, you’ll need to use the Command Prompt application, which you can find in your Start menu – press the Windows key, type Command, and press Enter to launch it.

Type the following command into the Command Prompt window and press Enter:

powercfg -lastwake

The output below tells us that a USB device woke the computer. I know my mouse is plugged into a USB port, so it’s clear that my mouse recently woke the computer. To prevent your mouse from waking the computer, consult this article or see below.


Controlling Hardware Devices That Can Wake Your Computer

To view a list of the hardware devices that can wake your computer, run the following command:

powercfg -devicequery wake_armed


You can stop these devices from waking your computer in the Device Manager. Open it by pressing the Windows key, typing Device Manager, and pressing Enter.

In the Device Manager, locate the device you want to prevent from waking your computer (it will have the same name as it does in the output of the command above). Right-click the device and select Properties.


On the Power Management tab, uncheck the Allow this device to wake the computer check box and click OK.


Wake Timers & Scheduled Tasks

Programs – scheduled tasks, for example – can ask Windows to automatically wake the computer at a specific time. If a scheduled task sets a “wake timer” for a specific time, your computer will automatically wake up at that time to run the task. This can be useful – for example, you could have your computer automatically wake up in the middle of the night to perform system maintenance tasks.

To see a list of wake timers set on your computer, you can run the following command. Note that this command must be run as Administrator. You’ll have to right-click the Command Prompt shortcut in your Start menu and select Run as Administrator before running this command.

powercfg -waketimers


If a specific program is causing your computer to wake, you can uninstall it or adjust the scheduled task’s settings in the Windows task scheduler.

However, if you don’t want any programs waking your computer up automatically, you can disable wake timers entirely. To do so, use the Power Options control panel – open it by pressing the Windows key, typing Power Options, and pressing Enter.

Click the Change plan settings link in the Power Options window.


In the next window, click Change advanced power settings.


Expand the Sleep section, expand the Allow wake timers section, and ensure that wake timers are set to Disabled.


If You’re Using Windows 10

Windows 10 has a new “feature” that wakes the computer up for what they call “important wake timers”, and you will want to disable that if your computer is waking up all the time. Head into Power Options just like we show above, and then find Sleep -> Allow wake timers -> Plugged in and change the setting from Important Wake Timers Only to Disable.


Of course, this isn’t the only thing that could wake up your computer, so make sure that you follow all the other steps above as well.

These are the two ways your computer can automatically wake from sleep – after adjusting these settings, your computer should stay asleep when it’s told to do so.

Chris Hoffman is a technology writer and all-around computer geek. He's as at home using the Linux terminal as he is digging into the Windows registry. Connect with him on Google+.

  • Published 08/29/14

Comments (6)

  1. gifi4

    I remember having several problems with my pc even going to sleep when I had built it… My graphics card (GTX GeForce 580) was actually faultly, this caused games to crash and even the GPU stress testing program “3D Mark 11” was crashing, got it replaced and then hooked it up and boom! No crashes and I was able to get the computer to sleep, I don’t get how it was preventing the PC from sleeping but it’s all good now!

  2. r

    there is always a reason, nothing is by accident.

  3. Brian

    I have no issues with sleep, but I can’t get my monitor to turn off. If I turn it off manually with a monoff program, it immediately pops back up. If the delay is 2 minutes, it works but nothing larger. It’s a new problem so something caused it but I am stumped.

  4. r

    check your “power settings” in Windows –sounds like something is conflicting with Monoff. Try any other “power scheme” (except for “Always On”). Make sure you have the latest graphic drivers & Monoff versions.
    If nothing then try a monitor reset –unplug monitor & hold down the power button for about 30secnds. Plug it back in & power it up. Or, go into the monitor’s menu & do a factory reset.

    also, you can check this out:

  5. HARRY



  6. o

    mcupate_scheduled still runs at 1:30am every day. i’ve disabled them, deleted them, renamed them, everything i could think of. but despite not having any wake timers, the only thing that made it stop was disabling wake timers in power options. both event viewer and -lastwake showed no source of what woke the computer up.

More Articles You Might Like

Enter Your Email Here to Get Access for Free:

Go check your email!