Triofox Support is frequently asked if it is possible for the Triofox Windows Client to support multiple cloud drives to emulate the "mapped drives" that end users are accustomed to seeing in a typical Windows client-server environment. The Triofox Windows Client does not support multiple cloud drives. However, the desired state can be achieved using a startup script that calls the Windows Subst.exe command.
First, enable the 'Personal Home Drive' in the Triofox Admin Dashboard. You can choose a location for example c:\temp on the Triofox server to store the personal home drive content.
Suppose an existing Windows server named FS01 has three CIFS shares that are mapped like this:
- NET USE R: \\FS01\HR
- NET USE S: \\FS01\Sales
- NET USE T: \\FS01\Support
In this example, Triofox is deployed such that there is a Folder that corresponds to each CIFS share on FS01:
- HR --> \\FS01\HR
- Sales --> \\FS01\Sales
- Support --> \\FS01\Support
When the Windows client is connected the Folders are subdirectories of the cloud drive (M: by default):
- M:\HR (Team Folder)
- M:\Sales (Team Folder)
- M:\Support (Team Folder)
To create the same R:, S:, and T: drives on the Triofox client, create a text file named StartUpCS.cmd like this:
SUBST R: "M:\HR (Team Folder)"
SUBST S: "M:\Sales (Team Folder)"
SUBST T: "M:\Support (Team Folder)"
Then in Triofox Cluster Admin Dashboard, upload StartUpCS.cmd in Control Panel > Client Settings > Client Startup Script.
In order to remove the substituted drives when the Windows client shuts down, create another text file named ShutDownCS.cmd like this:
SUBST R: /D
SUBST S: /D
SUBST T: /D
Then in Triofox Cluster Admin Dashboard, upload ShutDownCS.cmd in Control Panel > Client Settings > Client Shutdown Script.