|
Re: Defragment as task, wake computer from sleep.
On Mar 8, 3:49 pm, Timdog <Tim...@discussions.microsoft.com> wrote:
> In a strange way I'm glad to see I'm not the only one having this problem.
> Does anyone know if the login screen for vista has it's own power profile?
> This might explain it because if I resume from sleep, but don't login, my
> computer will power down after a couple minutes. If there is, how do we
> change its settings?
>
> I hope someone will figure this out. This is currently the only task I run
> waking the computer from sleep. But I do have more I would like to start
> running.
>
> Thanks in advance,
>
> Timdog
>
> "bob.cro...@gmail.com" wrote:
> > On Mar 7, 6:10 pm, "Victoria House [MSFT]"
> > <vho...@online.microsoft.com> wrote:
> > > Sounds like a question for theTask Schedulerteam - have you had this issue
> > > with any other tasks? Is defrag the only one you're trying to run fromsleep?
>
> > > "Timdog" <tred...@sympatico.ca> wrote in message
>
> > >news:21AA04FD-98D0-4A76-A2AF-060FF360561D@microsoft.com...
>
> > > > Having some trouble with my defragment task. I set up a scheduled task to
> > > >wakethe computer and run defragment. The computer at the appropriate
> > > > time starts, but shuts off approximately 2 minutes later for a minute,
> > > > then starts up again only to keep repeating this until I actually logon.
> > > > I have the timer for the power profile under the main user tosleepafter
> > > > 2 hours, but this keeps happening. Sleepotherwise works properly.
> > > > Does anyone know how to get this to run without this shutdown/startup
> > > > happening?
>
> > I have this same issue. Any task I schedule with the "wake up the
> > computer" option set (as well as "run whether user is logged on or
> > not" and "run with highest privileges") will wake the PC and the task
> > will start, but the system falls back to sleep again 60 seconds later,
> > even as the task is still running (ignoring my preferences in this
> > regard in my power profile, to not go back to sleep for an hour). I
> > have had it fall asleep in the middle of a virus scan, imaging my C
> > drive, defragging my C drive, etc. No matter what the task, it wakes
> > up, starts running but falls asleep again in 60 seconds, I am involved
> > in a running conversation with MS support on this (Case:
> > SRX1030236402). I've made it past level 1, but still no progress.
> > --
> > bc
Still no progress with MS support, but your idea about default user
suggested it might be interesting to try exporting the PowerCfg
section of the HKEY_CURRENT_USER\Control Panel registry tree, edit it
to change the path to HKEY_USERS\.DEFAULT\Control Panel and then
import it. I've done that now, and whereas HKEY_USERS\.DEFAULT did not
formerly have a PowerCfg section in the Control Panel tree, now it
does (and it is a duplicate of whats configured for my primary logon).
It will be interesting to see if this had any effect tomorrow morning
when my imaging task kicks off.
--
bc
|