?
Solved

14 Dec 10 06 - Active Directory Home drive not getting mapped in Windows 7

Posted on 2010-09-21
9
Medium Priority
?
1,585 Views
Last Modified: 2012-05-10
I'm starting to get new machines with Windows 7 Pro.  All users have their home drive set in their AD profile to map H:\ to \\server\users\username.  Then the login script maps other drive letters.  

For my first user with Windows 7, it is not mapping the home drive.  The drives mapped from the login script work fine.  

I've search other threads and tried other things.  If I change the home directory on his profile to use Z: instead of H:, it works fine.  But there are no other drives mapped as H:.

The only thing I can think of is that, when I login as admin (while setting up the machine), my login script maps H: to \\server\users.  Could that somehow be messing up his login when it tries to map H: to \\server\users\username?  But there is still no drive mapped as H: under his login.

Any ideas would be helpful.  Thanks.

~bruno71
0
Comment
Question by:bruno71
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
9 Comments
 
LVL 35

Expert Comment

by:Seth Simmons
ID: 33727748
What is the error when the drive mapping fails?  You can use 'pause' as the last line in your login script for the window to stay open and see the output.
0
 

Author Comment

by:bruno71
ID: 33728045
It's not the login script that fails...it's the AD profile 'Home' directory.  There is no error when he logs in.  His H:\ drive just doesn't show up.

~bruno71
0
 
LVL 2

Expert Comment

by:zeb2100
ID: 33735466
If you log in as a local user, is there an H: drive in my computer?  I had the same issue with a few of my domain users, because the local computer was already taking up the drive letter that I designated for the home directory.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:bruno71
ID: 33736916
There is no H:\ drive when logged in as the local machine user.  The only H:\ that shows up is when I log in as the domain admin - my login script maps an H:\ drive.  The normal user gets his H:\ drive from the AD user profile home directory.

~bruno71
0
 

Author Comment

by:bruno71
ID: 34163927
Any more ideas on this?  I'm getting more PCs with Windows 7 and other users are having the same issue.

~bruno71
0
 

Accepted Solution

by:
bruno71 earned 0 total points
ID: 34334028
I believe I found the problem.  As stated before, the user has a Home Drive defined in Active Directory as well as a login script which maps various other drives.  Here is the issue...the login script also deletes any mapped drives before it creates the new ones (I've had trouble with users getting mapped drives that they shouldn't from the previously logged in user).  

It seems like, in XP, the login script would run deleting any mapped drives and then creating the correct ones for the user, and then the AD Home Directory would be created.

However, in Windows 7, it seems like the Home Directory is created first, then the login script runs deleting the Home Directory and creating the other mapped drives.

I haven't extensivly tested this, but removing the line "net use h: /delete /yes" from the login script seemed to fix it for me.  This question can be closed.

~bruno71
0
 

Author Closing Comment

by:bruno71
ID: 34383950
This worked for me...maybe it will work for others.
0

Featured Post

Does Powershell have you tied up in knots?

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

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
Suggested Courses
Course of the Month12 days, 21 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question