How to change agent name?

Document ID : KB000071774
Last Modified Date : 11/06/2018
Show Technical Document Details
Question:
What is the procedure for changing an agent name on Windows without doing and uninstall/reinstall
Answer:
Make the following changes in the agentparm,txt and machine definition
1) In the agentparm.txt file 

#
# Agent name
#
agentname=WA_AGENT      <======  Change agent name here


2) in the machine def

/* ----------------- NAME-f9119 ----------------- */

insert_machine: NAME-f9119
type: a
factor: 1.00
port: 7520
node_name: Name-f9119
agent_name: WA_AGENT    <====== Change agent name here 
encryption_type: DEFAULT
opsys: windows
character_code: ASCII

Note: if you change the directory name of the agent (example default of WA_AGENT), this will affect the startup scripts.