+ Post New Thread
Results 1 to 2 of 2
Windows Server 2000/2003 Thread, How to Map a Shared Drive based on the users OU?? in Technical; Hi All I hope someone can help me with this. I have my student users set out in an OU ...
  1. #1
    soveryapt's Avatar
    Join Date
    Jan 2009
    Thank Post
    Thanked 277 Times in 244 Posts
    Rep Power

    Question How to Map a Shared Drive based on the users OU??

    Hi All

    I hope someone can help me with this.

    I have my student users set out in an OU called Students and then in classes (P1, P2, etc) and what I want to do is run a script using the exiting Student user GPO settings that looks to see which OU they are in and map the shared drive for that particular class.

    So, for instance, say roger-rabbit logs on and he's in S3 the script will map \\server\shares\Senior\Senior3 but if jessica-rabbit logs on in P2 she will get a mapped drive of \\server\shares\Primary\Primary2

    I used to do it the long way round of having an GPO for each OU which mapped the drive out, but to be honest, I'm being lazy and seeing if there's a better option. If not then I'll resort to the old fashioned method, but hoping that someone might know of something that does the trick.

    It's something I overlooked in the server rebuild so when the ICT teacher came to teach a lesson based on stuff she'd dumped in the class folders and they weren't there ... oopsy ..

    Cheers all

  2. #2
    ngreenwood's Avatar
    Join Date
    Feb 2008
    Leeds, Yorkshire
    Thank Post
    Thanked 11 Times in 10 Posts
    Rep Power
    Group Policy Preference Extensions. Allows you to do that and lots more. If you are using 2k3 you will have to setup the GPO from a Win7 machine but thats the only limitation of it.

    Or you can make members of an OU automatically join a Security Group using AD and then use isMember in your script to map the drive.
    Last edited by ngreenwood; 29th April 2010 at 01:02 PM.

+ Post New Thread

Similar Threads

  1. Map https as a network drive?
    By bandgeekmafia78 in forum Windows
    Replies: 2
    Last Post: 20th November 2009, 04:43 PM
  2. Script to map drive by OU
    By cookie_monster in forum Scripts
    Replies: 1
    Last Post: 12th October 2009, 09:02 PM
  3. Kix Map Drive
    By Bongo in forum Scripts
    Replies: 4
    Last Post: 5th June 2008, 08:40 AM
  4. Running flash based content from shared drive over RM CC3?
    By dinsyboy in forum Network and Classroom Management
    Replies: 0
    Last Post: 13th October 2007, 06:03 PM
  5. Map FTP as Drive?
    By Samson in forum Scripts
    Replies: 1
    Last Post: 2nd July 2007, 08:34 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts