Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7 - How I automated sleep and wakeup

 
09-03-2010   #1


Win7 64
 
 

How I automated sleep and wakeup

I use MCE and cable TV in the bedroom. I looked at various apps to shut it down and wake it up but nothing really worked so I just use Task Sheduler to put the PC to sleep at 3AM and wake it up at 7AM, every day.

For sleep I used Rundll32.exe,Powrprof.dll,SetSuspendState Sleep

This actually puts it into Hibernate so you have to disable Hibernate. Right click on Command Prompt in Accessories and run as Administrator. Type or paste powercfg -h off and hit Enter.

For wakeup I used c/ “exit”

Set to run with highest privileges and wake up to run task. This wakes up my PC but not my monitor. But I found that hitting the OK button on my remote will wake up the monitor. When MCE comes out of Sleep, it is in the Program Guide so you can't really use it to wake you up so you still need a real alarm clock. Probably a good idea anyway.

This reg hack will keep it from going back to sleep for 2 hrs (default is 2 mins). Not sure if you need it.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0\DefaultPowerSchemeValues\381b4222-f694-41f0-9685-ff5bb260df2e]
"AcSettingIndex"=dword:00001c20

BTW, I have a Hauppauge HVR-1250 and Windows 7 64.


Last edited by raderator; 09-03-2010 at 10:28 PM..
My System SpecsSystem Spec
Reply

 How I automated sleep and wakeup problems?



Thread Tools



Similar Threads for: How I automated sleep and wakeup
Thread Forum
Clicking sound on Sleep Wakeup General Discussion
BSOD upon wakeup from long sleep Crashes and Debugging
BSOD After Sleep Wakeup Crashes and Debugging
Hangs after wakeup from sleep Crashes and Debugging
Win7 wakeup from sleep restarts! Crashes and Debugging


All times are GMT -5. The time now is 04:03 PM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30