Question & Answer
You are using WebSphere MQ in Windows 7 or later, and you login to your Windows machine as a user that belongs to the Administrator group. You open a command prompt for Windows or you start a session with the MQ Explorer, then you try to start or stop a queue manager and you get the following error message: AMQ7077: You are not authorized to perform the requested operation. You see also the following error in the general MQ error log: 12/18/2013 09:25:49 - Process(8040.1) User(user1) Program(strmqm.exe) Host(host1) Installation(Installation2) VRMF(18.104.22.168) AMQ8063: Not authorized to issue command 'strmqm'. EXPLANATION: The current user 'user1' is not authorized to issue the command 'strmqm'. This can occur if the user is a member of the Administrators group but is not currently elevated. The command is ignored. ACTION: Add the user to the local 'mqm' security group and retry the operation.
In Windows 7 and later, you need to perform administrative tasks with MQ by explicitly specifying "Run as administrator", to explicitly have a session with elevated rights, when opening a command prompt or when starting the MQ Explorer. This option is shown in the context menu when doing a right click on the desired program icon.
The following screen capture shows the result of doing a right click in order to specify "Run as administrator" when opening a command prompt.
You are prompted to enter the password for the user.
The prefix "Administrator" is shown in the title of the command prompt window."
15 June 2018