endmqsvc (end IBM MQ service)
End the IBM MQ service on Windows.
Purpose
The command ends the IBM MQ service on Windows. Run the command on Windows only.
If we are running IBM MQ on Windows systems with User Account Control (UAC) enabled, we must invoke endmqsvc with elevated privileges. To open an elevated command prompt, right click the command prompt icon and select Run as administrator (see Authority to administer IBM MQ on UNIX, Linux, and Windows).
Run the command to end the service, if the service is running.
Restart the service for IBM MQ processes to pick up a new environment, including new security definitions.
Syntax
endmqsvc
Parameters
The endmqsvc command has no parameters.
We must set the path to the installation that contains the service. Either make the installation primary, run the setmqenv command, or run the command from the directory containing the endmqsvc binary file.
Related reference