Hi,
the credialstore offers the ability to store credientials to access some resources without entering the password every time when the resource is used.
This example stores the credentials for a network share.
Share: \\myServer.myDomain.org\myShare$
User: myUser
Domain: myDomain
Password: VerySecred
Store Login
1 2 3 4 5 6 7 8 | D:\> cmdkey /add :myServer.myDomain.org /user :myDomain\myUser /pass D:\> cmdkey /list Currently stored credentials: Target: Domain:target=myServer.myDomain.org Type: Domain Password User: myDomain\myUser |
Connect to the network drive. Its important to omit the net use /user switch otherwise net use asks for the password. The Server string must exactly match as entered by cmdkey.
1 2 | D:\> dir \\myServer.myDomain.org\myShare$ D:\> net use R: \\myServer.myDomain.org\myShare$ |
Explorer can also use the credentials. Do not specify any connect as parameters.
Michael