Open timja opened 12 years ago
To change the service name, open Registry Editor and modify
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
You will need to reboot the machine afterwards.
Hello. This is just a FYI.
I saw the same situation and I could change DisplayName without rebooting.
We can change srvice configuration with "sc" command.
For example, to change DisplayName to "Jenkins Slave 1", please run:
c:\> sc config
JNLP slave, when installed as a service, is created as "Jenkins Slave" service.
Trying to add a second slave on same host fail with WMI.WmiException:UnknownFailure
(thanks to WMI API not to let us know this is just a f... name conflict)
renaming the first installed service as "Jenkins Slave 1", rebooting
second JNLP slave now can be installed successfully.
Originally reported by ndeloof, imported from: Can't install more than one JNLP windows slave