That's interesting - I had a similar issue but *assumed* that the system
went back to sleep because my task did nothing of its own
I set up a task just to wake the PC so that the PC was awake to respond to
an application with its own scheduler before the PC *should* have gone back
to sleep. It didn't work, but I had other things on my plate so didn't
pursue it at the time other than to ask pretty much the same thing here (no
Beginning to sound like a bug... if you find an answer other than here
please post back!
Some Vista stuff, but mostly just Stuff at http://berossus,blogspot.com
"MikeM" <MikeM@discussions.microsoft.com> wrote in message
> Task Scheduler wakes the machine from sleep to run the scheduled task.
> task starts, but the machine goes back to sleep within a minute leaving
> task partially complete.
> Is there any way to add commands to the task that will disable sleep mode
> while the task is running, then enable it when the task completes. I have
> tried the powercfg command to set the sleep time to 'never' (0) then back
> 60 minutes at the end of the task, but that didn't keep it awake.
> I tried this for Norton as well as for a script that backs up files to my
> server and couldn't get either to run properly.