Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mapped Drives Auto Changing??

Status
Not open for further replies.

ksumner

MIS
Jul 15, 2004
69
US
I have a few users who, on occasion, have their "home" folder/drive automatically re-mapped to the root of the home folder (ie. instead of \\server\home\%username%, they are mapped to \\server\home). The first example is how it is entered in their profile properties. What causes their mappings to go out of whack?

k.SUMNER
 
Hmm, unless you have a script doing it that is a mystery. However I would point out that the settings you are using are legacy settings designed for integration with Windows NT. If you are not in an integrated environment, then I would remove those settings and script the mappings.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
 
I have scripts for mapping other drives, but not the home directory. I still find it odd that it is only happening to a few users.

k.SUMNER
 
It is very strange but I am having the exact problem at my office. We have very many users, around 3000, and we thought that it may be disk contention causing the problem. What is really strange is that it is random. One time the user logs on and it maps correctly and the next time it may or may not map correctly. Let's continue to research this...
 
As I posted earlier, you are using a legacy setting. I would simply suggest scripting the drive mapping and removing the property from AD.

FYI, you can clear that property via script as well so it is not necessary to manually modify the users.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
 
Anyone have a sample of a script to disconnect the home (legacy) drive for each user and re-map it for each user?

k.SUMNER
 
My login script FAQ should help you out. faq329-5798



Here is a sample for clearing the properties from AD
Code:
Const ADS_PROPERTY_CLEAR = 1 

Set objUser = GetObject _
   ("LDAP://cn=myerken,ou=management,dc=fabrikam,dc=com")
   
objUser.PutEx ADS_PROPERTY_CLEAR, "homeDirectory", 0
objUser.PutEx ADS_PROPERTY_CLEAR, "homeDrive", 0

objUser.SetInfo

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top