Avatar of bbimis
bbimis

asked on 

how do you add to the windows credential manager using the command prompt

is there a way to add to the windows credential manager via the command prompt
I'm not referring to cmdkey but the actual windows credential manager apparently they are not the same thing.
When I use cmdkey /generic:TERMSRV/server /user:username /pass:password
it works fine it I run mstsc /v:server  
but if I run it from the desktop by clicking on a shortcut it prompts me for the password; however, if I put the credentials in windows credential manager I do not get the prompt

so, is there a a command to add a username and password to windows credential manager ?
I don't want any user interaction I want to run it through a bat script or psexec or something.
Thanks!
Windows BatchMicrosoft DOSWindows OSDesktops

Avatar of undefined
Last Comment
bbimis

8/22/2022 - Mon