Avatar of PDGPA
 asked on

GPO Mapped Drive

We currently run logon scripts on each PC to map the users 'home' drive. The way the drives are set up is that during user creation a user's home directory is  put in \\server##\users\username where ## can be one of several servers. The way the organization was set up we do not have users in OUs which specify/are consistent about which server ## the users home folder is on.

What is the best way to map Home folders with active directory/AD. The user creation ends up specifying a location and the login script maps it. We would like to remove the logon script and have the drives mapped by GPO only - but we would like to do this without manually going through all of our 1000+ users and finding which server # their folder is on.

Thanks for any help!
Active DirectoryWindows Server 2008Microsoft Server OS

Avatar of undefined
Last Comment
Morgan Machin

8/22/2022 - Mon
Morgan Machin

If you want specific users to access specific servers, you'll have to do the dirty work of telling the GPO which server to go to for which AD group.

Go to User Configuration > Policies > Windows Settings > Folder Redirection > Documents then select the "Basic" option...  Then in "Target folder location" select "Redirect to the following location" and then type \\servername\sharename\%username%\my documents in the "Root Path."


To configured the users home drive easily... just select all the user objects in Active Directory Users and Computers and then right click properties...  click on the Profile tab and configure the users Home Folder to \\servername\sharename\%username%\my documents.

So right now the script checks for the existence of their home folder on the 2 servers and maps the one it is on. We set the path for the home folder when we create the AD user in the 'home directory' field.

Is there a way to have a GPO look at their home folder field (under profile) and map whatever location is listed there?

Any thoughts?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Morgan Machin

Is there a way to have a GPO look at their home folder field (under profile) and map whatever location is listed there?

Not that I'm aware of.  You are supposed to use either/or.  Either the Home Folder field in AD OR a GPO, not both combined.

So do drives specified in the Home Folder filed automatically get mapped? (unable to test at this moment)
Morgan Machin

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
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