Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


BDFL - Memuneh
61167 posts

Uber Geek
+1 received by user: 11943

Administrator
Trusted
Geekzone
Lifetime subscriber

Topic # 90276 18-Sep-2011 18:13
Send private message

How do we go about finding what's bringing a machine back from hibernation without apparent reason?

In both my Windows Home Server and a Windows 7 boxes I have disabled the network adapter's option to allow it to wakeup the PC, but in both cases I can put the machine to sleep and it will come back alive at some random point - sometimes minutes, sometimes a couple of hours.

How do we go about finding out what's causing this? 

 




Create new topic


BDFL - Memuneh
61167 posts

Uber Geek
+1 received by user: 11943

Administrator
Trusted
Geekzone
Lifetime subscriber

  Reply # 522715 18-Sep-2011 18:19
Send private message

I see:

powercfg -lastwake
powercfg -devicequery wake_armed

These work in Windows 7 but not Windows Home Server (2003) though...




4012 posts

Uber Geek
+1 received by user: 523

Trusted

  Reply # 522736 18-Sep-2011 19:52
Send private message

Ohh, hoping you get an answer to this, got a laptop that does it. I'm wondering if it's the WHS2011 connector waking it up.




Previously known as psycik

NextPVR: 
Gigabyte AMD A8 Brix --> Samsung LA46A650D via HDMI, NextPVR,
OpenHAB: ODroid C2 eMMC DriveOpenHAB with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave and Bluetooth LE Sensors
Media:Chromecast v2, ATV4, Roku3, HDHomeRun Dual
Windows 2012 
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex




BDFL - Memuneh
61167 posts

Uber Geek
+1 received by user: 11943

Administrator
Trusted
Geekzone
Lifetime subscriber

Will not stab you
230 posts

Master Geek
+1 received by user: 17

Subscriber

  Reply # 522747 18-Sep-2011 20:43
Send private message

From experience, the mouse can cause this,

Especially optical mice, they detect a motion where there was none, and the OS takes it as mouse movement, which causes a wakeup.




Recursion: See recursion.
--
“It is important not to let the perfect become the enemy of the good, even when you can agree on what perfect is. Doubly so when you can't. As unpleasant as it is to be trapped by past mistakes, you can't make any progress by being afraid of your own shadow during design.”

     --Greg Hudson, Subversion developer



BDFL - Memuneh
61167 posts

Uber Geek
+1 received by user: 11943

Administrator
Trusted
Geekzone
Lifetime subscriber

  Reply # 522758 18-Sep-2011 21:13
Send private message

In the case of my Windows Home Server there's no monitor, no mouse, no keyboard. Only network and three attached external USB HDD. I guess it will be harder to track on this box seeing there's no powercfg -lastwake option on Server 2003.

In the case of the Media Center there's no mouse - although there's an IR receiver for remote control, which could possibly detect some lights as IR and turn the device on. Let's see which device it reports if it happens again.




4012 posts

Uber Geek
+1 received by user: 523

Trusted

  Reply # 522759 18-Sep-2011 21:13
Send private message

Does this include a trackpad on a laptop with a closed lid?




Previously known as psycik

NextPVR: 
Gigabyte AMD A8 Brix --> Samsung LA46A650D via HDMI, NextPVR,
OpenHAB: ODroid C2 eMMC DriveOpenHAB with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave and Bluetooth LE Sensors
Media:Chromecast v2, ATV4, Roku3, HDHomeRun Dual
Windows 2012 
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


8027 posts

Uber Geek
+1 received by user: 387

Trusted
Subscriber

  Reply # 522808 19-Sep-2011 00:09
Send private message

Are they waking up for a scheduled: windows update, microsoft security essentials update, defrag or windows search index?

854 posts

Ultimate Geek
+1 received by user: 125


  Reply # 522819 19-Sep-2011 02:57
Send private message

freitasm: (snip) I have disabled the network adapter's option to allow it to wakeup the PC, but in both cases I can put the machine to sleep and it will come back alive at some random point - sometimes minutes, sometimes a couple of hours.

How do we go about finding out what's causing this? 

 


Not that I don't trust that you've done it, but please double/triple check that you disabled all the Wake on LAN/Magic packet settings. I was asked the exact same question by my mother who insisted that her PC was waking from Hibernation sometime between when she put it in at night, and midday before she wanted to use it.

I had disabled all the obvious WoL options (BIOS & Windows) I could see, and yet a WoL packet still woke it up until I got a couple of hidden Intel options.

Off the top of my head, the locations/settings are:

  • Obvious settings under "Power Management" (Network card Properties in Device Manager)
  • (for some cards) Options under the "Advanced" tab (Network card Properties in Dev Man)
  • (For iirc Intel cards) there is another Intel tab in the same location
I also think there may have been an option somewhere else, but I can double check tomorrow.

But get a WoL packet sender (most Linux distros should ship w/ ether-wake either by default or as a quick package install, and there seem to be quite a few Google listings for Windows), and send a couple of packets targetted to your machine's MAC.

(To this day, I am absolutely certain there were no WoL packets going through the network, but something was triggering the "Magic packet" catch-all and waking it up, after disabling _ALL_ the WoL/Magic packet settings it stopped happening.)

270 posts

Ultimate Geek
+1 received by user: 13


  Reply # 522824 19-Sep-2011 06:11
Send private message

Seen this happen with windows updates on a friends laptop.

1508 posts

Uber Geek
+1 received by user: 213


  Reply # 522851 19-Sep-2011 08:22
Send private message

Might be harder to do with no keyboard, but have you checked the wake settings in the bios? Maybe windows overrides these, I don't know, but they may be waking the system or need to be set differently to stop the system being woken.




Try Vultr using this link and get us both some credit:

 

http://www.vultr.com/?ref=7033587-3B




BDFL - Memuneh
61167 posts

Uber Geek
+1 received by user: 11943

Administrator
Trusted
Geekzone
Lifetime subscriber

  Reply # 522876 19-Sep-2011 09:20
Send private message

Just in case you folks may be right, I've checked the NIC properties and in addition to the Windows option to no use WoL I've also disabled in the NIC properties. Note that the Intel adapter has an option in addition to WoL settings basically deferring control to the OS, while Yukon adapters don't have it.

So it's all off now and will test again during the day today.





Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.