Batch File

95 pts.
Tags:
Batch files
Password management
Hello, Please I need some help here. In one of the branches of where I work, they need to access a particular drive everyday, but it prompts for a password which we at the head office need to put in by ourselves because its an administrator password and cant be known by the others at the branch office. So they have to call us everyday so we can put in the password for them. I now need a batch file that will automatically enter the password when they open the drive instead of them calling us over here and also they wont know the password. Thanks Jennifer
ASKED: June 24, 2008  1:42 PM
UPDATED: June 24, 2008  10:38 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

<b>net use</b> lets you specify a password. I believe the format would be something like
<pre>net use X: \\shared\drive /user:domain\user drivepassword</pre>

You can get more info with “net use /h”

Or setup a Windows Domain (if you don’t already have one) and grant the users accounts rights to the network share so that they use their domain account to access the share instead of the Administrator account.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following