Solved

Exporting "Windows Updates" lists to text or xml.

Posted on 2006-07-11
6
302 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
Industry Leaders: 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!

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

749 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