How to Find Out What Woke Up Your Computer

If your computer's waking up from sleep without any intervention from you, it's likely another program or device is waking it up. Here's how to find out what woke it up last.


If your computer is waking up regularly, finding the culprit can be tough—but finding the most recent wake cause is a good place to start. To do that, go to Start Menu --> All Programs --> Accessories, right-click on Command Prompt, and open it as an administrator. In Windows 8, 8.1 and Windows 10 simply hold down the Windows-key + X and select the option “Command Prompt (Admin)” from the menu. In the following prompt, enter the line.

Code:

Powercfg   -lastwake



How to Find Out What Woke Up Your Computer YUlFEqi

The output will tell you what woke up your computer last, which—if you didn't initiate it yourself—is probably your culprit. . Once the results are shown, check the “Instance Path:” to see where it originated from (the USB or PCI port for instance) and look under “Type:” for the nature of the cause, typically a device or a wake timer.

Disabling the wake-up function of one device is usually enough to prevent accidental boot-ups in the future. If you'd like to make absolutely sure that your PC stays put however, you might also want to have a look at all other devices that can potentially wake him up. To get an overview, enter:

Code:

Powercfg   /devicequery  wake_armed


How to Find Out What Woke Up Your Computer R6ezsKz


Conversely, you can also get a complete list of all devices that can be programmed with a wake-up function by entering:

Code:

Powercfg   /devicequery   wake_programmable


How to Find Out What Woke Up Your Computer QnYqnXp



Via the Windows Event Viewer
View Event ID 1 and 42 for Wake and Sleep "they are Event 1 and Event 42 (wake and sleep, respectively).





  1. Open the Event Viewer by pressing How to Find Out What Woke Up Your Computer 7W6b39o keys, type eventvwr.msc into opened Run dialog box, click OK button.




  2. Form Event Viewer expand "Windows Logs" then click on the 'System' event log.
    Right-click, and then choose "Filter Current Log".




  3. Input the event id 1 and 42 number into input box above the "Task category" input box.




  4. In the "Event sources" window, click the drop-down and put a check-mark beside "Power-Troubleshooter" and "Kernel-Power" and then click OK button.



You will see listing of wake & sleep events and look at the the "General" tab at the very bottom for each Event ID 1 for  wake events the wake source will be shown it will be display at the "Wake Source: " entry.