Cannot use mapped network drives with administrator privileges on Attended Robot

:white_question_mark: Question

Cannot use mapped network drive with administrator privileges on Attended robots. The situation of process execution on the Attended robot causing the error is as follows:
When “Run as administrator” is set to “ON” in UiPath Assistant settings: Files on the mapped network drive cannot be accessed and the process terminates abnormally.

  • In other Attended robots where “Run as administrator” is set to “ON”, the process completes without issues.

:light_bulb: Answer

This issue occurs because administrator and standard privileges have different permissions, and the privileges are not carried over. Please implement the following workaround:

(1) Open [Registry Editor] and locate the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
(2) Right-click on [Configuration], select [New], and then select [DWORD (32-bit) Value].
(3) Name the new registry entry as EnableLinkedConnections.
(4) Double-click the EnableLinkedConnections registry entry.
(5) In the [Edit DWORD Value] dialog box, enter 1 in the [Value data] field and select [OK].
(6) Exit the Registry Editor and restart your computer.

Reference URL:
When UAC is configured to prompt for credentials, mapped drives are not accessible from an elevated prompt.

Note: When modifying values in the Registry Editor, please backup the registry in advance by following the steps below.
Reference URL:
How to back up the registry in Windows
How to back up and restore the registry in Windows | Microsoft Support