Uninstalling agents

To uninstall the agent, stop it, remove its service and registry keys, and delete its files.

Before you begin

You must be an administrator to uninstall an agent.

Procedure

  1. Stop the agent. You can stop the agent from the command line or from the server. To stop the agent from the command line, use the following commands:
    • On Windows, run this command:
      agent.cmd stop
    • On Linux or UNIX, run this command:
      ./agent stop
    • On z/OS®, cancel the started task for the agent. For example, if the name of the started task is BUZAGNT, run this command:
      C BUZAGNT
      If the name of the started task is 8 characters long, specify the address space ID in the cancel command. Cancel the started task and the two spawned tasks. For example, if the name of the started task is UCZAGENT and the address space IDs are 22, 46, and 86, run these commands:
      C UCZAGENT,A=22
      C UCZAGENT,A=46
      C UCZAGENT,A=86
  2. If the agent is running as a service on Windows, remove the service and registry keys with the following command:
    agent.cmd remove
  3. Delete the agent installation directory.

Feedback