How To Tell What Caused A Sleeping Machine to wake?

Here is a problem that keeps happening to me. I put my machine in sleep mode before I stepped away from my desk and when I came back I saw my supposed in sleeping mode machine wide awake without any clue why.

This has bothered me for some time what actually caused this to happen. If you are same like me having the same problem and wondering why, here is a quick way to tell.

Simply run the following command from a Dos Prompt window:

powercfg -lastwake

This will show the reason as to why a sleeping machine exited sleep state.

If the reason happens to be your mouse that wakes your machine up, here is how to stop it.

Related posts:

  1. How To Wake Up A Sleeping Windows 7 Computer To Run A Microsoft Security Essentials Scheduled Scan
  2. How to Stop Mouse Wake Up Your Computer
  3. How To Tell If My Computer is Capable of Using "Wake the computer to run this task" for A Scheduled Task?
  4. Fix Startup Issues on Windows 7 PC Caused After Installing KB 2823324
  5. How To Fix Windows 7 Waking Up After Putting Into Sleep

Continue the discussion at