Skip to main content
Solved

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


Forum|alt.badge.img+6

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.

Best answer by ravi.pothana

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.

View original
Did this topic help answer your question?

5 replies

Forum|alt.badge.img+8
  • Automation Anywhere Team
  • 136 replies
  • Answer
  • August 22, 2023

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.


Forum|alt.badge.img+6
  • Author
  • Navigator | Tier 3
  • 30 replies
  • August 23, 2023

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.


Forum|alt.badge.img+8
  • Automation Anywhere Team
  • 136 replies
  • August 23, 2023

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


rbkadiyam
Flight Specialist | Tier 4
Forum|alt.badge.img+17
  • Flight Specialist | Tier 4
  • 587 replies
  • August 24, 2023

@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.


Forum|alt.badge.img+6
  • Author
  • Navigator | Tier 3
  • 30 replies
  • August 28, 2023

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings