Link to home
Start Free TrialLog in
Avatar of Decarn
Decarn

asked on

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?

Thanks.
Avatar of Bradley Fox
Bradley Fox
Flag of United States of America image

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.
ASKER CERTIFIED SOLUTION
Avatar of Decarn
Decarn

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Decarn
Decarn

ASKER

Self Help.