Installing Jenkins as a service on Windows


The latest version of the Jenkins can be downloaded from the below.

The LTS version receives updates every 12 weeks while the Weekly version receives an update every week, which might be an overkill to maintain. So download the Long Term Support (LTS) version.


Select the download for the environment you are going to install Jenkins on.

Since we want to install it as a service on a Windows machine, then download the Windows version.


On Jenkins download page, under ‘Download Jenkins for: ‘, select Windows. A zip file is downloaded, extract it to get the Jenkins Windows Installer.



Double click on the installer to start the Jenkins installation.And click on Next to continue the installation.


Select the location to install the Jenkins and click on Next.


Click on Install to start the installation process.





Once the installation is complete, click on ‘Finish’ to complete the Jenkins installation and launch Jenkins and the browser on the system will be launched with the below page.



Wait for few minutes till Jenkins completes the initial configuration needed on the first start up.

You need to provide Jenkins one time admin password to continue further setup and start using the Jenkins. The initial password will be available in the Jenkins\secrets\initialAdminPassword file inside the installation folder. The initial password file path is also provided on the same page.


The Jenkins installation folder looks similar to the below screen.


Open the initialAdminPassword file in notepad to view the one time admin password.


Enter the password from initialAdminPassword file into the below screen and click on Continue.

In Customize Jenkins page, you can either select to install the commonly used plugins by selecting ‘Install suggested plugins’ or if you want to select the plugins you want to install click on ‘Select plugins to install’.


Jenkins starts downloading the selected plugins and configuring them to your Jenkins installation.


Once the plugins are configured, the first admin user for Jenkins needs to be created. Provide Username, Password, Full Name, E-mail address and click on ‘Save and Continue’ to create the user.



The Jenkins url can be changed in the below screen. Let us leave it to localhost for now. We can change it at any time from the Jenkins configurations later. So just click on ‘Save and Finish’.


The Jenkins installation and configuration is completed. Click on ‘Start using Jenkins’ to view the Jenkins home page.


You are logged into the Jenkins using the first admin account you created during the configuration process and the Jenkins default home view is displayed.



Jenkins is installed as a service. To restart Jenkins, type ‘Windows + R’ –> services.msc, which will display the below screen. Search for Jenkins service and you can click on Stop/Restart/Start links in the left side to stop, restart or start the service.




In Control Panel, find Jenkins and click on ‘Uninstall’.





In this blog, we have installed Jenkins as a service on a Windows machine, did the initial configurations and the Jenkins installation is ready for use.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s