Windows Vista Forums

how do I shutdown, install updates, and reboot?
  1. #1


    ToddAndMargo Guest

    how do I shutdown, install updates, and reboot?

    Hi All,

    I am getting a lot of confusing stuff about this out
    there on Google, so I thought I'd just ask.

    I have a ws03 server. I want to do the following,
    from the command line (scheduled tasks):

    1) shutdown the computer
    2) install any Microsoft updates that are pending
    3) automatically restart the computer

    Has to be all unattended (scheduled tasks).



    Many thanks,
    -T

      My System SpecsSystem Spec

  2. #2


    Steve65 Guest

    Re: how do I shutdown, install updates, and reboot?

    Turn your automatic updates on. Set it to download and install updates
    automatically and pick a time.
    Look in Control Panel > Automatic Updates.

    "ToddAndMargo" <ToddAndMargo@newsgroup> wrote in message
    news:uhI6ENYMKHA.4964@newsgroup

    > Hi All,
    >
    > I am getting a lot of confusing stuff about this out
    > there on Google, so I thought I'd just ask.
    >
    > I have a ws03 server. I want to do the following,
    > from the command line (scheduled tasks):
    >
    > 1) shutdown the computer
    > 2) install any Microsoft updates that are pending
    > 3) automatically restart the computer
    >
    > Has to be all unattended (scheduled tasks).
    >
    > Many thanks,
    > -T

      My System SpecsSystem Spec

  3. #3


    Meinolf Weber [MVP-DS] Guest

    Re: how do I shutdown, install updates, and reboot?

    Hello ToddAndMargo,

    On a server you should better control it by yourself and if you have a production
    environment, you should also test updates before installing.

    Best regards

    Meinolf Weber
    Disclaimer: This posting is provided "AS IS" with no warranties, and confers
    no rights.
    ** Please do NOT email, only reply to Newsgroups
    ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm


    > Hi All,
    >
    > I am getting a lot of confusing stuff about this out there on Google,
    > so I thought I'd just ask.
    >
    > I have a ws03 server. I want to do the following, from the command
    > line (scheduled tasks):
    >
    > 1) shutdown the computer
    > 2) install any Microsoft updates that are pending
    > 3) automatically restart the computer
    > Has to be all unattended (scheduled tasks).
    >
    > Many thanks,
    > -T


      My System SpecsSystem Spec

  4. #4


    ToddAndMargo Guest

    Re: how do I shutdown, install updates, and reboot?

    > "ToddAndMargo" <ToddAndMargo@newsgroup> wrote in message

    > news:uhI6ENYMKHA.4964@newsgroup

    >> Hi All,
    >>
    >> I am getting a lot of confusing stuff about this out
    >> there on Google, so I thought I'd just ask.
    >>
    >> I have a ws03 server. I want to do the following,
    >> from the command line (scheduled tasks):
    >>
    >> 1) shutdown the computer
    >> 2) install any Microsoft updates that are pending
    >> 3) automatically restart the computer
    >>
    >> Has to be all unattended (scheduled tasks).
    >>
    >> Many thanks,
    >> -T
    >
    Steve65 wrote:

    > Turn your automatic updates on. Set it to download and install updates
    > automatically and pick a time.
    > Look in Control Panel > Automatic Updates.
    >
    Hi Steve,

    Thank you for the tip.

    My understanding was that the automatic updates would
    install everything it could, but not reboot those that
    needed a reboot. Instead it would prompt to reboot.
    I need everything to be done and over with by the time
    the customer get in in the morning.

    -T

      My System SpecsSystem Spec

  5. #5


    ToddAndMargo Guest

    Re: how do I shutdown, install updates, and reboot?

    >> Hi All,

    >>
    >> I am getting a lot of confusing stuff about this out there on Google,
    >> so I thought I'd just ask.
    >>
    >> I have a ws03 server. I want to do the following, from the command
    >> line (scheduled tasks):
    >>
    >> 1) shutdown the computer
    >> 2) install any Microsoft updates that are pending
    >> 3) automatically restart the computer
    >> Has to be all unattended (scheduled tasks).
    >>
    >> Many thanks,
    >> -T
    >
    >
    Meinolf Weber [MVP-DS] wrote:

    > Hello ToddAndMargo,
    >
    > On a server you should better control it by yourself and if you have a
    > production environment, you should also test updates before installing.
    Hi Meinolf,

    You are of course, correct.

    Problem is that the former consultant charged U$D 250.00 to
    do this on a weekly basis and the customer is justifiably
    sensitive about this. Is there a compromise where his
    updates can be done before he get in in the morning?

    Many thanks,
    -T

      My System SpecsSystem Spec

  6. #6


    DaveMills Guest

    Re: how do I shutdown, install updates, and reboot?

    On Fri, 11 Sep 2009 17:25:54 -0700, ToddAndMargo <ToddAndMargo@newsgroup>
    wrote:

    >>> Hi All,
    >>>
    >>> I am getting a lot of confusing stuff about this out there on Google,
    >>> so I thought I'd just ask.
    >>>
    >>> I have a ws03 server. I want to do the following, from the command
    >>> line (scheduled tasks):
    >>>
    >>> 1) shutdown the computer
    >>> 2) install any Microsoft updates that are pending
    >>> 3) automatically restart the computer
    >>> Has to be all unattended (scheduled tasks).
    >>>
    >>> Many thanks,
    >>> -T
    >>
    >>
    >
    >Meinolf Weber [MVP-DS] wrote:

    > > Hello ToddAndMargo,
    > >
    > > On a server you should better control it by yourself and if you have a
    > > production environment, you should also test updates before installing.
    >
    >Hi Meinolf,
    >
    >You are of course, correct.
    >
    >Problem is that the former consultant charged U$D 250.00 to
    >do this on a weekly basis and the customer is justifiably
    >sensitive about this. Is there a compromise where his
    >updates can be done before he get in in the morning?
    If nobody is logged in then the updates will install at 3am and the server
    reboot. It is only if an admin is logged in that the prompt will be given. If
    you want to force the installation even if an admin is logged it you could set a
    deadline on the updates. The problem with this is that even an admin cannot stop
    a deadline install. The server will install the updates and reboot (if
    necessary) and no matter which important reason to not reboot the server at that
    time it WILL happen.

    If you are going to go down this rout I suggest you try it on a workstation
    group first to learn how it works.

    There is also a setting "No reboot with logged in user" that affects the reboot
    behavior. Read up on both of these and test them on a workstation until it does
    what you want.


    >
    >Many thanks,
    >-T
    --
    Dave Mills
    There are 10 types of people, those that understand binary and those that don't.

      My System SpecsSystem Spec

  7. #7


    Meinolf Weber [MVP-DS] Guest

    Re: how do I shutdown, install updates, and reboot?

    Hello ToddAndMargo,

    You can automate it, that is not the problem. BUT if something fails while
    not tested you have to rollback or maybe restore from backups in the worst
    case.

    For a weekly patch seesion 250$, wowww. How is the network management done,
    additional costs?

    Best regards

    Meinolf Weber
    Disclaimer: This posting is provided "AS IS" with no warranties, and confers
    no rights.
    ** Please do NOT email, only reply to Newsgroups
    ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm


    >>> Hi All,
    >>>
    >>> I am getting a lot of confusing stuff about this out there on
    >>> Google, so I thought I'd just ask.
    >>>
    >>> I have a ws03 server. I want to do the following, from the command
    >>> line (scheduled tasks):
    >>>
    >>> 1) shutdown the computer
    >>> 2) install any Microsoft updates that are pending
    >>> 3) automatically restart the computer
    >>> Has to be all unattended (scheduled tasks).
    >>> Many thanks,
    >>> -T
    > Meinolf Weber [MVP-DS] wrote:
    >

    >> Hello ToddAndMargo,
    >>
    >> On a server you should better control it by yourself and if you have
    >> a production environment, you should also test updates before
    >> installing.
    >>
    > Hi Meinolf,
    >
    > You are of course, correct.
    >
    > Problem is that the former consultant charged U$D 250.00 to do this on
    > a weekly basis and the customer is justifiably sensitive about this.
    > Is there a compromise where his updates can be done before he get in
    > in the morning?
    >
    > Many thanks,
    > -T


      My System SpecsSystem Spec

  8. #8


    Ben Humpert Guest

    Re: how do I shutdown, install updates, and reboot?

    ToddAndMargo wrote:

    > Meinolf Weber [MVP-DS] wrote:

    > > Hello ToddAndMargo,
    > >
    > > On a server you should better control it by yourself and if you have a
    > > production environment, you should also test updates before installing.
    >
    > Hi Meinolf,
    >
    > You are of course, correct.
    >
    > Problem is that the former consultant charged U$D 250.00 to
    > do this on a weekly basis and the customer is justifiably
    > sensitive about this. Is there a compromise where his
    > updates can be done before he get in in the morning?
    I guess he didn't even tested the updates. However $1.000 is very much, too
    much.

    You can use mstsc.exe (remote desktop) to manage the updates from home.
    Perhaps you should tell him what can happen if all updates are installed
    automatically or only every 2nd or 3rd week or every month only.

    Did you take a look at WSUS? You can configure it very well and most of the
    updates are automated (after a short period of time). Its like your own
    Microsoft Update server but you can assign computers into groups, apply
    different settings, etc. Its freeware made by Microsoft. The really good
    thing is that all allowed updates are stored on the local server so there is
    no waste of bandwidth cause none client needs to download the update, the
    server does it one time and the clients will get the update from the local
    server.



      My System SpecsSystem Spec

  9. #9


    Leythos Guest

    Re: how do I shutdown, install updates, and reboot?

    In article <uSvAY#zMKHA.504@newsgroup>,
    ToddAndMargo@newsgroup says...

    >

    > >> Hi All,
    > >>
    > >> I am getting a lot of confusing stuff about this out there on Google,
    > >> so I thought I'd just ask.
    > >>
    > >> I have a ws03 server. I want to do the following, from the command
    > >> line (scheduled tasks):
    > >>
    > >> 1) shutdown the computer
    > >> 2) install any Microsoft updates that are pending
    > >> 3) automatically restart the computer
    > >> Has to be all unattended (scheduled tasks).
    > >>
    > >> Many thanks,
    > >> -T
    > >
    > >
    >
    > Meinolf Weber [MVP-DS] wrote:

    > > Hello ToddAndMargo,
    > >
    > > On a server you should better control it by yourself and if you have a
    > > production environment, you should also test updates before installing.
    >
    > Hi Meinolf,
    >
    > You are of course, correct.
    >
    > Problem is that the former consultant charged U$D 250.00 to
    > do this on a weekly basis and the customer is justifiably
    > sensitive about this. Is there a compromise where his
    > updates can be done before he get in in the morning?
    >
    > Many thanks,
    > -T
    We connect on a monthly basis, with the servers set to download but not
    install, and if a really critical update is needed we will install that
    update along, out of our cycle - we're always a couple weeks behind the
    updates from MS because we test them on our own servers before
    installing them on customers servers.

    In most cases it takes a few minutes, remotely, to install updates, and
    we can often do 4-6 customers servers at that same time.

    One thing - I never do server updates via Remote Desktop, not even with
    the /CONSOLE switch - I've had to many instances where a pop-up wasn't
    showing via RD and the server just hung until we could get to a real
    screen. I normally use VNC or UltraVNC for doing server updates.

    I also don't do a start/restart, I use a Shutdown /f /r /t 5 command -
    this seems to almost never hang the server while you can be kicked out
    and not permitted back in if you do a start/restart from a RD session.

    --
    You can't trust your best friends, your five senses, only the little
    voice inside you that most civilians don't even hear -- Listen to that.
    Trust yourself.
    spam999free@newsgroup (remove 999 for proper email address)

      My System SpecsSystem Spec

how do I shutdown, install updates, and reboot? problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
unexpected shutdown and reboot GusCampag Vista General 8 08 Sep 2009
Hard Shutdown and Reboot devendersys General Discussion 0 18 Feb 2008
How to use RESTART instead of SHUTDOWN to install updates futuramagal Vista installation & setup 1 16 Feb 2008
Unexpected shutdown and reboot? manitou man Vista performance & maintenance 5 20 Mar 2007
Vista Shutdown and reboot David Sherman Vista General 7 05 May 2006