A similar question was asked for Macs: How to uninstall Jenkins?
How do I do the same on Windows (specifically if I used the Jenkins Windows Installer to install Jen
To uninstall jenkins and its slave services
1.Simply go to the directory where jenkins is installed.
2.Then open up a cmd in that directory. (cmd in administrator mode is preferable)
3.jenkins.exe uninstall (this name could be different in case of slave jenkins services like jenkins-slave.exe or something similar, the application is present in the folder)
For Jenkins as services do the same thing except go to its working directory.
In the end you can safely delete the directories.
If you want a clean reinstall, you will need to delete some more, in addition to uninstalling and deleting the Jenkins home folder. Otherwise, they will remain their forever and will show up after reinstalling. To completely remove everything for Jenkins from Windows (I am giving this information from Windows 10, 64 bit):
Open Windows Control Panel and click Programs and Features
Right-click Jenkins x.xxx.x
(where x.xxx.x,
is the Jenkins version), and select Uninstall
.
Follow the directions.
When done, delete the following folders: (note: DO NOT remove the jenkins.jenkins
or jenkinswar
folders if you want to keep the projects and plugins.)
C:\Program Files\Jenkins
or C:\Program Files (x86)\Jenkins
C:\Windows\System32\config\systemprofile\AppData\Local\Jenkins.jenkins
C:\Windows\System32\config\systemprofile\AppData\Local\Jenkinswar
Restart the computer.