Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Win7 Scheduled Tasks

06 Jun 2011   #11
Ken429

Windows 7 Home Premium 64-bit
 
 

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 System SpecsSystem Spec
.
07 Jun 2011   #12
Ken429

Windows 7 Home Premium 64-bit
 
 

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 System SpecsSystem Spec
28 Sep 2012   #13
Ken429

Windows 7 Home Premium 64-bit
 
 

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 System SpecsSystem Spec
.

28 Sep 2012   #14
Ken429

Windows 7 Home Premium 64-bit
 
 

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 System SpecsSystem Spec
30 Sep 2012   #15
Ken429

Windows 7 Home Premium 64-bit
 
 

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 System SpecsSystem Spec
Reply

 Win7 Scheduled Tasks




Thread Tools




Similar help and support threads
Thread Forum
Services vs Scheduled Tasks
Hello, First of all i want to say hello to everyone as this is my first post here! Good to meet everyone. Secondly I was wondering about the differences between Services and Tasks. From what I have heard, read about services in windows 7 it seems that they run in an isolates session (I think...
General Discussion
Report of scheduled tasks?
Does anyone know of a way to get a human-readable report or tablular printout of all scheduled tasks with triggers/actions/conditions/settings? It would help me to understand better what's going on and to optimize things. TIA
General Discussion
Scheduled Tasks
Good Morning everyone. I hope everyone's Thanksgiving was pleasant and safe. I am trying to create a task to run Wtvwatcher at a specific time. Unfortunately it is not working. I have searched several forums and blogs and I still cannot do it correctly. When the scheduler asks for a program I...
General Discussion
Scheduled Tasks in Win7
Hi, how can I access and disable scheduled tasks in Windows 7 Ultimate? Thanks.
Performance & Maintenance
View Scheduled Tasks via VNC
I am running windows 7 RC in our corporate environment. We hope to start deploying in october. One issue I have is the ability to view the Scheduled Tasks for an XP machine via UNC path seems to be gone, I can't find any information about re-enabling this. Anyone have any insight?
General Discussion
Changing scheduled tasks
I am attempting to adjust settings in the Task Scheduler to have a Restore Point created daily. I am using the approach as defined here. However, I have no "New", "Edit", or "Delete" tabs at the bottom of the Triggers page. I have full admin rights on my account (I think) Thanks in...
Performance & Maintenance


Our Sites

Site Links

About Us

Find 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 16:31.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App