Useless "Powercfg -lastwake"

Noo

Senior member
Oct 11, 2013
389
10
81
I'm trying to find out why my pc is waking up randomly from sleep and here's the powercfg -lastwake command response:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\HTPC>powercfg -lastwake
Wake History Count - 1
Wake History [0]
Wake Source Count - 0

C:\Users\HTPC>
Why isn't it telling me anything as to what is waking my computer up?

I have it set on the device manager so that only a magic packet is allowed to wake the computer, wake on pattern match is OFF.
 

imagoon

Diamond Member
Feb 19, 2003
5,199
0
0
Wake Source Count is 0 which means Windows itself didn't get the wake signal via the power management (ACPI) API.

Is the machine waking up out of sleep or is waking from hibernation?
You can also try filtering the system event log by event source "Power-Troubleshooter" and seeing what else appears around that time.

You may see "unknown" in there which means something that isn't registered with ACPI caused the wakeup.

You also might want to put this in "operating systems."

--edit--

Wake on LAN set in the BIOS can cause these issues. Changing the config in device manager doesn't always override a BIOS setting.
 
Last edited:

ch33zw1z

Lifer
Nov 4, 2004
39,045
19,746
146
Check the BIOS for "wake on keyboard" or "wake on usb" or "wake on mouse" settings...

I helped a guy who's pet was climbing onto his desk at night and causing it to wake up.
 

Noo

Senior member
Oct 11, 2013
389
10
81
Wake Source Count is 0 which means Windows itself didn't get the wake signal via the power management (ACPI) API.

Is the machine waking up out of sleep or is waking from hibernation?
You can also try filtering the system event log by event source "Power-Troubleshooter" and seeing what else appears around that time.

You may see "unknown" in there which means something that isn't registered with ACPI caused the wakeup.

You also might want to put this in "operating systems."

--edit--

Wake on LAN set in the BIOS can cause these issues. Changing the config in device manager doesn't always override a BIOS setting.
I use wake on lan, that's why i only turn off wake on pattern match. with wake on pattern match turned off, the machine "supposed" to wake up from sleep (s3) state from ONLY a magic packet. I just don't know what's causing the PC to wake up if I myself didn't send it.
 

imagoon

Diamond Member
Feb 19, 2003
5,199
0
0
I use wake on lan, that's why i only turn off wake on pattern match. with wake on pattern match turned off, the machine "supposed" to wake up from sleep (s3) state from ONLY a magic packet. I just don't know what's causing the PC to wake up if I myself didn't send it.

And the BIOS setting is.....