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.
About this task
Procedure
-
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 install Bot Agent on Windows.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. - Move the autoregistration.properties file to a different location.
-
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.
- Open a command prompt as an administrator.
- 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.
- Enter the username and password.
- 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.
- Stop the Automation Anywhere Bot Agent windows service.
-
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.
-
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.