1 Reply Latest reply on Jan 28, 2017 12:05 AM by Abhinav Gupta

    Register wildfly as auto start windows services

    Abhinav Gupta Novice



      I am using wildfly 9.0.2 for my application. We code our application installer to give a call to bin/service/service.bat with install flag. All works good. Just that service startup-type by default is "manual".

      Is their a way I can tweak in service.bat to have startup-type as "Automatic" ?


      While in old jboss we have a flag "-auto" to pass so as to register it for such type. I am not sure if we have any such flag for WildFly ( I try using it , but didnt worked )


      I know we have other way to do it as : sc config <service name> start=<mode> , but then it would need admin rights to do so.


      Thanks in advance for your time and help !