Solved

Exporting "Windows Updates" lists to text or xml.

Posted on 2006-07-11
6
309 Views
Last Modified: 2010-04-18
Howdy All,

Just wondering if there is a simple way of exporting the list of updates available through Windows Update, and existing updates on the system? Our auditors (god bless their cotton socks... cause I know I ain't blessing them!) want a printed list of all updates installed on our servers, and what ones are going to be installed.

So far, the only method is to print screen the windows update screen, but I'd much prefer it in XML or text, or anything other than images!

I have tried playing with the wuauclt.exe to see if it has any command line options, but to no avail. If anyone knows how to do this, it would be greatly appreciated.

Regards,
Zak
0
Comment
Question by:Zak_MakeWithTheFunny
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 29

Expert Comment

by:mass2612
ID: 17087462
Hi,

A very quick way to do this is to do a reg query or WMI script to look at the registry key that holds all the hotfix Q article numbers.

reg query "HKLM\software\microsoft\Windows NT\currentversion\hotfix"

This will give you all the installed hostfixes on the local machine.

How many machines are we talking about checking? In regards to future patches how can you know what the futiure holds?
0
 
LVL 29

Accepted Solution

by:
mass2612 earned 400 total points
ID: 17087500
Sorry I should have shown you the remote option as well.

You can run this command on remote machines as long as you have the permissions to do so on the remote machine.

i.e. reg query "\\computername\HKLM\software\microsoft\Windows NT\currentversion\hotfix" and pipe to a text file using >>.
0
 

Author Comment

by:Zak_MakeWithTheFunny
ID: 17087519
As it is, we have two servers (that we really have to worry about): one is the live server, and one is the test/backup server.

So basically, we install ANY new patch that is needed on the backup server, run the backup server and monitor it for about 6 weeks. If there are no problems with it in that time, we authorize (ala sign off) that the patches are to be installed on the live server.

So, by the looks of it, what you have written will handle the "What's installed" side... but now I need some way of getting the list of patches that are available for install. For example, if you run the windows update applet, you can do the custom install, and there is a nice big long list of updates to install... that is the list I need to be able to dump to text or xml...

I have the same system for the desktops, though I use WSUS to manage all of that... but we want to keep the servers off the WSUS system.

Regards,
Zak
0
The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

 
LVL 29

Expert Comment

by:mass2612
ID: 17087598
So does that mean you are using a seperate SUS service to install updates from the backup server to the primary server?
0
 

Author Comment

by:Zak_MakeWithTheFunny
ID: 17088331
The WSUS server is for the desktop machines only... the servers, I do it just through the wuauclt thing that comes up. You know that whole "there are updates availiable for this computer" gizmo.

Don't ask me why we do it that way, but that's the way we are to do it, apparently... though I may still see if I can get it on WSUS.

Zak
0
 
LVL 23

Assisted Solution

by:TheCleaner
TheCleaner earned 100 total points
ID: 17092938
Why don't you just run the MBSA from Microsoft?

http://www.microsoft.com/technet/security/tools/mbsa2/default.mspx
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question