Solved

How to create batch file that reconnects a network drive with username and pasword?

Posted on 2003-10-24
13
757 Views
Last Modified: 2010-04-11
How can I create a batch file that reconnects a network drive with username and pasword so the user just click in a shortcut?

I'm using XP Pro with Citrix Metaframe remote access software which does not save my settings after log off.
0
Comment
Question by:jeffbon
  • 5
  • 4
  • 2
  • +1
13 Comments
 
LVL 31

Expert Comment

by:qwaletee
ID: 9614357
NET USE DriveLetter: \\ComputerNmeOrIP\ShareName /USER:UserName PasswordValue

E.g.,

net use d: \\MYDELLSERVER\MYDOCUMENTS /USER:QWALETEE superD00per
0
 
LVL 31

Accepted Solution

by:
qwaletee earned 250 total points
ID: 9614370
Alternative: If the resource is located on a computer/domain with an account and password thatmatches your Citrix Windows login username and password, then Windows (on Citrix) will most likely present the credentials automatically, and since they match, no prompt appears.
0
 
LVL 35

Expert Comment

by:ShineOn
ID: 9615265
Yah, but the problem with doing this is you have your password in clear text in a bat file.  My security admin personality cringes at the thought... ;)
0
Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

 
LVL 31

Expert Comment

by:qwaletee
ID: 9621394
What on earth?!  SineOn did NOT give any sort of answer, just an "FYI!"
0
 
LVL 35

Expert Comment

by:ShineOn
ID: 9621735
That's true.  And my comment was regarding using a batch file shortcut.  Not being a Citrix Expert, it may be that the alternative qwaletee presented would be secure, or reasonably so.  

Can you please either reassign points or explain how I got a grade A answer on this?
0
 

Author Comment

by:jeffbon
ID: 9622278
How do you reassign points?
0
 
LVL 35

Expert Comment

by:ShineOn
ID: 9623234
Post a request in the general Community Support topic area.  A moderator will help you out.
0
 
LVL 3

Expert Comment

by:NoodlesWIU
ID: 9637477
I know I dont like having plain text for passwords also, I cringe along with you.  All depends on who has access to your computer, and how big a threat is possible.  I know at my work place simply hiding files, or placing them in a folder named anything that wouldnt make you think its their could work.
0
 
LVL 35

Expert Comment

by:ShineOn
ID: 9637680
.... until you get that ONE user that knows enough to be dangerous, and might get P.O.'d at the company for some reason.

The biggest threat is from within.  That's what all of the conventional wisdom points to.

Even then, you get someone that plants a backdoor and looks around for a net use command, and you're toast.
0
 

Author Comment

by:jeffbon
ID: 9637961
I requested reassignment of points.

Sorry guys...
0
 
LVL 31

Expert Comment

by:qwaletee
ID: 9637991
Well, that's why I sugegsted using "matching" login id/password for the client PC and teh share.  That way, depending on WIndows version and configuration, it may not need any password prompt.
0
 
LVL 35

Expert Comment

by:ShineOn
ID: 9638161
Reassignment of points supported on the "losing" end - qwaletee gave the closest answer for you.
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Macbook Sierra OS OpenVPN issue 13 110
VPN Connection WIndows 10 5 61
decoding the error message TEI_ASSIGNED 8 38
assignment of laptops - risks 6 48
Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
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…

856 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