I need to be able to host several RDP sessions on a Terminal Server, where users of group A see a drive X: mapped to a given folder of the server and another group B see the same drive letter X: mapped to another folder. For instance :
User 1, Group A X: --> C:\data\A
User 2, Group A X: --> C:\data\A
User 3, Group B X: --> C:\data\B
User 4, Group C X: --> C:\data\C
Is this possible. If so, how do I configure the virtual drive mapping so that the user has nothing special to do; i.e. I want the letter X: to be available to Remote Apps launched by the user, or if the user logs in to the remote desktop.
Can I somehow use subst to get this to work? I would like to avoid, if possible, mounting drive letters on local shares (i.e. I don't like the idea of having to go through \\localhost\data-A to reach the user's data).
substis isolated to different users, so it should work as you wished. If you don't have ADS or if there are too many groups, you may want to write a more complicated batch file that uses thenetcommand to find out the group the user belongs to and thensubstaccordingly. – billc.cn Nov 25 '11 at 12:23