TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Microsoft > Windows Vista All

Notices

Reply
 
LinkBack Thread Tools Display Modes
Old 29-10-2007, 02:28 AM   #1
Oli L
Guest
 
Posts: n/a
After scheduled task wake-up, computer goes back to sleep too soon

Hi all.

I'm having a problem with Scheduled Tasks and the sleep function. I've
created tasks with "Wake the computer to run this task" set, and the computer
does indeed wake up at the specified time to run the task, but it then goes
back to sleep two minutes later, before the task has had time to finish.
When I wake the computer myself later, the task carries on.

I've tried this with a task that runs a windows app, one that runs a command
line app, and one that runs defrag, and it's always the same - it suspends
again after 2 minutes.

Has anyone else had a problem with their computer resuspending / going back
to sleep prematurely? Does anyone have any ideas for how to stop it doing
this?

Thanks.
  Reply With Quote
Old 26-03-2008, 09:46 PM   #2
Alan111S
Guest
 
Posts: n/a
Re: After scheduled task wake-up, computer goes back to sleep too soon


Oli L;495820 Wrote:
> Hi all.
>
> I'm having a problem with Scheduled Tasks and the sleep function. I've
> created tasks with "Wake the computer to run this task" set, and the
> computer
> does indeed wake up at the specified time to run the task, but it then
> goes
> back to sleep two minutes later, before the task has had time to
> finish.
> When I wake the computer myself later, the task carries on.
>
> I've tried this with a task that runs a windows app, one that runs a
> command
> line app, and one that runs defrag, and it's always the same - it
> suspends
> again after 2 minutes.
>
> Has anyone else had a problem with their computer resuspending / going
> back
> to sleep prematurely? Does anyone have any ideas for how to stop it
> doing
> this?
>
> Thanks.

*Solution to Vista Task Scheduler Wake Up then Sleep after 2 minutes*
I joined specifically to share a solution to a tricky Vista problem.
When you wake a Vista PC through Task Scheduler or some other automated
Wake Up program, Vista goes back to sleep after 2 minutes. See these
threads for examples of this issue.

'After scheduled task wake-up, computer goes back to sleep too soon'
(http://tinyurl.com/28ffz5)

'Vista Sleep Mode and Task Scheduler' (http://tinyurl.com/2fhtjd)

The solution/workaround is:-

1) Switch on 'Media Sharing' in Network and Sharing Center
2) In Power Options, Advanced, Multimedia Settings, When Sharing Media,
enable the setting 'Prevent idling to sleep'.
3) The above will fix the sleep after 2 minutes issue. Obviously, you
need to set timeouts for sleep/hibernate as well to ensure your task has
time to complete.

This has worked for me for a couple of months now. I have a PC which I
log into remotely with LogMein, so it needs to be on all the time. I
wake it up and run a backup at 6am. Since this fix it has always been
available for login!

Enjoy

Alan


--
Alan111S
Posted via http://www.vistaheads.com

  Reply With Quote
Old 01-04-2008, 05:45 AM   #3
golightlygl
Guest
 
Posts: n/a
Re: After scheduled task wake-up, computer goes back to sleep too soon


Alan, surely this just prevents the machine going to sleep in the first
place? There are several ways to accomplish this. What we want to do
is to have the machine go to sleep then wake up to perform a task
according to the task scheduler.

If I have misunderstood then please confirm if your machine can go into
full deep sleep, wake up to perform a task and then go back to sleep
again only when that task is completed?


--
golightlygl
Posted via http://www.vistaheads.com

  Reply With Quote
Old 01-04-2008, 01:44 PM   #4
Alan111S
Guest
 
Posts: n/a
Re: After scheduled task wake-up, computer goes back to sleep too soon


golightlygl;762706 Wrote:
> Alan, surely this just prevents the machine going to sleep in the first
> place? There are several ways to accomplish this. What we want to do is
> to have the machine go to sleep then wake up to perform a task according
> to the task scheduler.
>
> If I have misunderstood then please confirm if your machine can go into
> full deep sleep, wake up to perform a task and then go back to sleep
> again only when that task is completed?


Yes I agree. That is how it should work. For me personally, I don't
want my machine to idle to sleep. I didn't mean to mislead anybody.

For that solution, I think Microsoft have to fix the '2 minutes'
problem properly.


--
Alan111S
Posted via http://www.vistaheads.com

  Reply With Quote
Old 01-04-2008, 02:44 PM   #5
golightlygl
Guest
 
Posts: n/a
Re: After scheduled task wake-up, computer goes back to sleep too soon


In that case you could simply remove the Sleep After... settings in the
Sleep section of Advanced Settings of the Power options and don't have
to mss around with Multimedia settings.

But we're going off-topic. Personally, I expected this isue to ahve
been solved in SP1 but no luck. I'm not sure why it hasn't received
more attention as it is such a fundamental flaw in the power savings
aspect of Vista.


--
golightlygl
Posted via http://www.vistaheads.com

  Reply With Quote
Reply
Tags: , , , , , ,


Thread Tools
Display Modes


Google
 


All times are GMT +5.5. The time now is 05:55 AM.


vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2008, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional