Solved

Mapping a Hidden share with a different user ID

Posted on 2004-09-29
4
607 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VPN problems 4 62
Setting up a trunk port on a Cisco switch? 20 57
HP 2530 switch and routing 4 55
Force a website to use the second network card 3 36
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
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…

685 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