How to include the CA Client Automation Agent in an OS image

Document ID : KB000096553
Last Modified Date : 30/11/2018
Show Technical Document Details
How to include the CA Client Automation Agent in an OS Image?
All versions of CA Client Automation
IMPORTANT: This article contains information about modifying the registry.
Before you modify the registry, make sure to create a backup of the registry and ensure that you
understand how to restore the registry if a problem may occur.
For more information about how to backup, restore and edit the registry,
please view the relevant Microsoft Knowledge Base articles on

Following are the steps to include the CA Client Automation Agent in a Ghost Image:

- Before running Sysprep and creating a ghost image, install the CA Client Automation Agent on the Machine

- Run the following commands:

  a) caf stop 
  b) ccnfcmda -cmd DeleteParameter -ps itrm/rc/host/managed -pn convertedhostuid 
  c) ccnfcmda -cmd DeleteParameter -ps itrm/cfencrypt -pn LOCALID 
  d) ccnfcmda -cmd DeleteParamSection -ps itrm/rc/security/providers/common/users
** Important:
CAF should not be started as it will create a new HostUUID which will be included in the registry.

Note:  Some of these commands may fail with parameter doesn't exist errors.
           This is expected and would not cause any issues.

- Delete the HostUUID registry key:
  On a 32-bit OS: HKEY_LOCAL_MACHINE\SOFTWARE\ComputerAssociates\HostUUID 
  On a 64-bit OS: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ComputerAssociates\HostUUID

- For Remote Control Agent run: rcUtilCmd CreateDefaultUsers

Once the above steps are performed, you can Sysprep the machine and create a ghost image.
Please note that CA Strongly recommends using the Deployment Wizard to deploy the Agents on the target machines.
Though these steps would help in integrating the agents as part of the Ghost Image,
CA does not guarantee proper functionality of the agent as designed.