Hi All,


We are soon having an audit for IBM Cognos server software, and we want to know ahead of time what to expect. The problem is, the software doesn't appear in Control Panel\Programs\Programs and Features when installed, so the normal software inventory/reporting doesn't show that it is installed. I know a common file to scan for to be able to locate it, but I am not sure how to make a report scan for the file. Does anyone know an easy way to make a script/report to check for the presence of this file?

C:\Program Files\ibm\cognos\c10_64\bin64\cogconfigw.exe

Any help would be greatly appreciated. Thanks!

1 Comment   [ + ] Show Comment


  • What management tool do you have (k1000, SCCM,...)?
Please log in to comment



Basically, you want to do a custom inventory rule which will identify these PCs.  Follow these instructions, man!

Software > Choose Action > Add New Item

Display name: IBM Cognos Installed

Publisher: gcarpenter

Display Version: 1.0

Select operation systems you want...

Custom Inventory Rule:

FileExists(C:\Program Files\ibm\cognos\c10_64\bin64\cogconfigw.exe)

Save it.


Now wait about an hour or so while the electrical computational contraptions start checking in, and when you go under Software and search for "IBM Cognos Installed", you should have a list of computers with that file. If there are multiple OSs to worry about, just do an OR in between...  e.g.

FileExists(C:\Program Files\ibm\cognos\c10_64\bin64\cogconfigw.exe) OR FileExists(C:\Program Files (x86)\ibm\cognos\c10_64\bin64\cogconfigw.exe)

Answered 06/10/2013 by: gcarpenter
Green Belt

  • Brilliant sir. I will give that a shot. Thanks much!
Please log in to comment

With a k1000 you would create a custom software inventory item that looks for the existance for that file.

FileExists(C:\Program Files\ibm\cognos\c10_64\bin64\cogconfigw.exe)

Then create a report that uses "if that custom software is not null" as the filter.

If you are using some other management tool lets us know which one, there are other ways to remote query a machine for a file.

Answered 06/10/2013 by: SMal.tmcc
Red Belt

Please log in to comment

Did you checked all entries from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall? Some applications add an entry there but is not listed in Programs and Feature.

Answered 06/10/2013 by: terebent
Brown Belt

Please log in to comment

You can also make an entry for Cognos in Programs and Features..

Put the following content in notepad, save as .reg file and double click it


Windows Registry Editor Version 5.00

"DisplayIcon"="C:\\Program Files\\ibm\\cognos\\c10_64\\bin64\\cogconfigw.exe,0"
"DisplayName"="IBM Cognos"
"InstallLocation"="C:\\Program Files\\ibm\\cognos\\c10_64\\bin64\\"
"UninstallString"="C:\\Program Files\\ibm\\cognos\\c10_64\\bin64\\"

Answered 06/07/2013 by: jagadeish
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity