CrushMFT Documentation

Windows shares by UNC path#

On Windows, a folder of another machine is named by its UNC path: \\servername\share\folder\. A CrushMFT server on Windows can use such a path as a local folder, through Windows itself.

Why not a drive letter#

A mapped drive, such as Z:, belongs to the person who is logged in to Windows. A program that runs as a service does not have it: the service runs under another account, in another session. A VFS item that points at Z: works while you test with the server started by hand, and stops when the server runs as a service.

The UNC path does not depend on who is logged in. Use it.

Setting it up#

  1. Give the service an account that may use the share. Open the Windows services, find the CrushMFT service, and open its properties. On the Log On tab, set it to log on as a domain account that has the rights on the share you need. Restart the service.
  2. Point the item at the path. In the VFS editor, type or paste the UNC path into the path field of the left side, Server's Files, such as \\fileserver01\projects\. The share's folders are listed.
  3. Drag the folder to User's Stuff.

The item is stored as an address with forward slashes, FILE:////fileserver01/projects/. The server reaches it as the service's account; the permissions of the item decide what the user may do there.

UNC path or SMB item?#

The server can also speak SMB itself: see SMB shares.

UNC path SMB item
works on a server on Windows a server on any system
who logs in to the share the account of the service, for all users the account named in the item, which can differ per item, or be the user's own
set up in Windows the item
speed Windows' own file sharing the server's own SMB client

On Windows, with one account for everything, the UNC path is the least work. For a login per item or per user, or on Linux and macOS, use an SMB item.

When it does not work#

What you see Look at
the path lists nothing in Server's Files the account of the service: log on to the machine as that account and open the path in Explorer
it worked until the service was restarted the service is back on the Local System account
it works by address \\10.0.1.20\share\ and not by name name resolution on the server machine
uploads fail, listings work the account has only read rights on the share, or on the folder below it: both sets of rights count