IBM Support

AMQ4794 Error dialog after applying WebSphere MQ Maintenance releases on Windows

Technote (troubleshooting)


Attempts to install a maintenance release using IBM WebSphere MQ result in an Information dialog with message code AMQ4794 requesting you to reboot and run a command to make the installation primary.


At the end of installing a maintenance release update, you receive an informational dialog like this:


The complete text of the error is:
After reboot you should issue the following command
to make installation 'Installation1' primary again:
'C:\Program Files (x86)\IBM\WebSphere MQ 75_1\bin\setmqinst -n Installation1 -i'

After rebooting, you attempt to comply and you receive an AMQ8584 error:

AMQ8584: Insufficient permission to update installation configuration.


The user who installed the maintenance release did not have sufficient authority to update the installation configuration. The same issue occurs for the user attempting to run the setmqinst command.


This combination of Informative dialog and error has been seen in a Windows Domain environment.

Diagnosing the problem

Verify the user Id that ran the installation or upgrade.

Verify the user Id authority.
Check the user Id that is running the WebSphere MQ services.

Resolving the problem

Before running the setmqinst command, make sure you select ‘Run Elevated’ or 'Run as Administrator' when starting the command window (cmd.exe). Do this even if you are installing as a Domain user in the Domain mqm group; this ensures that the user is running with local Administrator authority.

This allows commands that are run in the command window to have authority to make changes to the local machine configuration.

Product Alias/Synonym

WebSphere MQ WMQ

Document information

More support for: WebSphere MQ
Install / Migration

Software version: 7.0.1, 7.1, 7.5

Operating system(s): Windows

Reference #: 1632224

Modified date: 28 June 2013

Translate this page: