...
First we will need to unpack hivemq-windows-service.zip into HiveMQ’s home folder.Within and move the newly created folder windows-service we should now find a batch script named to our HiveMQ home folder.
Within it we can find installService.bat which will take care of setting up our desired service.
This needs to be run with the necessary privileges for the required changes. The easiest way to achieve this
is to either to run the script as administrator with a simple double click, or to right click and select “Run as administrator”.
Once
If installService.bat was is run successfully, all that is left to do is reboot the Server and verify HiveMQ’s functionality.you will see the log message Service HiveMQ installed
.
At this point you may restart your machine and confirm HiveMQ is up and running.
Related: Windows Service Fails to Start