Task Scheduler

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

We currently have a task set to restart our server every sunday at 3pm. We
use shutdown.exe and have a batch file created that calls that command. If
logged into the server the schedule task runs fine, reboots the server no
problem. But if the machine is logged out the scheduled task will not run.
Does anyone know how to run a scheduled task if a user is not logged into the
machine.


Notes: I also attempted to do this on my xp pro machine. i setup uthe task
just as it is on the win2kserver. It ran fine when logged in but didnt run
when i logged off. Any help would greatly be appreicated.
 
Running the task with an admnistrative account. Also have the Only run when
logged on unchecked.
 
Using win2kserver. I see the supported hotfix but it doesnt reference
running shutdown.exe in a scheduled task. I can run the scheduled task when
logged into the system. The issue is this server is never logged into. I
need to find a way to let the STask run when a user is logged out of the
server.
 
Check LocalSecurity Settings -> User Rights Assignment -> Log on as a servive.

Add the Administrator account you use to run this task into this right.
Because you are not running interactively, thus it need to inform the system
it is now running as a service instead.
 
Scheduled Tasks|Advanced|View Log may provide some details.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| We currently have a task set to restart our server every sunday at 3pm.
We
| use shutdown.exe and have a batch file created that calls that command.
If
| logged into the server the schedule task runs fine, reboots the server no
| problem. But if the machine is logged out the scheduled task will not
run.
| Does anyone know how to run a scheduled task if a user is not logged into
the
| machine.
|
|
| Notes: I also attempted to do this on my xp pro machine. i setup uthe task
| just as it is on the win2kserver. It ran fine when logged in but didnt run
| when i logged off. Any help would greatly be appreicated.
 
Back
Top