I recently encountered a scenario where it was necessary to store credentials in Dell Wyse Windows 8 Embedded thin clients.
The thin client user account didn’t allow access to the credential manager with a lot of work to remove the device lockdown.
It was desired to pre-stage the credential for the user account of a terminal server that couldn’t be accessed from the setup location.
Cmdkey does the job. Here’s the syntax:
Cmdkey /add:TERMSRV/%SERVERNAME% /user:%domain.local%\%username% /pass:%password%
Additionally, cmdkey /list will show you everything currently stored.