Solved

How do I map network share drive by membership

Posted on 2011-03-04
3
341 Views
Last Modified: 2012-05-11
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.
0
Comment
Question by:ITBoy
  • 2
3 Comments
 
LVL 1

Expert Comment

by:dark_shadows
Comment Utility
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
 

Author Comment

by:ITBoy
Comment Utility
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
 
LVL 1

Accepted Solution

by:
dark_shadows earned 500 total points
Comment Utility
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

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

I have been working as System Administrators since 2003. I recently started working as a FreeLancer and was amazed to find out that very few people are taking full advantage of their Windows Server Machines. Microsoft Windows Server comes with so…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now