Running Keycloak as a Windows Service

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.