Install Jenkins on Windows 10

You must install Java on your system before installing Jenkins. Some of the issue that you may run into while installing Jenkins server on your Windows 10 workstation are the following:

  • Jenkins installation windows 10 service logon credentials
  • Service Jenkins failed to start sufficient privileges windows 10
  • Windows could not start the Jenkins service on local computer
  • Display hidden files Windows 10

The videos covers your Jenkins installation on Windows 10 from start to finish. Lets cover some of the above issues.

Jenkins installation windows 10 service logon credentials

The local security policy must be updated here to allow a user to log on as a service.

https://stackoverflow.com/questions/63410442/jenkins-installation-windows-10-service-logon-credentials

When installing a service to run under a domain user account, the account must have the right to logon as a service. This logon permission applies strictly to the local computer and must be granted in the Local Security Policy. Perform the following to edit the Local Security Policy of the computer you want to define the ‘logon as a service’ permission:

  1. Logon to the computer with administrative privileges.
  2. Open the ‘Administrative Tools’ and open the ‘Local Security Policy’
  3. Expand ‘Local Policy’ and click on ‘User Rights Assignment’
  4. In the right pane, right-click ‘Log on as a service’ and select properties.
  5. Click on the ‘Add User or Group…’ button to add the new user.
  6. In the ‘Select Users or Groups’ dialogue, find the user you wish to enter and click ‘OK’
  7. Click ‘OK’ in the ‘Log on as a service Properties’ to save changes.

Then try again with the added user.ShareEditFollowedited Oct 28 ’20 at 18:47answered Aug 25 ’20 at 15:49Chanaka Karunarathne71711 gold badge88 silver badges13

Service Jenkins failed to start sufficient privileges windows 10

For this one you need to go to Services app to check two things on the Jenkins service. One if it has started and two if the user credentials are in the log on tab. When I had my issue, the service could not start due to dependencies, but the log on credentials were good. A simple reboot solved this issue for me.

More on this subject here: https://stackoverflow.com/questions/64308841/jenkins-failed-to-start-verify-that-you-have-sufficient-privileges-to-start-sy

Windows could not start the Jenkins service on local computer

I download Jenkins.war and placed it on my C: drive. That appeared not to work. I then tried a simple reboot and solved this issue for me.

More here: https://stackoverflow.com/questions/24077903/cannot-start-jenkins

Display hidden files Windows 10

Search “Folders” then advanced and select Show hidden files, folders, and drives.

More here: https://support.microsoft.com/en-us/windows/show-hidden-files-0320fe58-0117-fd59-6851-9b7f9840fdb2

Related Post

Comments