Install HiveMQ service on Windows
To install a service, you need administrative rights. If you currently lack the correct permission level, right-click the installService.bat file and select Run as administrator.
Reference document https://docs.hivemq.com/hivemq/latest/user-guide/install-hivemq.html#windows
Prerequisites : Standalone Installation of HiveMQ on Windows Server 2022
Follow these steps to install HiveMQ as a Windows service:
Download and Unzip the hivemq-windows-service.zip.
Copy the windows-service folder to your HiveMQ home folder e.g.
C:\hivemq\hivemq-windows-service\windows-service\
.In case you are not using C:\hivemq as the installation path, please check Windows Service Fails to Start to correctly setup the service
Open the windows-service folder and Double-click the installService.bat file. In our case the path looks like
C:\hivemq\hivemq-windows-service\windows-service\installService.bat
Restart your system.
Check if the service is running by via Run > services.msc and searching for HiveMQ Service
In case of issues with the steps above, please utilize the fix on Windows Service Fails to Start