Background: Before upgrading to a newer mainboard/CPU, Acronis True Image would wake my machine from sleep, run a backup and after about two minutes put the machine back to sleep. I would like to better understand why this is not happening now.
- Start -> Sleep works like normal
Scripted commands like the following work
Add-Type -Assembly System.Windows.Forms [System.Windows.Forms.Application]::SetSuspendState("Suspend", $false, $true)
rundll32 powrprof.dll,SetSuspendState
So I can conclude that sleeping works.
I've reviewed the posts of the following thread: http://social.technet.microsoft.com/Forums/en/w7itprohardware/thread/2a78a1fd-a6ed-463c-83ac-8cbbf0b0709a
I've edited the registry as indicated here: http://www.vistax64.com/tutorials/171042-sleep-return-timeout-unattended-wake-up.html
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0\DefaultPowerSchemeValues
I've also run powercfg -requests to determine if any tasks were requesting the attention of the machine (none are), the best I can determine is the call to put the computer back to sleep is never again called. In the past, I'd see that a application (like notepad++) might have a msg Window up, and that would cause the computer not to go back to sleep, so I've tried a number of things
- Disabled all startup items
- Closed all running programs
- Run test cases where a script is called using a scheduled task, while the computer was asleep and displays some debugging information (powercfg -requests)
If there is any more debugging information that is requested of me, I'd be glad to include it, I'm really hoping somebody who is intimate with windows power management to conclude that either this isn't supported (even though it worked for me a few weeks ago), or what I'm not looking at.