Re: Timed Restart/Reboot of Windows



I've looked into this previously, but have decided on using vpn's to start
reboots remotely.

There is a tool which could be ideal for the job which can be downloaded
from the Microsoft site called "Soon". This utility is designed to shedule a
single instance of an instruction to run only once and within a 24 hour
period.

This could be used to run a batch file to shutdown the server, the scheduled
task would then be deleted and non-recurring.



"Herb Martin" wrote:


"Ron Sochanski" <RonSochanski@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F6485B6C-9965-4365-8BD4-53C1A6F9CE75@xxxxxxxxxxxxxxxx


"Herb Martin" wrote:

Why do you want this?

Most people who are trying to shutdown servers regularly are messing
up.

And for hotfixes and such from automatic updates that is part of the
settings for those.

I'd like to shutdown and restart certain machines at designated times
because after manually applying Windows patches/updates to those machines,
I
generally cannot restart those machines immediately afterward. The
restart
must be delayed until after hours.

A schedule job with shutdown will do that. (Shutdown itself can only wait
up to
10 minutes.)


This is company policy. In some cases,
the machine in question may have active database RDBMS connections, in
which
case designated-time machine restart would not be applicable since data
corruption could result. In this case, manual verification that no active
connections exist on the machine is required. I like to apply
patches/updates manually to these machines in order to first ensure that
each
patch/update does not have any known issues with applications running on
the
machine.

The above makes sense -- you question sounded like one we hear fairly
frequently about people trying to reboot servers "just because".

Use a scheduled task. If you get familiar you can do it quickly from the
command prompt: schtasks.exe OR if prefer you can use the GUI to
do the scheduling.

I don't believe Automatic Upates can allow me to "OK" patches
before they are applied. If I am in error please advise.

No, that makes sense, I have seen updates take out a server so it wouldn't
reboot -- but not recently. They are getting better at testing these.


--
Herb Martin, MCSE, MVP
http://www.LearnQuick.Com
(phone on web site)



.



Relevant Pages

  • RE: Remove "Shutdown" command from w2k PCs but enable restart
    ... would have to field these calls instead of their users able to reboot on ... chase after them to only restart a system at night. ... I use the command line shutdown for the few machines that I have removed ... I also adjusted the bios power on options to deal with a power outage .. ...
    (Focus-Microsoft)
  • Re: After reboot, cant use admin Terminal Server on SBS 2003
    ... I like is to schedule a reboot an hour out, using the "shutdown" command. ... restart will restore your access. ...
    (microsoft.public.windows.server.sbs)
  • Re: Restarting Suse 9.0
    ... > Suse froze up on me and I have no clue how to restart it. ... > shutdown is an unrecognized command ... login as root to do reboot or shutdown. ...
    (alt.os.linux.suse)
  • Re: Remove "Shutdown" command from w2k PCs but enable restart
    ... just restrict the shutdown (i have a utility which is cancelling the ... /restart then restart otherwise don't do any thing just cancel the ... > figures he'll reboot before he leaves. ... > user needs to reboot to resolve the issue. ...
    (Focus-Microsoft)
  • Re: Timed Restart/Reboot of Windows
    ... Most people who are trying to shutdown servers regularly are messing ... I'd like to shutdown and restart certain machines at designated times ...
    (microsoft.public.windows.server.general)