scheduling a shutdown

  • Thread starter Thread starter Jim
  • Start date Start date
J

Jim

I'm looking for a way to schedule the shutdown of our
workstations at a certain time each day. We want them
left running overnight to receive updates, but they need
to be rebooted before users arrive in order for some
programs to work correctly.
 
Hello,

To schedule the local computer to shutdown, you can refer to the article
below.

317371 HOW TO: Use the Shutdown Tool to Shut Down and Restart a Computer
http://support.microsoft.com/?id=317371

Thanks.


Sincerely,

Vivien Wu
MCSA, MCSE2000 and MCDBA2000
Microsoft Partner Online Support


Get Secure! - www.microsoft.com/security

====================================================
When responding to posts, please Reply to Group via your newsreader so
that others may learn and benefit from your issue.
====================================================
This posting is provided AS IS with no warranties, and confers no rights.
 
Thanks for your reply. Using the AT command to schedule
a reboot was easy enough, but I was hoping to schedule
the task on all computers using group policy or a batch
file. There is no policy option that I can see for
scheduling tasks, other than to use a logon script.
Unfortunately the logon script will schedule the task at
each logon, resulting in dozens (hundreds?) of the same
scheduled task. Thanks for your help.
 
Hello,

You can try the following suggestions:

1. Add the command below in the logon script to delete the old scheduled
task.

At /delete /yes

2. Use the /every parameter in AT to schedule the task to run on the
specified day.

To make the task run everyday, you can create a bat file with seven AT
commands. You only need to run the bat file on the computer once.

For detailed information about the AT command, check the article below.

313565 HOW TO: Use the AT Command to Schedule Tasks
http://support.microsoft.com/?id=313565


Sincerely,

Vivien Wu
MCSA, MCSE2000 and MCDBA2000
Microsoft Partner Online Support


Get Secure! - www.microsoft.com/security

====================================================
When responding to posts, please Reply to Group via your newsreader so
that others may learn and benefit from your issue.
====================================================
This posting is provided AS IS with no warranties, and confers no rights.
 
OK, I can use shutdown.exe in a batch file to shutdown and restart
the Windows. How can I let the Windows to continue to execute the
batch file from where I left before the reboot?

Thanks!

fanny
 
Back
Top