How to figure out what woke the PC up?

Discussion in 'Computer Science & Culture' started by Syzygys, Sep 18, 2011.

Thread Status:
Not open for further replies.
  1. Syzygys As a mother, I am telling you Valued Senior Member

    Messages:
    12,671
    Desktop with XP keeps awakening from Hibernation. How can I see which program did the awakening?

    P.S.: Only nice people need to respond.
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. MacGyver1968 Fixin' Shit that Ain't Broke Valued Senior Member

    Messages:
    7,028
    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: Sep 18, 2011
  4. Google AdSense Guest Advertisement



    to hide all adverts.
  5. Believe Happy medium Valued Senior Member

    Messages:
    1,194
    You really are MacGyver!
     
  6. Google AdSense Guest Advertisement



    to hide all adverts.
  7. MacGyver1968 Fixin' Shit that Ain't Broke Valued Senior Member

    Messages:
    7,028
    Any luck Syz?
     
  8. Syzygys As a mother, I am telling you Valued Senior Member

    Messages:
    12,671
    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: Sep 19, 2011
  9. John99 Banned Banned

    Messages:
    22,046
    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.
     
  10. MacGyver1968 Fixin' Shit that Ain't Broke Valued Senior Member

    Messages:
    7,028
    Glad you figured it out. When mine was doing that, it drove me nuts...sometimes waking me up at night.
     
  11. Syzygys As a mother, I am telling you Valued Senior Member

    Messages:
    12,671
    Because as you said:

    Sleep and hibernation are two different things. And sleep tends to break easily.

    Please Register or Log in to view the hidden image!

     
  12. Syzygys As a mother, I am telling you Valued Senior Member

    Messages:
    12,671
    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...

    Please Register or Log in to view the hidden image!

     
  13. MacGyver1968 Fixin' Shit that Ain't Broke Valued Senior Member

    Messages:
    7,028
    Ok...so you pressed "run"...then typed "cmd" to open a ms dos console..then typed "powercfg -lastwake"?
     
  14. Syzygys As a mother, I am telling you Valued Senior Member

    Messages:
    12,671
    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?
     
  15. Syzygys As a mother, I am telling you Valued Senior Member

    Messages:
    12,671
    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?
     
  16. MacGyver1968 Fixin' Shit that Ain't Broke Valued Senior Member

    Messages:
    7,028
    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?
     
  17. MacGyver1968 Fixin' Shit that Ain't Broke Valued Senior Member

    Messages:
    7,028
    I'm not sure.
     
  18. Syzygys As a mother, I am telling you Valued Senior Member

    Messages:
    12,671
    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.
     
  19. Syzygys As a mother, I am telling you Valued Senior Member

    Messages:
    12,671
    Last night I unhooked both the mouse and the keyboard, and sure enough the PC slept like a baby.

    Please Register or Log in to view the hidden image!



    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: Sep 20, 2011
  20. KilljoyKlown Whatever Valued Senior Member

    Messages:
    6,493
    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.
     
  21. MacGyver1968 Fixin' Shit that Ain't Broke Valued Senior Member

    Messages:
    7,028
    Do you have any scheduled processes at that time? What does the powercfg command say it was?
     
  22. KilljoyKlown Whatever Valued Senior Member

    Messages:
    6,493
    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
     
  23. MacGyver1968 Fixin' Shit that Ain't Broke Valued Senior Member

    Messages:
    7,028
    I wasn't sure what that was:

     
Thread Status:
Not open for further replies.

Share This Page