Solved

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

Posted on 2010-09-21
9
1,577 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

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 shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

810 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