Quantcast
Channel: Group Policy forum
Viewing all articles
Browse latest Browse all 19997

Use parent OU name or primary group in GPO

$
0
0

Hello !

I have organized my students accounts by class like this :

ou=MyUsers,ou=Students,ou=2DE1

ou=MyUsers,ou=Students,ou=2DE2

ou=MyUsers,ou=Students,ou=2DE3

ou=MyUsers,ou=Students,ou=TS1

ou=MyUsers,ou=Students,ou=TS2

.....

The Students and 2DE* organizational units each contain a group of same name. The primary group of each user is his class (2DE1 or 2DE2 or .... )

I would like to redirect the standard folders to a location that depend on the OU the user belong to. Or the user's primary group that have the same name :

->if the user is in the 2DE1 class, I would like to redirect to \\myDC\profiles\2DE1\

->if the user is in the 2DE2 class, I would like to redirect to \\myDC\profiles\2DE2\

......

How can I do this without creating a GPO for each class ? It is possible to use the parent OU name or the primary group name in a GPO ?

Thanks ! And excuse me for my English !

Baptiste.


Viewing all articles
Browse latest Browse all 19997

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>