On each remote machine where the bot is installed the SAP GUI needs to be configured.
On the desktop/remote desktop launch the program SAP GUI Configuration. Note that this is a separate program and is not run through the SAP logon pad.
Some organisations have deleted the short cut to the program, so the application name is sapsettingshow and is usually under the file path \Program Files (x86)\SAP\FrontEnd\SAPgui
Three parts of the SAP GUI setup need to be changed.
1. Visual Design
To enable the bot to take screenshot correctly, open the ‘Visual Design’ folder and select ‘Applications’, then press the add button.
Navigate to the Bot folder and select the AutExternalAgent.exe application. The application will be added to the SAP GUI
To allow the bot to operate correctly scripting needs to be enabled open the ‘Accessibility and Scripting’ folder and select ‘Scripting’ as below, ensure scripting is enabled and the other checkboxes are unchecked.
To prevent unexpected popups open the ‘Security’ folder and select ‘Security Settings’ as below and press ‘Open Security Settings’.
Ensure the ‘Default Action’ is set to ‘Allow’ as below: