When running Processes, we will sometimes need to grant them Administrator rights (for example, in order to perform Services actions, or to access the window of a 3rd party app).
In order to do so, we will have to make the following two (2) apps always run as admin:
WinAutomation: WinAutomation.Console.exe and WinAutomation.UserAgent.exe
ProcessRobot: ProcessRobot.ProcessStudio.exe and ProcessRobot.UserAgent.exe
Follow the steps below:
- Go to the installation folder of WinAutomation - the default location is C:\Program Files\WinAutomation OR C:\Program Files\ProcessRobot\Clients and locate the above files.
- Right-click on each one and select "Properties". Afterward, under the "Compatibility" tab, we should make sure that the "Run this program as Administrator" option is selected.
- Close all WinAutomation/ProcessRobot windows, and exit WinAutomation/ProcessRobot Sidebot from the system tray (icon at the bottom right of the screen).
From now on, every time the software starts, the Processes it executes will have Administrator rights.
Note that now that UserAgent.exe is running as admin, it will not start automatically at system startup (the Robot icon at the bottom right of the screen will not be there). However, it will start after you launch it manually.
Since making this change might require admin verification every time WinAutomation runs, you may wish to turn off Windows User Account Control (UAC) to bypass this - however, this is entirely optional and depends on your preferred security settings.