I have installed jenkins before on some machines from the .war file and the from the web page installed as a windows service.
Now I am trying to install it on a different machine through the .msi file, but I am having an issue, on the installation steps there is one step which asks me "Logon type" which gives me 2 choices as it can be seen on the image. I do not know the differences between them and also it only lets me choose run service as a local system(not recommended) adn this install jenkins on the windows/system32 folder. I have been loking to tutorials but it seems all of them skip this step. I have also search on here with no success. Does anyone know the difference and how to use the recommended one? I have tried to enter my windows and jenkins credentials and nothing. What user and password are to be entered on this window?
Thanks in advance!
I suggest reading the old installation documentation, the new installer updates, the actual Install on Windows doc, as well as MS Doc Using the LocalSystem Account as a Service Logon Account, S/O explanation The difference between the 'Local System' account and the 'Network Service' account? and S/O explanation Why running a service as Local System is bad on windows?.
In short, you want to create a specific service account to run Jenkins because it's safer than running as highly privileged LocalSystem - Win equivalent of root. That account must have LogonAsService rights.
See MS docs Enable Service Logon and Log on as a service
Also, the new installer is literally new, .. I have raised JENKINS-63477 to get documentation improved.
Thanks a lot! I am gonna read the links and hopefully it will be clear
fyi: I have raised a jira ticket for this and updated my response. If you find my response helpful, please mark as answered (and upvote) so others can reference this.