Assign a home folder to a user

Hi Experts,

We have specified a logon script in the user's profile as well as the home folder. I believe we can also create the user's home folder via the logon script.

What happens when the home folder that I scripted in the logon script is different from what I specify in AUDC-> Profile -> Home folder? Does that mean two home folders will be created?

If I have different home folders in my GPO that will be applied to the user, does it mean all these folders will be created and assigned to the user as well?

Finally is there such a term as the default/ primary user home folder?

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mcsweenSr. Network AdministratorCommented:
I'm not sure how you are assigning a home folder with your login script but the preferred way to set it is in the user's profile in ADUC.

ADUC profile maps a drive, creates the folder if it doesn't exist, grants the user full control, and sets the environment variables %HOMEDRIVE% and %HOMEPATH%.

Assuming your script does all the same stuff you would end up with 2 mapped drives (unless they both use the same letter) and environment variables set to which ever one ran last.  I'm not sure how you assign your scripts, if with a GPO it would depend on what order your GPOs are set to process on which order each would run, if setting it in ADUC I'm not sure which would run first; im guessing the script would probably run last but that is just a hunch.
DecarnAuthor Commented:
Hi mcsween,

I read up and there are several ways to assign the user's home directory.

1) ADUC-> Profile -> Home folder
2) ADUC -> Profile -> User profile -> Logon Script
3) GPO

Does anyone knows what will happen if all the three methods above point to a different home directory, e.g. a different server or drive?


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DecarnAuthor Commented:
Self Help.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.