![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
Task Scheduler - Wake Up Computer How to Have a Task Wake up the Computer to Run in Vista Task Scheduler Published by Brink 07-09-2008 | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
| | |||||||||||||||||||||||||||||||||||||||||
| | |
| Newbie | Re: Task Scheduler - Wake Up Computer That part is fine. My question is: How do you keep the computer awake? The default seems to be around 1 minute. That is the scheduler starts the task and then goes back to sleep. If the task takes longer than 1 minute (e. g. defragment or disk backup) the computer goes back to sleep before the task can complete. I have not been able to find a way to delay a fixed amount of time for sleep - or more preferable - wait for the task to complete. I think the scheduler is missing an option here. |
My System Specs![]() |
| | |
| Administrator | Re: Task Scheduler - Wake Up Computer Hello Bruce, and welcome to Vista Forums. You could use this tutorial to set how long the computer will wait to go back to sleep after a unattended wakeup. Set it for how long you believe it will take your task to complete. Sleep Return Timeout for Unattended Wake Up Hope this helps, Shawn |
My System Specs![]() |
| | |
| Newbie | Re: Task Scheduler - Wake Up Computer Thanks Shawn: I looked for an hour thru the registry for these values. Who would think they would title them as 'index's! (I kept looking for 'delay', 'timeout' and such values). I did find another posting (after looking for a week!) that there is a power plan setting that 'fixes' this problem. It is for setting the multi-media to 'do not allow the computer to sleep' while sharing media. Again - what a title. It seems to have noting to do with the scheduler - but in fact does keep the computer awake while doing a disk backup. Thanks! |
My System Specs![]() |
| | |
| Administrator | Re: Task Scheduler - Wake Up Computer Your welcome Bruce. LOL, they are strange titles that do not relate to their function. Thank you for sharing the other results that you found to. Is it the Allow the computer to enter Away Mode or Prevent idling to sleep setting for the multi-media that you used? Thank you, Shawn |
My System Specs![]() |
| | |
| Newbie | Re: Task Scheduler - Wake Up Computer Prevent idling to sleep. Of course my computer will not now go to sleep if I walk away from it. (Haven't tried forcing sleep yet - just found this a half day ago) There has to be a better overall way (like having the scheduler 'fixed'.) |
My System Specs![]() |
| | |
| Administrator | Re: Task Scheduler - Wake Up Computer It should go to sleep if you manually do it with that setting. I agree, there should be a easier to use option in Task Scheduler for this. For now the only workarounds I know of is your method, or adjusting the unattended wakeup time to allow time for the task. |
My System Specs![]() |
| | |
| Newbie | Re: Task Scheduler - Wake Up Computer Another voice on the subject. I wrote a comment on a Microsoft documentation site about this problem. The reply is below: --------------------- Thanks for the background information. You might also want to try setting the priority of the task. I don't think this can be done through the Task Scheduler UI, but if you modify the xml for the task (probably the easiest option), or if you create it programmatically, then you can set the priority (http://msdn.microsoft.com/en-us/library/aa381855(VS.85).aspx). I haven't tried this myself, but by setting the priority to something like 4 (an interactive task), then my hope would be that the running task process would keep the computer from sleeping. If you want to modify the task XML to set the priority, first export the task to an xml file, and then in the XML under the <Settings> element, you can specify a <Priority> element with a value. Let me know if you need any help with changing the priority and I can help provide an example. Chris ---------------------------------------- This, of course, does not SOLVE the overall problem - just (possibly) another way. |
My System Specs![]() |
![]() |
| Tutorial Tools | |
| |
Similar Threads | ||||
| Tutorial | Category | |||
| Task Scheduler Question-Wake Up Computer | Vista General | |||
| Task scheduler doesn't wake computer | Vista file management | |||
| Schedule a task with Vista task Scheduler wakes up computer and mo | Vista General | |||
| Defragment as task, wake computer from sleep. | Vista performance & maintenance | |||
| Task Scheduler on remote computer | Vista performance & maintenance | |||