Re: scheduled shutdown for win xp



florian2901
07-09-2005, 11:13 PM
the shutdown bit works, even when im not logt-in.

but it doesn't work or works patchily when the system is in stand-by
mode or in screen saver mode.

then the task works (i have test this with a sound when the task is
started) but is stopped when the message is displayed "system is
shutting down" or something like this. And when you activate the
system (by moving your mouse for example) the system is shutdown.



Homer J. Simpson schreef:
> "Florian2901" <florian2901@gmail.com> wrote in message
> news:8011d846.0504180043.20163e84@posting.google.com...
> >I have a problem with windows xp pro. I would like to shutdown the
> > computer at a specific time (this works) but when no one is logged
on
> > this wouldn't work because ether the screensaver is active or the
> > computer is standby. how can i stop those 2 and shutdown the
computer.
> >
> > to shutdown I used scheduled tasks --> shutdown.exe -s -t 0
> >
> > I think that the problem is the default user
>
> I believe the problem is that the task scheduler is a per-user thing,
and
> you can't assign "global", system-wide tasks with it (someone correct
me if
> I'm wrong)...thus, you can't define an event to occur when nobody's
logged
> on.
>
> What you need will probably have to run in the context of a service.


Re: scheduled shutdown for win xp