Manually netplwiz.exe or win+R=>control userpasswords2 We have Windows 7 devices on one domain, and some users need regular access to files on another, independant domain. We can add credentials manually using control userpasswords2>Advanced>Manage Passwords>Add a windows credential" however we are looking for a way to script it so we can add the credentials to the user's "vault" to allow logon scripts to automatically connect to the servers on the other domain. Using Script/bat file cmdkey /add: HOSTNAME /user: username /pass: password