How to perform ITPAM Agent Silent Uninstallation ?
search cancel

How to perform ITPAM Agent Silent Uninstallation ?

book

Article ID: 231276

calendar_today

Updated On:

Products

CA Process Automation Base

Issue/Introduction

We have ITPAM Agent on around 500+ servers and want to uninstall the Agent from all the servers.

So, looking for silent uninstallation option.

Environment

CA Process Automation 4.3.x

All Supported Windows Operating Systems

Cause

There is no silent uninstallation support in any of the ITPAM components (including agents)

Resolution

Perform below workaround steps using any scripting language to achieve the agent uninstallation process:

1.  Stop the ITPAM agent windows service

2.  Delete the agent installation folders 

3. Run the following command to delete the windows service entry:

sc delete <service name>

The above steps completes the agent uninstallation

Now, the Agent entries need to be deleted from "Configuration" tab in ITPAM UI (by logging in as Administrator). Please refer to this link for the detailed steps on how to delete Agent from the Configuration tab

Notes:

  • The above workaround steps is applicable only for Windows Agents.
  • This is only a workaround suggestion. It is highly recommended that this needs to be tested on one agent initially before using the solution for all existing agents at a production level.