Running Keycloak as a Windows Service

Hello,
I am deploying keycloak on Windows server 2019 and running it with standalone.bat but I would like to run it as a Windows service,
Can anyone help me with the steps to do this,
Thanks in advance

It’s the same as running Wildfly as a Windows service. There are several guides online for that. There is also information in the service.bat script in the Keycloak distribution at docs/contrib/scripts/service/service.bat.

I used a service wrapper called winsw . You can download winsw or read their full documentation at https://github.com/kohsuke/winsw