How do I map network share drive by membership
Posted on 2011-03-04
I have a simple logon script (net use M:\\servername\financing) to map network share drive for Financing Dept and I set permissions at folders level. Group A can access Group A folder only, Group B can only access Group B folder only, and so on.. but all groups can see the other groups folders. Group A can see there are group B folder, group C folder, etc but Group A cannot access other group folders - "Access Denied".
My bosses (yes, plural) don't like that idea. They want standard drive letter M for all departments but they want each group will map only to the group data folder. In brief, Group A mapping to M drive and only see Group A folder listed - nothing else. Like M:\\servername\GroupA. Howver, the idea is that the share is at the root level (Financing), all subfolders are not shared out (Group A, Group B, Group C) to eliminate to many shares to manage.
How do I do that in a bat file? Please no script which I have no knowledge about it. Thanks.