CmdKey.exe can be used to save passwords for MSTSC.exe
Posted by jpluimers on 2013/08/16
You can use CmdKey.exe to save a username/password combination to be used by MSTSC.exe
CmdKey allows you both to store and delete these credentials.
–jeroen
via: c# – Run mstsc.exe with specified username and password – Stack Overflow.
gabr42 said
Wow! Thanks!
jpluimers said
Yeah, the pain of manually typing all those credentials again and again were so frustrating (:
Fred Ahrens said
Brilliant. I was about starting a research for achieving this. Thank you.
jpluimers said
It was a big relief myself finding about this solution (: