Jenkins Windows Slave Configuration with Screenshots

Topic General, Tools

In our last articles, we have discussed how to Install and Configure Jenkins and how to Configure Jenkins Master-Slave setup on Linux machine

I have received few requests/suggestions through my last article  Jenkins Master-Slave setup on Linux machine to share the approach on Configuring Jenkins Slave on Windows Machine

So here I am with our new article on How to Configure a Jenkins Slave on Windows Machine and Install it as a windows Service


1- Login to Jenkins and Click on Manage Jenkins


2- To create a new Slave – Click on New Node



3- Name the node



4- Fill all the required details.

Please refer our master-slave configuration article to know all the details of parameters present in the node configuration page



5- Choose the appropriate Launch method



Below mentioned steps to configure and enable security are very important steps.

If you miss this you might not be able to start/configure the Jenkins slave because by default Jenkins disabled the TCP Port for JNLP agents and due to this Agent is not able to reach Master.


6 – Again click on Manage Jenkins


7- Then click on Configure Global Security



8- Find out the Enable Security option


9-  And then change the


10- Once the new node is created, it will be in Offline mode


11- Now click on the Slave agent


12- You will see Agent is not able to reach the master Jenkins and the new jnlp jar can be downloaded from Jenkins



13- Open the Jenkins URL from Agent Windows Machine and navigate to Slave Configuration page

Once done, just click on Launch Button – You will see a new popup which confirms the Jenkins Master-Slave Connection.


Lets now create and install this as a Windows service which will avoid the hassle to go to url and perform the same operation every time.

Once you create the service it will always be up & running and then you can manage it through Windows Services

14- Don’t close the pop-up, instead just click on File Menu – If its not visible just maximise the popup window


15- Now, just click on Install as a service option



16- It will prompt you for the confirmation


17- Just click on OK


18- Go to Windows Settings and then to check the Windows Services


19- You can see the Jenkins Windows Slave is successfully configure and running (If not then just Start the Service)



20- Go back to your Jenkins Slave Page and now you will see that Agent is Successfully Running and ready to build your project


Thats it. You have successfully configured the Jenkins Slave on Windows Machine and Installed it as a Windows Service.

0 comments… add one

Leave a Comment