Link to home
Start Free TrialLog in
Avatar of georgedschneider
georgedschneiderFlag for United States of America

asked on

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.
Avatar of aboredman
aboredman

What do you mean by Home directory? Profile, documents, desktop?
ASKER CERTIFIED SOLUTION
Avatar of tigermatt
tigermatt
Flag of United Kingdom of Great Britain and Northern Ireland image

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 georgedschneider

ASKER

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

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

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.