Search code examples
jenkinswindows-services

Even after installing jenkins as a windows service, i have to start it through command line before accessing it through browser


I have installed jenkins as windows service but every time after starting the machine i have to execute it through command line using $ java -jar jenkins.war

I am not able to directly open it into web browser at http://localhost:8080/

Am i missing something? Any help will be really appreciated.


Solution

  • The issue is fixed now. I have changed the service properties. In service properties -> Log On->Select Local system account and select the checkbox for allow the service to interact with desktop