How to initialize OpenFire service on Windows start-up

I installed OpenFire and Spark. I set Spark to open on Windows startup, but it fails as OpenFire is not running in the background.

How to initialize OpenFire service with Windows startup?

Read th installation documentation located in the openfire directory. There is a section on running openfire as a service.