Windows Server 2003
1833184 Members
3079 Online
110051 Solutions
New Discussion

Installed software on a list of servers.

 
SOLVED
Go to solution
Edgar Zapata
Esteemed Contributor

Installed software on a list of servers.

Hi,

Does anyone know if there's a tool that allows me to go through a list of servers and dump the software that they have installed?

I'm looking for a tool similar to WinAudit except that you have to run this one locally.

I'd rather prefer a command line tool but it's okay if you know about one that has a GUI.
As long as you can run it on several servers (remotely)...

Thank you.

1 REPLY 1
Jon Finley
Honored Contributor
Solution

Re: Installed software on a list of servers.

Try the following, it uses built-in tools:

REM Set the generic install key.

SET reg_key="HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products"
SET loc=C:\temp\

REM ..:----------------------------------------

if exist %loc%tempreg del %loc%tempreg
if exist %loc%tempreg2 del %loc%tempreg2

REG QUERY %reg_key% >%loc%tempreg2

FIND "HKEY_LOCAL_MACHINE" %loc%tempreg2 > %loc%tempreg
del %loc%tempreg2

FOR /F "skip=3" %%G IN (%loc%tempreg) DO REG QUERY %%G\InstallProperties /v DisplayName >> %loc%tempreg2
del %loc%tempreg
FIND /I "Display" %loc%tempreg2 >%loc%%computername%-sw-list.txt
del %loc%tempreg2

Jon
"Do or do not. There is no try!" - Yoda