Openfire install as a service

Go to installed directory of openfire. ex. c:/program files/openfire/etc

Windows Service

If you’re running Openfire on Windows, you will likely want to run Openfire as a standard Windows service after initial setup. If you used the Windows installer, a openfire-service.exe file will be in the bin directory of the installation. You can use this executable to install and control the Openfire service.
From a console window, you can run the following commands:

openfire-service /install — installs the service.
openfire-service /uninstall — uninstalls the service.
openfire-service /start — starts the service
openfire-service /stop — stops the service.