How to figure out what woke the PC up?

Status
Not open for further replies.

Syzygys

As a mother, I am telling you
Valued Senior Member
Desktop with XP keeps awakening from Hibernation. How can I see which program did the awakening?

P.S.: Only nice people need to respond.
 
Click the start button and type "cmd" in the search bar. (edit: oops for XP click "run") Then type "powercfg -lastwake". It will tell you what device last woke up your machine.

I had a problem with my machine randomly waking up, and turned out to be short in my keyboard.
 
Last edited:
Click the start button and type "cmd" in the search bar. (edit: oops for XP click "run") Then type "powercfg -lastwake". It will tell you what device last woke up your machine.

I had a problem with my machine randomly waking up, and turned out to be short in my keyboard.

You really are MacGyver!
 
Thanks for the advice!

I actually used another trick, and so far it has been working. I went into Device Manager and for the Network card in Properties I unclicked the "Let the device wake up the PC from Sleep mode", and voila!, it hasn't awakened since.

But thanks again, I will use your trick if it happens again...

Interesting but since it is XP, after googling the problem, most solutions were 5+ years old, and I haven't found anything what MacGyver suggested.
 
Last edited:
Sleep and hibernation are two different things.

Why are you using hibernation, out of curiosity.

That said, sleep tends to break easily on some OS'. Seems to coincide with updates.
 
Glad you figured it out. When mine was doing that, it drove me nuts...sometimes waking me up at night.
 
Why are you using hibernation, out of curiosity.

That said, sleep tends to break easily on some OS'. Seems to coincide with updates.

Because as you said:

Sleep and hibernation are two different things. And sleep tends to break easily. :)
 
Glad you figured it out. When mine was doing that, it drove me nuts...sometimes waking me up at night.

Well. that is the only reason I am bothered, plus curious too.

It looks I declared victory too soon. It awakened again, so I did what you said. The black square with the result only flashes for a quarter second, so I can't read what program it is showing as the culprit...

I am trying to take a quick snapshot with PrintScreen, but it is too fast... :)
 
Ok...so you pressed "run"...then typed "cmd" to open a ms dos console..then typed "powercfg -lastwake"?
 
Interesting, this website contains both my and Macgyver's trick, with one more additional trick:

http://www.cravingtech.com/fix-windows-vista7-sleep-mode-from-waking-up-by-itself.html

To get the most detailed info (and probably easiest) on the device that wakes your Windows up during the sleep, type:
powercfg –devicequery wake_armed

I got as a result HID compliant mouse

So does that mean the mouse moves during the night and that wakes the PC up?
 
Ok...so you pressed "run"...then typed "cmd" to open a ms dos console..then typed "powercfg -lastwake"?

Actually I typed powercfg into the Run command space. So that was my fault. Now it works if I type it into the MS DOS prompt...

Also my DOS command prompt shows :

Documents and Settings\Administrator:
instead of
User\Syzygys:

Shouldn't mine show User too?
 
Interesting, this website contains both my and Macgyver's trick, with one more additional trick:

http://www.cravingtech.com/fix-windows-vista7-sleep-mode-from-waking-up-by-itself.html

To get the most detailed info (and probably easiest) on the device that wakes your Windows up during the sleep, type:
powercfg –devicequery wake_armed

I got as a result HID compliant mouse

So does that mean the mouse moves during the night and that wakes the PC up?

Could be the mouse has some sort of short or something..like my keyboard...or you have elephants running through the house. Do you have an extra mouse you can test with?
 
Actually I typed powercfg into the Run command space. So that was my fault. Now it works if I type it into the MS DOS prompt...

Also my DOS command prompt shows :

Documents and Settings\Administrator:
instead of
User\Syzygys:

Shouldn't mine show User too?

I'm not sure.
 
well, I have 2 tests:

1. Unhooking the mouse.
2. Using a different mouse.

The powercfd also showed HID keyboard, so that can be too, but right now I will stick to the mouse test.
Since several times I was up when the PC awakened, I didn't notice any "house movemement" or somebody charging around.
 
Last night I unhooked both the mouse and the keyboard, and sure enough the PC slept like a baby. :)

Edit: Although I am not sure it is the mouse, because when I hooked it up and moved it, the PC was still soundly sleeping. At the power management I also unlcicked the "Allow to bring the PC out of Sleep mode"
 
Last edited:
Ok...so you pressed "run"...then typed "cmd" to open a ms dos console..then typed "powercfg -lastwake"?

Do you have any advice for Windows 7? I've checked all my hardware settings and only my keyboard is set to wake the PC. But every morning at precisly 03:00 am my PC wakes up.
 
Do you have any scheduled processes at that time? What does the powercfg command say it was?
 
Do you have any scheduled processes at that time? What does the powercfg command say it was?

Wake Source Count - 1
Wake Source [0]
Type: Device
Instance Path: USB\ROOT_HUB20\4&1f7533b&0
Friendly Name:
Description: USB Root Hub
Manufacturer: (Standard USB Host Controller)

I went through everything in the device manager, but that didn't help. In the schedular the only thing set to run at 03:00 am is something called the consolidater. I disabled it, so we will see if that does the trick. thanks
 
I wasn't sure what that was:

This scheduled task also runs the Wsqmcons.exe program daily if the user consented to participate in the Windows Customer Experience Improvement Program. This program collects and sends usage data to Microsoft. The Wsqmcons.exe program is located in the System32 folder.

If the user has consented to participate in the Windows Customer Experience Improvement Program, this job collects and sends usage data to Microsoft.
 
Status
Not open for further replies.
Back
Top