Skip to main content
Ground Control | Tier 1
November 23, 2021
Question

Good morning, could you help me with the following message: Automation Anywhere Bot Agent service install configuration fail to register and return error (5)

  • November 23, 2021
  • 3 replies
  • 404 views
Good morning, could you help me with the following message: Automation Anywhere Bot Agent service install configuration fail to register and return error (5)

    3 replies

    Pradeep Kintali
    Most Valuable Pathfinder
    Most Valuable Pathfinder
    November 23, 2021

    @Juan Carlos Travezaño Leonardo​ - Refer below document and step by step process .

     

    https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/control-room/devices/cloud-add-local-device.html

     

    If this helps you please do Like & mark as "Best Answer" so it will be helpful for others as well. 

     

    Best Regards,

    Pradeep.

    Pradeep Kintali
    Most Valuable Pathfinder
    Most Valuable Pathfinder
    November 23, 2021

    @Juan Carlos Travezaño Leonardo​ - additionally refer this KA and follow the steps

     

    https://apeople.automationanywhere.com/s/article/Device-registration-fails-with-error-message-An-unexpected-problem-occurred/p>

     

    If this helps you please do Like & mark as "Best Answer" so it will be helpful for others as well. 

     

    Best Regards,

    Pradeep.

    Most Valuable Pathfinder
    November 24, 2021

    Hi @Juan Carlos Travezaño Leonardo​ ,

     

    PFB details,

     

    CauseThis error is encountered when the "Automation Anywhere Bot Agent" is continuing to run after the Bot Agent application is uninstalled from the system. 

     

    The Automation Anywhere Bot Agent is not visible under the "Control Panel\All Control Panel Items\Programs and Features" but the service continues to run.

    Resolution/WorkaroundTo resolve this issue, remove the Automation Anywhere Bot Agent service before reinstalling the application.

    Please follow the below steps.

    1. Delete the Automation Anywhere Bot Agent service.
      1. Open CMD with Run as administrator.
      2. Type the below command and click Enter

    sc delete "Automation Anywhere Bot Agent"

    1. If the service continues to be seen (as Disabled) under Services.msc, remove the registry entries for the service.

    Caution: Do not edit the registry directly unless you have no alternative. The registry editors bypass the standard safeguards provided by administrative tools. These safeguards prevent you from entering conflicting settings or settings that are likely to degrade performance or damage your system. It is advisable to perform the below steps under the supervision of a system administrator.

    1. Go to Windows > Run and type regedit.exe  and click Enter.
    2. Go to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Automation Anywhere Bot Agent
    3. Right click on the Automation Anywhere Bot Agent entry and Delete.
    4. Verify that the "Automation Anywhere Bot Agent" service is removed from the Service.msc window.

    If the Automation Anywhere Bot Agent service is present even after deleting the key, restart the machine. This will help delete the service from the service.msc window.

     

    Chand