Solved

Mapping a Hidden share with a different user ID

Posted on 2004-09-29
4
601 Views
Last Modified: 2010-04-10
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?
0
Comment
Question by:awimsatt
  • 2
4 Comments
 
LVL 20

Accepted Solution

by:
DVation191 earned 500 total points
ID: 12181351
from a batch file or command line...

net use x: \\server\share /USER:DOMAIN\<Username> <password> /PERSISTENET:YES
0
 
LVL 20

Expert Comment

by:DVation191
ID: 12181397
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
 

Author Comment

by:awimsatt
ID: 12181417
THank-you.  Exactly what I needed.
0
 
LVL 2

Expert Comment

by:etsolow
ID: 12181422
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

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

The DSL Parameters part of this article is valid and can be considered with any brand of internet router and modem (Dlink, 3com, Alcatel, Usrobotics, Parks), by accessing the configuration interface available by the manufacturer eg: http://10.1.1.1 …
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now