Here’s a link to Procrun if you need a windows service
https://commons.apache.org/proper/commons-daemon/procrun.html
This project was helpful for me to understand what a windows batch .bat would look like for install time: https://raw.githubusercontent.com/lenhard/procrun-sample/master/installService.bat
I noticed apache ActiveMQ is bundled with the 32-bit version (free) of this solution (again windows services).
https://wrapper.tanukisoftware.com/doc/english/launch-win.html