Update openfire from version 4.0.3 to 4.2.2

Versão: Openfire 4.0.3
Versão e Fabricante da JVM: 1.8.0_102 Oracle Corporation – Java HotSpot™ Client VM
Servidor de Aplicação: jetty/9.2.z-SNAPSHOT
SO / Hardware: Windows Server 2012 R2 / x86
Idioma / Fuso Horário: pt_BR / Fuso horário de Brasília (-3 GMT)
Memória do Java 109,64 MB of 989,88 MB (11,1%) used

Hello,

Today I have version 4.0.3 of openfire installed on windows server 2012 r2, every time someone restarts the server I need to start openfire manually.
Looking at the changelog, I have seen that the new versions install openfire as a service. If I upgrade to version 4.2.2 will openfire automatically start every time the server is restarted or do I need to set something up?

It will. But you can install service on your version as well (i think the service been there for 10 years now…). Read the Windows Service part http://download.igniterealtime.org/openfire/docs/latest/documentation/install-guide.html