Unable To Access Network Or Share Drive After Upgrade From 20.10 In Unattended Mode

After upgrading the UiPath Robot version from 20.10.x to any version above 21.10, process failed with Unauthorized Access error to a NAS folder.

Root Cause: Change in product as per the documentation - Robot Background Process Automation .

2n.jpg


Resolution: If a process needs to run in Unattended and background mode, there are 2 options:

  1. Give rights on the NAS, for the machine and not user, if possible
  2. In order to use credentials specified in Orchestrator, the following parameter, the UIPATH_HEADLESS_WITH_USER needs to be added in the system environment variable on the robot machine and set the value to True.