+

Search Tips | Advanced Search

Uninstalling IBM MQ using the command line

We can uninstall IBM MQ by running the msiexec command from the command line to remove all currently installed features.


Before you begin

Start the uninstalling process by following the steps described in Uninstalling IBM MQ on Windows.

If you no longer require the queue managers that are on the system, delete them by using the IBM MQ Explorer or the dltmqm command.


To start uninstalling, use the msiexec command.

If you are running IBM MQ on Windows with User Account Control (UAC) enabled, you must invoke the silent uninstallation from an elevated command prompt. Elevate a command prompt by using a right-click to start the command prompt and choose Run as administrator.

In all of the examples of commands shown, the variable names used are as follows:


Procedure

To uninstall all IBM MQ features, use one of the following methods:


Results

After the command is entered, the command prompt immediately reappears and IBM MQ is uninstalled as a background process. If you entered parameters to produce a log, check this file to see how the uninstallation is progressing. If the uninstallation finishes successfully, you see the message Removal completed successfully in the log file.


What to do next

Complete the steps that you started in Uninstalling IBM MQ on Windows.