Avatar of ACS2012
ACS2012
 asked on

Assign GPO depend on the Group Membership in windows 2008 R2 environment

Dear All,

I’m looking for a way to configure the GPO to do the following:
Assign a “Map Network Drive” for users, but what I’m looking for is to assign the Map depend on the group membership, for example:

Jon ... Member of Sales group … will have “sales” Map Network Drive when he is login.
Ram … member of ACC group … will have “ACC” Map Network Drive when he is login.

So the group policy will check the membership then assign the map.
Do I can implement that within the GPO (references GPO)?
I have only Windows 2008 R2 SP1 domain controllers in my environment.

Please help

Thanks
Windows Server 2008Active Directory

Avatar of undefined
Last Comment
Tony Massa

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Mike Kline

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
remmett70

Use .vbs script for logon script.

strDrive = "Z:"
strPath = "\\server\share"

Set objUser = CreateObject("ADSystemInfo")
Set CurrentUser = GetObject("LDAP://" & objUser.UserName)
strGroup = LCase(Join(CurrentUser.MemberOf))

Const AdGroup = "cn=Group Name"

If inStr(strGroup, lcase(AdGroup)) then
  objNetwork.MapNetworkDrive strDrive, strPath

Open in new window

Neil Russell

YAK!! Forget VB Scripts.

Go with group policy preferences and Item Level Targeting.
SOLUTION
Tony Massa

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ACS2012

ASKER
thanks all.

what if my OS clients are full updated, do i have to install the Client Side Extensions for GPP?
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.