Default timeout to wait for creating windows user session is 30 seconds. On some machines this time is insufficient.
The feedback received in Orchestrator is: “Executor start process failed, reason System.Runtime.InteropServices.COMException (0x80070520): A specified logon session does not exist. It may already have been terminated…"
An environment variable is added to configure waiting timeout.
Description: The UIPATH_SESSION_TIMEOUT environment variable should be defined on Windows system variable and represent the seconds to wait for a user session. If is not defined, default timeout (30 seconds) will be used. After set the UIPATH_SESSION_TIMEOUT environment variable, an restart of UiRobot service must be performed.
In windows open Run and execute: SystemPropertiesAdvanced
Click on Environment Variables
- In the System variables section add new variable
- Restart the UiRobot SVC
Note: This workaround is available for the latest versions (v17.1.6435.21855 and 2016.2.6437.26235)