Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Update > Remote updates for other computers.

Reply
Thread Tools Display Modes

Remote updates for other computers.

 
 
John S.
Guest
Posts: n/a

 
      12-15-2008
I'm trying to setup a .bat file / script so that I can get Windows
Updates to:
1.) check for new updates,
2.) download the update(s)
3.) install the update(s)
4.) reboot (only if needed) after normal working hours (would love to
schedule around 5am).
5.) Update status to the WSUS after the reboot.

I need this to run so that there would be NO user input.

Any Ideas??
 
Reply With Quote
 
 
 
 
PA Bear [MS MVP]
Guest
Posts: n/a

 
      12-15-2008
[[ Forwarded to WSUS newsgroup
(microsoft.public.windows.server.update_services) via crosspost as a
convenience to OP. ]]

John S. wrote:
> I'm trying to setup a .bat file / script so that I can get Windows
> Updates to:
> 1.) check for new updates,
> 2.) download the update(s)
> 3.) install the update(s)
> 4.) reboot (only if needed) after normal working hours (would love to
> schedule around 5am).
> 5.) Update status to the WSUS after the reboot.
>
> I need this to run so that there would be NO user input.
>
> Any Ideas??


 
Reply With Quote
 
Harry Johnston [MVP]
Guest
Posts: n/a

 
      12-15-2008
PA Bear [MS MVP] wrote informs us that John S. wrote:

>> I'm trying to setup a .bat file / script so that I can get Windows
>> Updates to:
>> 1.) check for new updates,
>> 2.) download the update(s)
>> 3.) install the update(s)
>> 4.) reboot (only if needed) after normal working hours (would love to
>> schedule around 5am).
>> 5.) Update status to the WSUS after the reboot.
>>
>> I need this to run so that there would be NO user input.


For the Windows Update parts you could base it on my script:

<http://www.scms.waikato.ac.nz/~harry/wsusupdate.vbs>

http://www.scms.waikato.ac.nz/~harry/wsusupdate.vbs

You can schedule scripts to run at a given time of day using the AT command, but
you should add a random delay at the start of the script so they don't all
contact the server at the same time.

I believe the Windows Update Agent will update the status after the reboot
automatically. If it doesn't seem to be working, you could add "wuauclt
/detectnow" as a startup script.

Harry.
 
Reply With Quote
 
DaveMills
Guest
Posts: n/a

 
      12-16-2008
On Mon, 15 Dec 2008 17:22:58 -0500, "PA Bear [MS MVP]" <>
wrote:

>[[ Forwarded to WSUS newsgroup
>(microsoft.public.windows.server.update_service s) via crosspost as a
>convenience to OP. ]]
>
>John S. wrote:
>> I'm trying to setup a .bat file / script so that I can get Windows
>> Updates to:
>> 1.) check for new updates,
>> 2.) download the update(s)
>> 3.) install the update(s)
>> 4.) reboot (only if needed) after normal working hours (would love to
>> schedule around 5am).
>> 5.) Update status to the WSUS after the reboot.
>>
>> I need this to run so that there would be NO user input.
>>
>> Any Ideas??

You have just described exactly what the Windows Update client does if you set
it to download the updates and install at 5am. Why do you need a script to
duplicate the existing functionality.
--
Dave Mills
There are 10 types of people, those that understand binary and those that don't.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
On remote Vista computers, some files just don't show up David Deley Windows Vista Networking 0 05-18-2009 05:23 PM
Different Computers Different updates KatyS Windows Update 2 02-19-2008 12:10 AM
Remote networking to Vista Ultimate computers. LJuliet97 Windows Vista Networking 6 02-06-2007 11:27 AM
Moving Remote Computers Between Groups Automatically Ben Windows Update 1 02-07-2006 04:17 PM
UPDATES on Different Computers paul Windows Update 3 10-29-2003 11:43 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59