Map network drive with OU name in path

 Hello,

In my situation, I have something like that in my domain. Every OU on first level is a customer. Customer are created with powershell script at any time. For the moment, I have 300 OU under customer.

Customer OU
  0001 OU
    0001.user
  0002 OU
    0002.user
  0003 OU
    0003.user
  ...
  0023 OU
    0023.user

Now, for every user from a OU, I need to map N:\ to \\FILER\OU\Folder, so for 0001.user N: will be \\FILER\0001\Folder.

I don't want to do one GPO by customer OU. It will be quickly out of control.  I want to bind the GPO to Customer OU only. Is there a way to do a GPO for mapping network drive and in the path use of network path use the OU name of the user ?

Thanks

May 26th, 2015 5:11pm

Hello Sebastien Girad,

Have you tried with Group Policy Preferences??

On GPP you can set various items on a single GPO applying with different criteria, also you can use %variables% in order to automatize the naming or paths that you need to personalize this policy to be in sync with your domain user account/profile or characteristics.

Configure a Mapped Drive Item
https://technet.microsoft.com/en-us/library/cc770902.aspx?f=255&MSPPError=-2147217396

Using Group Policy Preferences to Map Drives Based on Group Membership
http://blogs.technet.com/b/askds/archive/2009/01/07/using-group-policy-preferences-to-map-drives-based-on-group-membership.aspx

In order to see the %variables% available to this items you need to press the F3 button within the item settings.

I hope this information help you  reach your goal. :D

5ALU2!
Free Windows Admin Tool Kit Click here and download it now
May 26th, 2015 10:07pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics