Task Scheduler

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.
 
G

Guest

Running the task with an admnistrative account. Also have the Only run when
logged on unchecked.
 
G

Guest

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.
 
G

Guest

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.
 
D

Dave Patrick

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top