Link to home
Start Free TrialLog in
Avatar of jarceo
jarceo

asked on

Remembering login Password for a path

Here is what I want to do, you know that when you go into windows and go to start run and type in network path for example   \\computername\share and if the share requires authentication well you type in the username and password it opens the share, then if you close the share and go to run and run it again it wont ask you for the username and password because it remebered, what i would like to know if there is a way to have windows remember the username and password for that path because there is some software that uses this network path but I dont want to give the username and password away.

Thank you.
Avatar of sqwasi
sqwasi

Jarceo,

I am assuming that you are using windows 2000 or XP.  What if you were to give share and file permissions to the user or users that are trying to connect to this share?  You could specify those users specifically in the share permissions and also in the file security permissions.  That would allow the users to connect without having to enter any password or username at all.  This would work very easy in a domain environment and still would work in a peer-to-peer environment, but might require a little more configuration.  You can find the permissions by right-clicking on the folder that you are sharing and go to properties.  Then under the sharing tab there is a permissions button.  Click on that and then you can add the users that you want to give share permissions to.  In order for them to view the files as well they will have to have permissions to the files as well.  That you change in the same location, but you click the security tab instead of the sharing tab.  I hope this will help some.
Avatar of jarceo

ASKER

Here the problem with that, sqwasi they dont want to give the users permission to that folder,dont know why but they just dont they have a special username and password for this directory that will only let you in with the "special username and password" So what I wanted to do is program it or configure windows so when this path is requested it just does the authentication by itself with the username and password provided.
What about mapping it as a Mapped Drive?  You can assign a different user and password to that.

Right Click "My Computer">Map a Network Drive (there is an option to Login as a different user and to have it reconnect at logon).  Then have the application use that drive.

The other option would be to create a batch file that connects the user using Net Use and then Launches the program.  However and astute user would then be able to edit the batch file and could see the password (unless you set advanced NTFS permissions to just Traverse and Execute on the Batch File itself).  Place a short cut to it on the User's Desktop.
Avatar of jarceo

ASKER

Well that what I currently have I have a batch file using Net use and I just have it map a drive with the same path the program uses and I am able to get to that resource without having to type in a username and password, but I dont know if there going to like it that way. They just want to run this batch file and have windows not prompt for a username and password for that path.
ASKER CERTIFIED SOLUTION
Avatar of sr75
sr75
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jarceo

ASKER

I have tried that but they dont want the batch file to map a drive they want windows to remember what the username and password for that path  without mapping a drive. Thats What I did but they dont want it to do that because they say they could just map a drive by themselves. Now does anybody know where windows stores passwords. For example if I go to \\server\share then I get a prompt for a login I type it in and I am able to see the information when i close the window and I go to the same server and share it wont ask me for a login because windows remembered does anyone know where windows stored that login information.  Thank you for your help