Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Installed Patch listing.

Status
Not open for further replies.

DeadEye

Technical User
Jul 7, 2001
17
CA
I have a number of Win2K / XP systems that I need to get some software inventory information about what patches are installed.

I would like to find a command line tool that will provide me with a list similar to what "showrev -p " does for me in Solaris.

I know I can go to the installed software list but that does not out put to a file. ( and doesn't support cut & Paste)

There are the directorys in the windows install area that contain the files to restore and the un-install scripts.

I may have to write a script to pull the information out of the .inf files if I can't find something that already exists.

Thanks, for any usefull input.
 

Well if you have cigwin installed you can do this from the windows directory -
find \$Nt* -name spuninst.inf -exec cat {} \; | grep NtServicePackVersion.*Text > `hostname`_patch_list

Thanks to the liberal use of $ signs in the path you can't do it from anywhere else... ( well maybe you can but parsing those out was turning out to be a PITA...)

 
A number of software tools will list this for you. DameWare NT Utilities comes to mind.

You can also go to the registry and look under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top