CA Client Automation

Expand all | Collapse all

With Winoffline, I Know it could be used to remove CA agent apps from a PC (cleanup Tool). Can it be sent as a package to a pc and ran silently (for the Agent removals?)

  • 1.  With Winoffline, I Know it could be used to remove CA agent apps from a PC (cleanup Tool). Can it be sent as a package to a pc and ran silently (for the Agent removals?)

    Posted Feb 22, 2018 09:02 AM

    With Win offline, I Know it could be used to remove CA agent apps from a PC (cleanup Tool). Can it be sent as a package to a pc and ran silently (for the Agent removals?)



  • 2.  Re: With Winoffline, I Know it could be used to remove CA agent apps from a PC (cleanup Tool). Can it be sent as a package to a pc and ran silently (for the Agent removals?)
    Best Answer

    Posted Feb 22, 2018 10:17 AM

    Hi Ron,

     

    Yes, you can deliver WinOffline via Software Delivery, with the switch to uninstall/remove the ITCM agent.

     

    How it works:

     

    - The software delivery agent runs WinOffline.exe, which recognizes the removal switches (either -uninstallitcm or -removeitcm, see below for the difference).

     

    - WinOffline copies itself to %windir%\temp\WinOffline.exe and starts a detached/second process running independently from %windir%\temp\WinOffline.exe

     

    - WinOffline.exe running under sd_jexec.exe completes, allowing the SD agent to gracefully stop and report the job has completed successfully back to the DM.

     

    - Meanwhile %windir%\temp\WinOffline.exe conducts the removal, and when finished, removes itself from the system.

     

    Difference between the switches:

     

    -uninstallitcm
    Perform normal uninstallation of ITCM. Choose this option if other CA products are installed.

     

    -removeitcm
    Perform full removal of ITCM. Choose this option if ITCM is the only CA product installed. Will attempt removal of entire CA folder and ComputerAssociates registry key.

     

    What does the removal tool do?

    - Disables ITCM-related services.

    - Kills known ITCM binaries and related processes, if running.

    - Uninstalls the RC driver (if installed on the system).

    - Runs msiexec /X for all known ITCM product codes, and removes them from the registry, whether they complete successfully or not.

    - Reforms a sweep for ITCM-related registry keys and removes them, in case anything got left behind.  These could be entries related to the ITCM services, uninstall info for MSI or Installshield, the mirror driver, or the smart card driver.

    - If using -removeitcm, deletes the entire ComputerAssociaites registry key.

    - Cleans a list of log files that typically get left behind in %windir%\temp or root of the %systemdrive%.

    - Removes temporary files that may be orphaned from the basic agent.

    - Removes any OSIM created folders on the root of the drive.

    - If using -removeitcm, deletes the CA folder.

    - Removes ITCM-related environment variables.

    - Cleans CA related items from the PATH variable, only if their PATH is invalid.  Non-CA paths are not touched.

    - WinOffline removes itself, along with its temporary files.

     

    Hope that clarifies.

     

    -Brian