Hey everyone. I am experimenting with setting up my older (circa 2005) HTPC/DVR, which utilizes CW_EPG, to automatically go into hibernation mode when there is no activity. Up to this point, my efforts have not been successful. Here's what I have tried up to this point.
First, I set up CW_EPG to automatically download EPG data and to schedule the recordings on the Match list. Of course, it can wake up the PC from hibernate/standby in order to do so.
Then I configured the OS (WinXP Pro 32-bit SP3) to automatically go into hibernation after 15 minutes of inactivity. This was set up via:
Control Panel -> Power Options
This setup was not entirely successful. Sometimes the PC does not go into hibernation after 15 minutes. When hibernation occurs, though, CW_EPG will corrrectly wake up the PC from hibernation to do the daily automated Download EPG/Schedule Matches, or to perform a scheduled recording.
Whenever I notice that the HTPC is not hibernating when it should be, I have been putting it in hibernation mode manually (via the Windows START button on the taskbar). Again, CW_EPG never fails to wake the PC from an instance of hibernation which is manually set.
Next, I decided to try using a .CMD file in conjunction with Scheduled Tasks to see if I could get a scheduled automatic hibernate to work, in the event that the PC fails to hibernate after 15 minutes of inactivity, via the Power Options setting.
So I created a .CMD file in Notepad, which consists of the following line:
Then I created a Scheduled Task item utilizing the .CMD file to automatically put the PC into hibernation. There was a problem however. The XP system could create the Scheduled Task, but because no login password was provided for the creation of the Scheduled Task (since no password was established when the OS was installed), it would not run.
Next, I found a way to get around the Scheduled Task password problem (in WinXP Professional), using the solution given by the following link:http://yabfog.com/blog/2005/10/06/sc...sks_without_a_
From the above source:
"For XP Pro: Go to Start/Administrative Tools/Local Security Policy/Security Settings/Local Policies/Security Options
Accounts: Limit local account use of blank passwords to console logon only. This is enabled by default, disable it."
And while this did make the Scheduled Task item work to hibernate the system at a specified time, in the end it was still a big fail because CW_EPG fails to wake up the system when it is hibernated in this manner.
So... does anyone here know why CW_EPG could wake the system from hibernation instances invoked from
1. Control Panel -> Power Options
2. manually placing the PC in hibernation...
... and yet fail to wake the system from hibernation when invoked via Scheduled Tasks and a .CMD file? Is my .CMD file command line incorrect? (Maybe I'm missing some command switch in the command line?)
And finally, does anyone here know of a proper command line to restart the PC? I would like to write it into a .BAT or .CMD file and see if I can restart the PC using Scheduled Tasks.
If you made it this far, thanks for reading. I look forward to any feedback or suggestions