Mapping Home Directory

I'm currently setting up profiles, login scripts, etc in our active directory w2k enviroment.  I've noticed that if the home directory mapping is specified it will not work if a login script is also defined to use.  Is this by design?  If I remove the login script setting the Home directory is mapped correctly?  Is the home directory someing that I should specify in the login script?  The reason I don't is different users can have home directories on different servers depending on where they are located and I use one universal login script.
georgedschneiderAsked:
Who is Participating?
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.

aboredmanCommented:
What do you mean by Home directory? Profile, documents, desktop?
0
tigermattCommented:

The login script should not be making any reference to the drive letter which you map the Home Directory to. If you have written the logon script so there is no reference, to say the N: drive (if you use that for Home Directories), then both can be used interchangeably.

You can use home directories as in the setting in AD Users and Computers > User properties > Profile tab, and I suggest you do, since it allows you to manage where a user's data is stored, whereas the logon script is there for mapping universal shares located in a single place for all users, such as a Shared Documents Area or Transfer Area.

-tigermatt
0

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
georgedschneiderAuthor Commented:
The login script makes no reference to the H drive which is what I used to map for the home directory.  However if I have a login script specified in the users profile tab the mapping for the Home directory will not work when the user logs on.  If the login script is not specified the mapping works.
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

georgedschneiderAuthor Commented:
I tested this again.  If i remove the login script setting on the profile tab in ADUC the home directory maps correctly to the H drive.  If I add the login script backin the home directory is not mapped at all.
0
tigermattCommented:

I see. I was thinking you were talking about Logon Scripts as in the Scripts you map with GPO, rather than the ones you edit on the Profile tab. Specifying a logon script on that tab does essentially override the Home Directory specification; I would suggest you assign the Logon Script through GPO and be done with it.

-tigermatt
0
georgedschneiderAuthor Commented:
The problem I found out was my login scrip has code in it to unmap any exisitng drives.  So since the map home directory setting is in ADUC I asume this mapping occurrs before the login script runs and when the login script runs this mapping is removed.  By altering my script this problem has been resolved.
0
tigermattCommented:

Sorry to object, but that was what I was referring to in my first post - "The login script should not be making any reference to the drive letter which you map the Home Directory to. If you have written the logon script so there is no reference, to say the N: drive (if you use that for Home Directories), then both can be used interchangeably.". To which you replied, "The login script makes no reference to the H drive which is what I used to map for the home directory.".

I feel I deserve the points here.
0
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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.