Solved

Mapping a Hidden share with a different user ID

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

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.
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

863 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

20 Experts available now in Live!

Get 1:1 Help Now