Mapping a Hidden share with a different user ID

I'm using WinXP and would like to map to hidden shares on two different servers.  One is a Win2k server and the other is Win2003.  I need to use different credentials then what I am logged in as.  IE ( I'm logged in as user Bob, and I need to connect to the hidden shares as user Tom).  Is it possible to create an automatic mapping to a hidden share using different credentials then what I am logged in as?  By automatic I mean mapping that share to a drive letter, or I double click on an icon that auto sends the alternative credentials and opens the hidden share?
awimsattAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
DVation191Connect With a Mentor Commented:
from a batch file or command line...

net use x: \\server\share /USER:DOMAIN\<Username> <password> /PERSISTENET:YES
0
 
DVation191Commented:
open notepad,
type in...


net use x: \\server1\share /USER:DOMAIN\<Username1> <password1> /PERSISTENET:YES
net use x: \\server2\share /USER:DOMAIN\<Username2> <password2> /PERSISTENET:YES
net use x: \\server3\share /USER:DOMAIN\<Username3> <password3> /PERSISTENET:YES


go to file > save... save as "net_map.bat" (with quotes so it saves as a .bat file and not a .txt file)

now when you run the batch file all three drives will be mapped.
0
 
awimsattAuthor Commented:
THank-you.  Exactly what I needed.
0
 
etsolowCommented:
Or just Right-Click on My Computer, hit Map Network Drive and follow the prompts, being sure to select "Connect using a different username" for each drive mapping.

Eli
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.