Friday, October 12, 2012

Adding credentials to the Windows credential store from the command line

Service users often do not have permission to start GUI applications, so the following tool can be used to store credentials that can be used to access a server, for example to copy a backup onto a remote file share.

cmdkey.exe

The syntax to add credentials to the store is:

cmdkey /add:targetname /user:username /pass

0 comments:

Post a Comment