IBM Support

Using Windows wmic and reg to find the IBM MQ Installations and their IBM MQ Components

How To


Summary

Using Windows wmic and reg to find the IBM MQ Installations and their IBM MQ Components

Objective

You want to use command line utilities in Windows to find out the MQ Installations (such as Installation1 and Installation2) and the installed MQ Components (such as Server, Client, Explorer) that are in each of the Installations.
Specifically, you want to know if a particular MQ Installation is Client-only (no server code).

Steps

When using the Windows reg.exe command as described below, there are 2 entries of interest:
.
If you see an entry that looks like this, then it means that the server code for queue managers has been installed:
    Server    REG_SZ    Installed
If you see an entry that looks like this, then it means that the client code has been installed:
    Local Clients\Windows NT Client    REG_SZ    Installed
Note: 
If you see the entry for "Local Clients\Windows NT Client" and if you do NOT see the entry for "Server", then this means that this is a Client-only installation.
In the example b.2 below, notice that there is no entry for "Server".
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\IBM\WebSphere MQ\Installation\Installation2\Components
    Local Clients\Windows NT Client    REG_SZ    Installed
    Explorer    REG_SZ    Installed
    JRE    REG_SZ    Installed

Additional Information

+++ See attached PDF file:
+++ end +++

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"ARM Category":[{"code":"a8m0z00000008MGAAY","label":"Install \/ Uninstall"}],"ARM Case Number":"TS008821844","Platform":[{"code":"PF033","label":"Windows"}],"Version":"All Versions"}]

Document Information

Modified date:
23 March 2022

UID

ibm16565783