Good morning, could you help me with the following message: Automation Anywhere Bot Agent service install configuration fail to register and return error (5)
![Collaborator Gold Badge](https://uploads-us-west-2.insided.com/automationanywhere-en/attachment/982deae3-0e64-47f2-9ee9-79efeafd9f34_thumb.png)
@Juan Carlos Travezaño Leonardo - Refer below document and step by step process .
If this helps you please do Like & mark as "Best Answer" so it will be helpful for others as well.
Best Regards,
Pradeep.
![Collaborator Gold Badge](https://uploads-us-west-2.insided.com/automationanywhere-en/attachment/982deae3-0e64-47f2-9ee9-79efeafd9f34_thumb.png)
@Juan Carlos Travezaño Leonardo - additionally refer this KA and follow the steps
If this helps you please do Like & mark as "Best Answer" so it will be helpful for others as well.
Best Regards,
Pradeep.
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.
- Delete the Automation Anywhere Bot Agent service.
- Open CMD with Run as administrator.
- Type the below command and click Enter
sc delete "Automation Anywhere Bot Agent"
- 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.
- Go to Windows > Run and type regedit.exe and click Enter.
- Go to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Automation Anywhere Bot Agent
- Right click on the Automation Anywhere Bot Agent entry and Delete.
- 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.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.