Subscribe

UiPath Robot

The UiPath Robot Guide

Using Mapped Network Drives

To make your work easier with shared network folders, you can map network drives for quick access on your user account. However, if the processes you publish from Studio are located on that drive, the situation described below occurs.

Observed Behavior

Packages published from Studio are not visible in the Robot tray.

Cause

The issue occurs when you use a mapped network drive for your packages. The location of the packages you publish to Orchestrator can be seen in the UiPath.settings file on the Robot machine, under the NuGetServerUrl parameter. The mapped network drive is available to the user that created it, while the Robot Service runs system-wide.

Solution

One of the following methods can be used to solve this issue:

Converting the Robot From Service Mode to User Mode

  1. Open an elevated Command Prompt instance.
  2. Use the Net Stop UiRobotSvc command. This stops the Robot Windows Service.
  3. Use the cd %ProgramFiles(x86)%\UiPath\Studio command to navigate to the UiPath installation folder.
  4. Use the UiPath.Service.Host.exe uninstall command to remove the UiPath Robot Service. Your Robot now runs in User Mode.

Mapping a Network Drive for the Local System

  1. Download the Sysinternals Suite. It contains the PsExec.exe tool, which is required for this operation.
  2. Open an elevated Command Prompt instance.
  3. Use the cd command to navigate to the location where you downloaded the Sysinternals Suite (such as cd C:\Downloads\SysinternalsSuite).
  4. Use the PsExec -i -s cmd.exe command. A confirmation dialog appears.
  5. Click the Accept button to install the PsExec.exe service. This makes it possible to map a network drive for the Local System.
  6. Use the net use z: \\ServerName\SharedFolder /persistent:yes command to map the drive, where ServerName is your server and SharedFolder is the location of the drive you want to map.

If you want to remove the mapped network drive, you need to repeat the steps above, but using the net use z: /delete command instead. You can find out more on this page.

Updated 2 years ago


Using Mapped Network Drives


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.