Monday, October 24, 2011

How to store credentials for automated logon in Windows Credential Manager via command line

Beginning with Windows Vista/Server 2008 you can add credentials to Credential Manager on the command line using Cmdkey.exe

Cmdkey /add:Servername /user:User /pass:Password