Client Automation - Uninstall Agent on Windows machines using a script
search cancel

Client Automation - Uninstall Agent on Windows machines using a script

book

Article ID: 47670

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation

Issue/Introduction

This document provides a batch script for use with Windows endpoints, for performing a clean uninstall of the Client Automation (ITCM) agent.

Environment

This script has been tested with the following versions of the Client Auto/ITCM agent:
 
Client Automation 14.5
Client Automation 14.0 SP3
Client Automation 14.0 SP2
Client Automation 14.0 SP1
Client Automation 14.0

Resolution

**USE AT YOUR OWN RISK**
 
Although this script has been tested by CA Support, it's not possible to account for every possible scenario.  Avoid unexpected results by TESTING this script in your environment, and checking the results, before releasing to large numbers of endpoints.

Download the attached ZIP file.

Provide the "-clean" option to have the script remove the entire CA folder from Program Files (x86), and to have it remove the entire "ComputerAssociates" registry key.

Without the -clean option, only the ..\CA\DSM folder is removed, leaving any shared components that may be used by other CA products.  Also without the "-clean" option, the registry is trimmed of only items belonging to Client Automation, and the remainder of the "ComputerAssociates" key is left untouched.

The script relies on the ability to read the "HKEY_LOCAL_MACHINE\SOFTWARE\~Wow6432Node~\ComputerAssociates\Unicenter ITRM" key, in order to find the location of the DSM folder.  If this key is not found, the script will not make any changes.

Additional Information

This script may require updating for future releases of Client Automation (ITCM).

Attachments

1687554309822__ITCM-Uninstall.zip get_app