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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Home drive mapping problem

Status
Not open for further replies.

iwebster

IS-IT--Management
Sep 21, 2002
7
GB

I have set up a users share on our new Win2k3 server and setup the home drive setting in the users properties dialog in AD as follows:

H: maps to \\server1\users\%username%

This automatically sets up a home directory and sets the correct permissions. However when an XP user logs on the H: drive only maps to the share name \\server1\users

I knew this was an issue with W9x but not XP.

Has anyone come across this issue

Thanks
 
Have you created a share for each specific user, I thought it just creates the user folder rather than the user share as well?
 
Here is a method to map with a vbscript

' VBScript.
' Purpose of script to map a network drive to J:Dim objNet, strUserName

Set objNet = CreateObject("Wscript.Network")

strUserName =objNet.UserName

objNet.MapNetworkDrive "J:", "\\AtoZserver\home\" & strUserName

For pure NET / DOS commands, I once got mapping to the %username% part to work using the SUBST command, but I much prefer VBScripts.

Tip do be very careful with the syntax, a \ here or " there will cause it to fail.

See more here
 
We had the same issue. I got round it by giving each user full or change permssion to only their own folder, so they can't even see the top level of other user's folders.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top