Solved

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

Posted on 2010-09-21
9
1,578 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
9 Comments
 
LVL 34

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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This article runs through the process of deploying a single EXE application selectively to a group of user.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

809 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