Solved

The bot needs to run with administrative privileges to make changes to a service.

  • 22 August 2023
  • 5 replies
  • 260 views

Badge +5

Hi,

I need to create a bot working with Windows Services, after testing some of them…, I am getting the following error message.

“The bot needs to run with administrative privileges to make changes to a service.”

the issue is that I can not find how to give the adm privileges to my bot runner.

Any help appreciated.

icon

Best answer by ravi.pothana 22 August 2023, 15:49

View original

5 replies

Userlevel 3
Badge +8

Hi @Jose Marin,

Ideally the bot agent needs to be installed by an user who have admin privileges, this will provide the bot agent the administrative privileges to make changes to a service.

Also ensure the bot agent service is running on “local system”

Article to refer:
https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/control-room/devices/cloud-add-local-device.html#:~:text=All%20users%20of%20the%20device%20can%20use%20this%20Bot%20Agent.%20However%2C%20users%20installing%20the%20Bot%20Agent%20must%20have%20administrator%20privileges.

Badge +5

Hi Ravi,

Thks for your reply.., I already had installed the bot agent with the permissions, but I cotinue with the issue…,

Any other idea you may have?

Thks.

José Marin.

Userlevel 3
Badge +8

Hi Jose,

Can you please upload the screenshot of the error message and the logs of the bot agent.

Log file locations:
https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/aae-client/bot-creator/working-with-automation-tasks/analyze-bot-agent-logs.html

Userlevel 5
Badge +14

@Jose Marin : your bot id should have full read and write access for the botagent installation directory, you do no not need complete admin access for whole VDI / runner machine.

Badge +5

Good morning,

Thks to all of you for your ideas/solutions…, Have tested the bot with an user with the permissions as admin and worked as expected, now we ae worwing in checking the pemissions to give the minimun required in order to have it running…

Again, Thks for pointing / giving me to the solution.

Reply