Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows Server » microsoft.public.windows.server.update_services
Thread: install patches remotely via script

HTVi
TV Discussion Newsgroups

install patches remotely via script
Daniyar <daniyar[ at ]gmail.com> 6/29/2007 9:46:33 AM
Hi,

we use WSUS policy for servers to download patches automatically. Then
interactively it is possible to install updates and reboot.

Is it possible to write a script that will force installation of the
already downloaded patches?

Regards, Dan

Re: install patches remotely via script
Harry Johnston <harry[ at ]scms.waikato.ac.nz> 6/29/2007 8:43:20 PM
Daniyar wrote:

[Quoted Text]
> we use WSUS policy for servers to download patches automatically. Then
> interactively it is possible to install updates and reboot.
>
> Is it possible to write a script that will force installation of the
> already downloaded patches?

Yes. All the documentation, including some sample code IIRC, is in the MSDN
Library - try searching for IUpdateSearcher.

Harry.
Re: install patches remotely via script
Daniyar <daniyar[ at ]gmail.com> 7/4/2007 4:03:20 PM
On Jun 29, 10:43 pm, Harry Johnston <h...[ at ]scms.waikato.ac.nz> wrote:
[Quoted Text]
> Daniyar wrote:
> > we use WSUS policy for servers to download patches automatically. Then
> > interactively it is possible to install updates and reboot.
>
> > Is it possible to write a script that will force installation of the
> > already downloaded patches?
>
> Yes. All the documentation, including some sample code IIRC, is in the MSDN
> Library - try searching for IUpdateSearcher.
>
> Harry.

Thanks, I could not find the code on MSDN, the interface gives the
same features as wuauclt /detectnow.

However, I found UpdateHF_v2.5.vbs, a tool that I can run remotely and
install patches. I will try it in next MS update period.

Re: install patches remotely via script
Harry Johnston <harry[ at ]scms.waikato.ac.nz> 7/4/2007 9:05:02 PM
Daniyar wrote:

[Quoted Text]
>> Yes. All the documentation, including some sample code IIRC, is in the MSDN
>> Library - try searching for IUpdateSearcher.
>
> Thanks, I could not find the code on MSDN, the interface gives the
> same features as wuauclt /detectnow.

You must have been looking in the wrong place. Try here:

<http://msdn2.microsoft.com/en-us/library/aa386515.aspx>

> However, I found UpdateHF_v2.5.vbs, a tool that I can run remotely and
> install patches.

Yes, that may suit your purposes. It uses the interfaces described in the MSDN
library, so if you decide you need to modify the code the link above may still
be of use to you.

Harry.

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen