Mar 16 2012

How to list installed updates on Windows servers

Unfortunately the link below does not contain the script anymore.

However you can use the following commands to export the list of patches installed to txt or html.

wmic qfe list brief /format:htable > “%USERPROFILE%\hotfix.html”

or

wmic qfe list brief /format:texttablewsys > “%USERPROFILE%\hotfix.txt”

The above was found on the Tech Support Alert website

 

If you need to compare installed updates between servers then this article might just be what you are looking for.

The easiest way is to run a vbscript that you may download from Jesper Johansson’s blog here.

After you downloaded the script click on start => run and type cmd
Then browse to the folder you downloaded the vbscript to.
type: cscript getupdates.vbs

The output will be written in an html file called installedupdates.htm

Run this script on all the servers that you would like to compare the installed updates with. Then launch Microsoft Excel and choose open and browse to the installedupdates.htm files to open them in Excel.

Now you are able to edit and compare the exports to see which patches are missing compared to other servers.

This is a lot easier and more convenient to compare patches and fixes on servers than being stuck in Programs and Features. 🙂