Microsoft Windows Vista Community Forums - Vistaheads
Recommended Download



Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

If you have any problems with the registration process or your account login, please contact us.

Driver Scanner

Search For, Download & Install Windows Updates via Command Line

microsoft.public.windowsupdate






Speedup My PC
Reply
  #1 (permalink)  
Old 02-24-2010
JuliusPIV
 

Posts: n/a
Search For, Download & Install Windows Updates via Command Line
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
Sponsored Links
  #2 (permalink)  
Old 02-24-2010
Ǝиçεl
 

Posts: n/a
RE: Search For, Download & Install Windows Updates via Command Line
Tяy the WSUS Newsgroup

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

On the web:
WSUS General
<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
  #3 (permalink)  
Old 02-24-2010
Harry Johnston [MVP]
 

Posts: n/a
Re: Search For, Download & Install Windows Updates via Command Line
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
  #4 (permalink)  
Old 07-08-2010
 

Join Date: May 2009
Posts: 2
hs2n is on a distinguished road
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Search For, Download & Install Windows Updates via Command Line
Quote:
Originally Posted by JuliusPIV View Post

Has anyone used a third party tool or developed their own thing to
accomplish this?
Yes, there is: try WuInstall (WuInstall), does quite exactly what you want via command line (utilizes the Windows Update API)
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

vB 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 updates download but won't install Alan279 microsoft.public.windowsupdate 4 10-31-2009 19:53
Remove 'Download Windows Search' line from IE8 Kamen microsoft.public.internetexplorer.general 12 09-27-2009 18:49
CAN'T DOWNLOAD OR INSTALL ANTY WINDOWS UPDATES MAINEJIM microsoft.public.windowsupdate 4 12-19-2008 00:33
New Windows XP PRO install and WU fails to download 70+ updates. DanBu microsoft.public.windowsupdate 3 01-25-2008 04:05
Article ID: 933662 When a 16-bit application passes command-line parameters to another application on a Windows Vista-based computer, the second application does not receive the command-line parameters KBArticles English 0 10-22-2007 20:00




All times are GMT +1. The time now is 21:31.




Driver Scanner - Free Scan Now

Vistaheads.com is part of the Heads Network. See also XPHeads.com , Win7Heads.com and Win8Heads.com.


Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0 RC 2

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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120