title: runas /savecred... don't accept cmdkey /add (credentials)
body: <p>I have a problem with <strong>runas /savecred ...</strong> and <strong>cmdkey /add....</strong><br>
  I have a batch file contains this line:  </p>
  
  <pre><code>runas /profile /savecred /user:MyDomain\MyUserName "MyProgram.exe"  
  </code></pre>
  
  <p>I'm logging to my computer as Administrator and I want to execute MyProgram.exe with another user: MyUserName.<br>
  When I launch my batch file the firt time, it prompts for password for MyUserName, I type the password and it works nice !!!<br>
  For second time, it don't ask for password because <strong>/savecred</strong> has saved MyUserName and password in Windows Credential. cool !!<br>
  The information in Credential Manager</p>
  
  <pre><code>Internet or network adress: MyDomain\MyUserName (Interactive logon)  
  User name: MyDomain\MyUserName  
  Password: ............
  Persistence: Logon Session  
  </code></pre>
  
  <p>Now, I would like to avoid to type the password asked for the first time. For this I have used cmdkey.exe to add credential myself without /savecred by this line  </p>
  
  <pre><code>cmdkey /add:domain:interactive=MyDomain\MyUserName /user:MyDomain\MyUserName /pass:***********  
  </code></pre>
  
  <p>and i have removed /savecred from line <strong>runas</strong><br>
  The information in Credential Manager </p>
  
  <pre><code>Internet or network adress: MyDomain\MyUserName  
  User name: MyDomain\MyUserName  
  Password: ............
  Persistence: Logon Session  
  </code></pre>
  
  <p>Look there is no <strong>(Interactive logon)</strong> in the first line. The poblem is when I launch the batch file, it prompt always to type password, it seems like the runas disacard the informaion saved by cmdkey !  </p>
  
  <p>So What I have missed?  Or what other things that /savecred save in the Windows Credentials?</p>