Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Update > Search For, Download & Install Windows Updates via Command Line

Reply
Thread Tools Display Modes

Search For, Download & Install Windows Updates via Command Line

 
 
JuliusPIV
Guest
Posts: n/a

 
      02-24-2010
Morning all
Although we do have a WSUS server in our corporate environment, we sometimes
need to get updates installed to non-standard image machines en mass (read:
in bulk). I suppose we could create a script to add them to a specific WSUS
target group & run wuauclt /detectnow or /resetauthorization /detectnow, but
sometimes its not convenient to do, and having someone sit at the machine
clicking through the web page & rebooting the machines really isn't efficient.

So, what I'm looking for is a method for, at a minimum, downloading &
installing all SecurityUpdates, CriticalUpdates, UpdateRollups, Updates (or
whatever classifications exist) via the command line or by running a VBScript.

I'm aware of WUInstall, which seems to do that and then some, but I'm
surprised there isn't a Microsoft utility that does this, or some 'simple'
way to do this via VBScript, especially if we're installing everything and
not being picky! By my logic, if this utility can do it, there MUST BE some
other API's its hooking into to retrieve this information.

The closest things I could find is a post on here called "Scripting API:
Find High Priority updates only" which could be manipulated to accomplish
this, and this site
http://www.activexperts.com/activmon...lient/#SSU.htm

Has anyone used a third party tool or developed their own thing to
accomplish this?

--
Julius G. Perkins, IV
Enterprise Systems
Workstation Architect
 
Reply With Quote
 
 
 
 
Ǝиçεl
Guest
Posts: n/a

 
      02-24-2010
Tяy the WSUS Newsgroup

<http://social.technet.microsoft.com/Forums/en-US/winserverwsus/threads>

On the web:
WSUS Genera
<http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?dg=microsoft.public.windows.server.up date_services>

In your newsreader:
news://msnews.microsoft.com/microsof...pdate_services
-=-

"JuliusPIV" wrote:

> Morning all
> Although we do have a WSUS server in our corporate environment, we sometimes
> need to get updates installed to non-standard image machines en mass (read:
> in bulk). I suppose we could create a script to add them to a specific WSUS
> target group & run wuauclt /detectnow or /resetauthorization /detectnow, but
> sometimes its not convenient to do, and having someone sit at the machine
> clicking through the web page & rebooting the machines really isn't efficient.
>
> So, what I'm looking for is a method for, at a minimum, downloading &
> installing all SecurityUpdates, CriticalUpdates, UpdateRollups, Updates (or
> whatever classifications exist) via the command line or by running a VBScript.
>
> I'm aware of WUInstall, which seems to do that and then some, but I'm
> surprised there isn't a Microsoft utility that does this, or some 'simple'
> way to do this via VBScript, especially if we're installing everything and
> not being picky! By my logic, if this utility can do it, there MUST BE some
> other API's its hooking into to retrieve this information.
>
> The closest things I could find is a post on here called "Scripting API:
> Find High Priority updates only" which could be manipulated to accomplish
> this, and this site:
> http://www.activexperts.com/activmon...lient/#SSU.htm
>
> Has anyone used a third party tool or developed their own thing to
> accomplish this?
>
> --
> Julius G. Perkins, IV
> Enterprise Systems
> Workstation Architect

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

 
      02-24-2010
Are the machines in question not getting updates from the WSUS server?

I've published a minimal script that installs all approved updates. If the
client isn't using WSUS, it should install all updates that are available from
WU/MU, although I've never used it this way.

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

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

Harry.


On 2010-02-25 3:21 a.m., JuliusPIV wrote:
> Morning all
> Although we do have a WSUS server in our corporate environment, we sometimes
> need to get updates installed to non-standard image machines en mass (read:
> in bulk). I suppose we could create a script to add them to a specific WSUS
> target group& run wuauclt /detectnow or /resetauthorization /detectnow, but
> sometimes its not convenient to do, and having someone sit at the machine
> clicking through the web page& rebooting the machines really isn't efficient.
>
> So, what I'm looking for is a method for, at a minimum, downloading&
> installing all SecurityUpdates, CriticalUpdates, UpdateRollups, Updates (or
> whatever classifications exist) via the command line or by running a VBScript.
>
> I'm aware of WUInstall, which seems to do that and then some, but I'm
> surprised there isn't a Microsoft utility that does this, or some 'simple'
> way to do this via VBScript, especially if we're installing everything and
> not being picky! By my logic, if this utility can do it, there MUST BE some
> other API's its hooking into to retrieve this information.
>
> The closest things I could find is a post on here called "Scripting API:
> Find High Priority updates only" which could be manipulated to accomplish
> this, and this site:
> http://www.activexperts.com/activmon...lient/#SSU.htm
>
> Has anyone used a third party tool or developed their own thing to
> accomplish this?
>



--
Harry Johnston
http://harryjohnston.wordpress.com
 
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
Windows Vista-Ready Products LPH Windows Vista General Discussion 2 01-13-2010 01:48 PM
I also have an error 646 in Windows update. Please help. Jose Windows Update 12 01-09-2010 01:00 PM
Re: Disable Windows Firewall Lanwench [MVP - Exchange] Windows Small Business Server 7 01-06-2010 11:45 PM
"Some updates could not be installed" Antnee20x Windows Update 7 12-18-2009 07:01 PM
Can I use the Windows 7 Upgrade DVD for a Clean Install ? Patrick Windows Vista General Discussion 38 11-11-2009 09:41 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