Bulk install Bot Agent on devices — authenticated proxy

If you are using an authenticated proxy for communication between Bot Agent and Control Room, the proxy-server credentials are not automatically saved when you create a machine image to bulk install (or silent install) the Bot Agent on permanent or temporary devices.

Procedure

  1. Install the latest Bot Agent on the VM instance which will be used to create the machine image (AA_INSTALL_ONLY MSI parameter set to True). See Bulk installing Bot Agent.

    After the Bot Agent is installed, a autoregistration.properties file will be generated at C:\Windows\System32\config\systemprofile\AppData\Local\AutomationAnywhere\autoregister.

    If only the AA_INSTALL_ONLY MSI parameter is set to True, the autoregistration.properties file is not generated.

  2. Move the autoregistration.properties file to a different location.
  3. Start the Automation Anywhere Bot Agent windows service.
    Note: The default path where the Bot Agent is installed is C:\Program Files\Automation Anywhere\Bot Agent.
  4. Open a command prompt as an administrator.
  5. Enter the C:\Program Files\Automation Anywhere\Bot Agent\AADiagnosticUtility.exe -configProxy <CR_URL> command to configure the proxy server credentials. See Perform Bot Agent diagnostic checks.
  6. Enter the username and password.
  7. Enter the C:\Program Files\Automation Anywhere\Bot Agent\AADiagnosticUtility.exe -checkProxy <CR_URL> command to check the proxy server connection to the Bot Agent. See Perform Bot Agent diagnostic checks.
  8. Stop the Automation Anywhere Bot Agent windows service.
  9. Move the autoregistration.properties file from the earlier saved location to C:\Windows\System32\config\systemprofile\AppData\Local\AutomationAnywhere\autoregister.
    Note: Ensure that only two files (AA-DB and autoregister/autoregistration.properties) are present at C:\Windows\System32\config\systemprofile\AppData\Local\AutomationAnywhere.
  10. Create a VM image.

    Use the VM image for deploying the Bot Agent on persistent and temporary devices using an authenticated proxy for communication between Bot Agent and Control Room.