?
Solved

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

Posted on 2010-09-21
9
Medium Priority
?
1,593 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
  • 5
7 Comments
 
LVL 36

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
Technology Partners: 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

This process allows computer passwords to be managed and secured without using LAPS. This is an improvement on an existing process, enhanced to store password encrypted, instead of clear-text files within SQL
A bad practice commonly found during an account life cycle is to set its password to an initial, insecure password. The Password Reset Tool was developed to make the password reset process easier and more secure.
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.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

840 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