Run a bot in elevated mode
- Updated: 2023/09/27
Run a bot in elevated mode
You can run a bot in elevated mode to enable non-administrative users to run an automation on applications that require administrative privileges.
- If the user has administrative credentials, then enable the Run with administrative privileges option in the Run bot now wizard.
- If the user does not have administrative credentials, then run the A360Elevater.exe application in an elevated or administrator mode.
- Right-click the A360Elevater.exe application and select Run as administrator.
- Create a shortcut of the A360Elevator.exe and add it to the Start up program. See Add an app to run automatically at startup in Windows 10.
- Run the application through a job scheduler (such as Windows Task Scheduler) to enable the Control Room users to run bots in elevated mode.
Elevated mode example
A user without administrator privileges runs a bot without elevated mode
In this example, a Control Room user runs a bot and this user does not have administrator credentials on the device. However, this bot accesses a Notepad application that requires administrator credentials. The following video shows the message that is displayed when the bot run fails:
A user without administrator privileges runs a bot in elevated mode
C:\Program Files\Automation Anywhere\Bot Agent
The following video shows how the same Control Room user can now run the bot that accesses the Notepad application which requires administrator credentials and complete the execution.
Verifying the A360Elevator.exe
- To verify if the A360Elevator.exe is running, open the Task Manager as an administrator and review the Details tab.
- Search for one of the following lines in the success
log:
- Trying to launch elevated process using A360Elevator.exe in session '2'.
- Successfully launched process in elevated mode.
- Search for one of the following lines in the error log:
- Trying to launch elevated process using A360Elevator.exe in session '2'.
- Launching process using elevated process token has error {}.
- Not able to launch process as elevated.