Re: Timed Restart/Reboot of Windows




"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: Connection Error when Rebooting
    ... Most likely there is something running on your servers that is cancelling/stopping the shutdown. ... Using the /F option prevents a process from stopping a shutdown by responding false or not at all--each process is terminated regardless. ... Even with /F there are cases where a kernel mode driver or other core windows process could prevent the shutdown from completing. ... If there is one of your servers that has this problem frequently, you could run tests by stopping certain services and then seeing if the restart happens without fail. ...
    (microsoft.public.windows.terminal_services)
  • Re: Connection Error when Rebooting
    ... Most likely there is something running on your servers that is ... cancelling/stopping the shutdown. ... kernel mode driver or other core windows process could ... At the time you attempt to restart, is there any user logged on to ...
    (microsoft.public.windows.terminal_services)
  • Re: Timed Restart/Reboot of Windows
    ... This could be used to run a batch file to shutdown the server, ... I'd like to shutdown and restart certain machines at designated times ... frequently about people trying to reboot servers "just because". ...
    (microsoft.public.windows.server.general)
  • SP1, Services, Reboots
    ... I have a 2 Windows 2003 Servers in different domains. ... This shutdown was initiated by NT Authority\System. ... The system will now shutdown and restart... ... this has only started since SP1 and the other patches were ...
    (microsoft.public.windows.server.general)
  • Re: restart 230 machines using one cammand?
    ... and i want to restart them with one cammand is there any way? ... remember shutdown command wouldnt work there, ... messages stay there and machines are like half alive. ...
    (microsoft.public.windowsxp.security_admin)