All mapped network drives in Windows are connected only for the current user's session. By default, Resilio Connect Agent runs as either a Local System or Local Service user. As a result, Agent is unable to see any network drives that are normally seen by your user. This is Windows OS limitation which can be bypassed by explicit mapping of a drive for a Local System user.
Make your network drive available for Resilio Agent
Please follow the instruction below to make your network drive available for Resilio Agent:
Ensure that the agent runs as a Local System account
- Open Services, find "Resilio Connect Agent Service"
- Right-click and pick "Properties" -> "Log on"
- Check that either "Local System account" radio button is chosen or "This account" contains "NT AUTHORITY\System" or "Local System" or any other localized username that indicates that the user name is Local System. Note that the Local System account always has an empty password.
Open command line with elevated privileges (Run as Administrator)
Download Sysinternals set of tools and unpack to some directory, navigate your Admin command line to the same directory
In Admin command line, run command
psexec -i -s cmd.exe. This will open a new command prompt, running from the System account name. Verify that by running the
whoami command. The output should be
net use <drive_letter>: \\<yourservername>\<foldername> <password> /user:<username> /persistent:yes command for each drive you need to get mapped, replacing drive letter, network path, username and path accordingly
The mapped drive is going to be visible to all users in your system, though will always show up as "Disconnected" in Explorer.
Disconnect network drive
To disconnect network drive, you'll need to repeat step #2..4 and run the following command in System user command prompt:
net use <drive_letter>: /delete