Question

Locked

Exporting commands from Task Scheduler

By wayne.johannesen ·
I have a number of PC's in various buildings, that need to be shutdown at different times in the evening. I currently do this using the shutdown.exe -f command in scheduler.

Currently, all machines are set to a single time (eg. 5:15pm). In order to change the scheduled time, I have to manually edit each PC (c:\windows\tasks\shutdown).

I would like to be able to upload a patch file (registry or other), that will change the existing shutdown time. I can't find where this time is retained (eg. registry; services; etc).

The PC's are all running Windows XP/SP2. Due to commercial restrictions, I can't use 3rd party applications, and must rely on the inbuilt options of Windows.

Any pointers or assistance that anyone can offer would be greatly appreciated.

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Copy the Schedule file

by Bizzo In reply to Exporting commands from T ...

There are a couple of ways you could do this, either use the AT command on each of the machines, http://support.microsoft.com/kb/313565
or if you should be able to just copy the scheduled job. Have a look in HKLM\SOFTWARE\Microsoft\SchedulingAgent\ and the value of TasksFolder (in my case it's %SystemRoot%\Tasks). This folder contains all the scheduled jobs. You should be able to just copy these to the machines.

Back to Windows Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums