Switch Bot Agent to a different Control Room

Switch the Bot Agent on a registered device to work with a different Control Room manually when you work on automations using different environments.

Prerequisites

Ensure that you have the start, stop, and pause permissions to access and edit the Windows services.

Perform this task to manually associate your device with a different Control Room in the following scenarios:
  • When the Control Room is on a different release version.
  • When the setting to switch devices is not enabled in the Control Room.

Procedure

  1. Stop the Bot Agent service from the local Windows Task Manager.
  2. Navigate to the following folder: C:\Windows\System32\config\systemprofile\AppData\Local\AutomationAnywhere
  3. Optional: Delete the registration.properties file.
    Note: This is only required if you want to register the device in a different Control Room environment. To view the Control Room where the device is registered, open the Registration.properties file and check the value for the Control Room URL.
  4. Delete all .db files.
    For example, AA-DB.mv.db file.
  5. Log in to the Control Room.
  6. Navigate to Manage > Devices.
  7. Click the Connect local device icon.
  8. Download and install the latest Bot Agent.
  9. Return to the Devices page in the Control Room from the updated device to check the device status.
    The registration.properties file is not generated immediately after the Bot Agent installation. It is generated only when a user accesses a Control Room URL from that device. If the device registration is successful, the machine is shown as Connected and the registration.properties file is created at the specified location on the Bot Runner machine.
  10. Navigate to the C:\Windows\System32\config\systemprofile\AppData\Local\AutomationAnywhere folder to ensure that the registration.properties file is present and verify the Bot Agent update.