Could not start executor. Could not find a part of the path: 'C:\Windows\TEMP\UiPath\CredProvider'.

Could not start executor. Could not find a part of the path: 'C:\Windows\TEMP\UiPath\CredProvider'.

Issue Description:

In UiPath Robots <=23.4.9, <=23.10.8, and <=24.10.4, while trying to execute unattended automation, some jobs failed with this error:

Could not start executor. Could not find a part of the path: 'C:\Windows\TEMP\UiPath\CredProvider'.

System.Exception: Could not start executor. Could not find a part of the path: 'C:\Windows\TEMP\UiPath\CredProvider'.

Cause:

A bug was introduced in the robot executor in >=23.4.x version.

The Robot stored Credential Provider logs under a temp folder, risking being cleaned up and possibly interrupting execution. Now, these logs are securely stored in the %programdata% directory, minimizing external impact.

Resolution:

Upgrade the impacted robot version to one of these patches that includes the fix:

23.4.11 by using this installer https://download.uipath.com/versions/23.4.11/UiPathStudio.msi

23.10.10 by using this installer https://download.uipath.com/versions/23.10.10/UiPathStudio.msi

24.10.7 by using this installer https://download.uipath.com/versions/24.10.7/UiPathStudio.msi

References:

https://docs.uipath.com/robot/standalone/2023.4/user-guide/release-notes-2023-4-10

https://docs.uipath.com/robot/standalone/2023.10/user-guide/release-notes-2023-10-9

https://docs.uipath.com/robot/standalone/2024.10/release-notes/2024-10-5