Hibernate or standby wakes up computer in seconds
I have this problem that when I wanted to enable one of the power-saving modes (hibernate or standby) that my computer wakes up in seconds. Sometimes almost immediately and sometimes after 10 seconds.
My first thought was that it had to do with my mouse but after disconnecting it I still had the problem. My second guess was the network adapter but I wanted to use the WOL feature to remotely wake up my computer.
Wake On Lan
Today I found out that "the default" option for my network adapter is to wake-up on any network activity instead of only WOL packets. To only wake-up when a WOL packet is send you have to make sure that the third checkbox is set. This is the same in XP and Vista.
Advanced power saving configuration
I still had problems with my computer waking up at weird times and my mouse was causing this. There is a nice command-line tool to list the items that can wake up the computer and where you can disable the device its wake-up ability.
List the items that can wakeup the computer:
powercfg -DEVICEQUERY wake_armed
Disable a device:
powercfg -DEVICEDISABLEWAKE "Logitech HID-compliant MX320 Laser Mouse"
A commandline example: