removing JNLP slave on Windows

2,580 views
Skip to first unread message

Logan L

unread,
Apr 13, 2011, 2:19:04 PM4/13/11
to Jenkins Users
After adding nodes on the slave computers (AKA my coworkers machines hahaha) now I am wondering how do I remove the "jenkins slave" service. I tried using the same method that I uninstall jenkins, but instead with the slave.exe. That didn't work.

> jenkins-slave.exe uninstall


Any ideas??

Marc Robinson

unread,
Apr 13, 2011, 2:22:52 PM4/13/11
to jenkins...@googlegroups.com

I use ‘sc delete <servicename>’

---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

Logan L

unread,
Apr 13, 2011, 4:00:20 PM4/13/11
to jenkins...@googlegroups.com
Thanks that worked.

A couple snaffus..
  • if you are using powershell you have to type sc.exe because "sc" is an alias for some other crap.
  • DON'T TYPE "SC DELETE JENKINS" if you have jenkins installed as a windows service.. lol it will remove the main jenkins and not the service.

Finding the name of the slave service.
  • open up services.msc
  • open properties of the jenkins slave
  • the name of the service will be at the top as "Service name"
  • Use this value when you type sc.exe delete

Logan L

unread,
Apr 13, 2011, 4:01:11 PM4/13/11
to jenkins...@googlegroups.com
Mine was called.
>  jenkinsslave-c__Jenkins

Aditya Sharma Ayyagari

unread,
Feb 4, 2020, 7:09:01 AM2/4/20
to Jenkins Users
Thanks Logan,
That Worked for me.
Reply all
Reply to author
Forward
0 new messages