Solved

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

Posted on 2010-09-21
9
1,574 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Backup Your Microsoft Windows Server®

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

 

Author Comment

by:bruno71
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
This worked for me...maybe it will work for others.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

One of the features I've come to appreciate about Windows 7 and Windows Server 2008 R2 is the ability to pin applications to the task bar. As useful a feature as I've found this, it does have some quirks.  For example, have you ever tried pinning an…
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
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 …
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.

762 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now