Removing and reinstalling agents as Windows™ services
If you installed an agent as a Windows™ service, you can remove and reinstall the service.
Before you begin
Procedure
- Open a command prompt as an administrator.
- Go to the C:\agent_install\bin\service folder, where agent_install is the installed agent location.
-
Remove the service by running the following command:
Use the name of the service for_agent.cmd remove service_name
service_name
. To find the service name, open the services view and find the entry that starts withHCL Launch Agent
. The service name is in parentheses in this entry. -
Reinstall the service by running the following command:
_agent.cmd install service_name
Note: While re-installing an agent, the latest PATH variable values are used.