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

Network Drive mapping question

Status
Not open for further replies.

bcrichnc

IS-IT--Management
Apr 29, 2004
10
US
Hello,

I have a Windows NT 4.0 server and I am trying to write a logon script to map a drive on the server. I used the following line, which I thought was correct:

net use Z: \\Srv1\users\%username%

This seems to work fine except the fact that it doesn't map down to the username level. It just takes the user upon logon to the users folder...the user then has to find their folder within the users folder and then they can access it. They do not have access to anyones folder other than their own. I am stuck and don't know what I'm doing wrong...any help out there?
 
bcrichnc, you can't map directly to the subdirectory level (only to the share level)using the mapping. Trying setting the logon script to map to the share \\Srv1\users and setting the complete path in the user's profile settings.
 
It should be:

net use Z: \\Srv1\%username% or

net use Z: \\Srv1\sharename
 
Alright, I'll give that a try this morning. I already have in my profile path for the users to map the drive to Z: and the path \\Srv1\users\username (not the variable user name, but the actual user name). I don't seem to be having a problem with the XP clients, but the 95/98 clients are the ones giving me grief. I'll try to change my logon script today to what you'll recommended. Thanks for the help everyone!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top