Jenkins-As Window Agent The easiest way to set up Jenkins node (slave) as a service is to use  https://nssm.cc/ Direct Download Link : https://nssm.cc/release/nssm-2.24.zip Offline Download : - nssm-2.24.zip Unzip the nssm into  C:\  drive Run command  cd  C:\Windows\System32\cmd.exe  nssm.exe install "NameOfAgent" In the pop-up, you can give a path to  startagent.bat  available in Jenkins You can also configure user you want to use for running jenkins jobs.