Finding what is causing PC to resume from Sleep

16 Feb

Some handy little commands:

  • The last device that woke the system: powercfg –lastwake
  • To find out which devices are enabled to wake up the PC, enter this command: powercfg -devicequery wake_armed

Also, the scheduled task to put the computer to sleep: rundll32.exe powrprof.dll,SetSuspendState Sleep