RDP Saved Password: Difference between revisions
From KlavoWiki
Jump to navigationJump to search
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..." |
No edit summary |
||
Line 22: | Line 22: | ||
== Generic : Will Succeed == | == Generic : Will Succeed == | ||
<pre> | |||
Currently stored credentials for TERMSRV/*: | Currently stored credentials for TERMSRV/*: | ||
Latest revision as of 03:41, 17 June 2024
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