RDP Saved Password

From KlavoWiki
Revision as of 03:33, 17 June 2024 by David (Sọ̀rọ̀ | contribs) (Created page with "Using the RDP command MSTSC and trying to save a username and password does not work. = Command = Create a saved password using this method. <pre>cmdkey /generic:TERMSRV/mycomputer.domain.local /user:domainname\username /pass:mysecretpssword</pre> = Show = If the type is Domain Password it seems to fail. Type needs to be Generic. <pre>cmdkey /list:TERMSRV/*</pre> == Domain Password : Will Fail == <pre> Currently stored credentials for TERMSRV/*: Target: TERMSR...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Using the RDP command MSTSC and trying to save a username and password does not work.

Command

Create a saved password using this method.

cmdkey /generic:TERMSRV/mycomputer.domain.local /user:domainname\username /pass:mysecretpssword


Show

If the type is Domain Password it seems to fail. Type needs to be Generic.

cmdkey /list:TERMSRV/*

Domain Password : Will Fail

Currently stored credentials for TERMSRV/*:

    Target: TERMSRV/mycomputer.domain.local
    Type: Domain Password
    User: domainname\username
    Local machine persistence

Generic : Will Succeed

Currently stored credentials for TERMSRV/*:

   Target: TERMSRV/mycomputer.domain.local
   Type: Generic
   User: domainname\username