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

Mapping Drives

Status
Not open for further replies.

furious5

MIS
Jan 8, 2003
103
GB
I was wondering if anyone could help me.

I'm currently trying to tidy up our server and am creating groups and writing a fairly comprehensive login script.

The problem I have encountered relates creating an F: drive for each individual user.

I have a share named Users and sub directories within this for each user, when the user logs in I want them to see there own directory and nobody elses.

At the moment if I try to map a drive to the users directory, it just maps to the root directory i.e users and they can see all directories.

Does anyone have any idea why this is occuring.

Thanks in advance.
 
An obvious question - but did you put a $ after the drive designation to hide it from other users?
 
what OS are your clients running? IF 2K, then you should be using this syntax:

net use * \\server\share\username
 
If you get this working can you please post the login script? I'm new to login scripts but I want to do something similar.
 
RickyT:

I haven't put $ after the letter as yet, because I cannot get it to map to the correct folder, when I have done this I will add the $

brontosarus:

I am running Win2K with mixed clients Win9x, Win2K, XP therefore I am using kixtart for my login script, so am using the following syntax:

USE F: "\\SERVER1\USERS\%username%"
 
OK. Well, Win9X clients will not map past the USERS portion of the UNC. For them, you'll need to create their home directories as actual shares. Aside from that, 2 questions:

1) Is that just a typo, or did you forget NET at the beginning of that line?

2) There isn't actually any quotation marks in your script, is there?
 
Ok that is what I figured, although I was sure there was a way around it.

1 & 2 - I'm using kixtart ( which uses slightly different syntax than you would write for a normal batch file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top