Q. My machine was in sleep mode and I stepped away. When I came back to it, the machine was awake. How can I tell what caused the machine to wake?

A. I had a similar problem, where I put my machine in sleep mode and came back to see it wide awake, and I had no clue why.

The easiest way to check why a machine woke from sleep is to run the command

powercfg -lastwake

This will show the reason why the machine exited sleep state.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.