How do I map network share drive by membership

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.
ITBoyAsked:
Who is Participating?
 
dark_shadowsConnect With a Mentor Commented:
Cant say that I have.. here is another route i can think of.. http://www.computerperformance.co.uk/Logon/logon_script_assign.htm  (basically assigning login script via using gpo rather than ad users)..
0
 
dark_shadowsCommented:
is it possible to make different login scripts for different departments or Groups?    If so you can modify each of their login scripts to something like this:

you can also use something like this in your scrips:

net use M:  "\\servername\d$\data\GroupA"
or
net use M:  "\\servername\d$\data\GroupB"
0
 
ITBoyAuthor Commented:
No, they don't want too many scripts to manage. How's about a GPO with nested group? Have you done it before, Dark Shadows? Thanks for reply.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.