how do I shutdown, install updates, and reboot?

T

ToddAndMargo

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
 
S

Steve65

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

"ToddAndMargo" wrote in message
news:uhI6ENYMKHA.4964@TK2MSFTNGP06.phx.gbl...
> 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
 
M

Meinolf Weber [MVP-DS]

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
 
T

ToddAndMargo

> "ToddAndMargo" wrote in message
> news:uhI6ENYMKHA.4964@TK2MSFTNGP06.phx.gbl...
>> 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
 
T

ToddAndMargo

>> 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
 
D

DaveMills

On Fri, 11 Sep 2009 17:25:54 -0700, ToddAndMargo
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.
 
M

Meinolf Weber [MVP-DS]

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
 
B

Ben Humpert

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.
 
L

Leythos

In article ,
ToddAndMargo@invalid.com 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@rrohio.com (remove 999 for proper email address)
 
Back
Top Bottom