Win7 Scheduled Tasks

Page 2 of 2 FirstFirst 12

  1. Posts : 56
    Windows 7 Home Premium 64-bit
       #11

    Still struggling with the Auto Sleep and Auto Wakeup! Have been using WakeOnStandBy ver. 1.7.19 for several months and it works. But... I got cute and looked in the event log and saw that several errors were being posted each day and it looked like the program has some minor problems with W7. So I went to the Task Scheduler Sleep.bat and Wakeup.bat approach. It looked ok - all the event errors disappeared and I thought I was happy. However, for some reason the system goes back to Sleep on its own after about 5 minutes. The Message in the Event Log says "Kernel-Power 42(64) Sleep Reason: System Idle."

    The Sleep.bat file has one entry - "rundll32 powrprof.dll,SetSuspendState" and the WakeUp.bat file also has one one entry - "exit". I selected W7 in the Task Scheduler and I checked the Wake From Sleep for the WakeUp task. If I hit the power button after the unscheduled Sleep the system stays on until the task to put to sleep is run in the evening! I am using an APC XS 1500 UPS am using the default W7 UPS service to handle the UPS. Any clues on what I'm missing?
      My Computer


  2. Posts : 56
    Windows 7 Home Premium 64-bit
       #12

    If anybody cares, I installed the latest version of APC's PowerChute Personal Edition to replace the built-in W7 UPS manager and my problem went away! So much for keeping it simple.
      My Computer


  3. Posts : 56
    Windows 7 Home Premium 64-bit
       #13

    All was working well using the "exit" command in a "Wake.bat" file. However, I put W7 "Server" on a faster machine with a SSD for the boot drive. Now the Wake.bat does not work! Task Scheduler says it ran it ok but the system does not wake up. If I change the Wake.bat to add a second line with "exit" it works?! Any idea on what the heck is going on? I also tried putting a pause before exit and that also worked excepted Task Scheduler said the task was still running - which makes sense. One more question - the monitor stays in "sleep" mode until I hit the keyboard or move the mouse. I don't remember if that was the way it worked originally or is something else going on?
      My Computer


  4. Posts : 56
    Windows 7 Home Premium 64-bit
       #14

    Well, I moved the "Wake.bat" file to the SSD boot drive and it works with just one "exit" command. So...it would appear that the SSD drive wakes up a lot faster than a standard 10,000 rpm Raptor and that is what is/was causing the Wake.bat to not work correctly!?
      My Computer


  5. Posts : 56
    Windows 7 Home Premium 64-bit
       #15

    The story goes on - now that I have the Wake.bat on the SSD Task Scheduler will wake the computer after it has been "Sleeping" for a few minutes. That always seems to work. However, when the system has been sleeping for several hours (10PM - 4AM) the Wakeup Task says it completed ok but the computer never wakes up. Is there some setting in the Power Options that I should be looking at? Help is needed and would be appreciated.
      My Computer


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About Us
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
All times are GMT -5. The time now is 04:54.
Find Us