GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing ss64.com — CMDKEY command - Windows CMD CMDKEY.exeCreate, list or delete stored user names, passwords or credentials. Syntax
cmdkey [{/add:TargetName | /generic:TargetName}]
{/smartcard | /user:UserName [/pass:Password]}
[/delete{:TargetName | /ras}]
/list:TargetName
Key:
/add Add a user name and password to the list.
TargetName The computer or domain name that this entry will be associated with.
/generic Add generic credentials to the list (used by RDC).
/smartcard Retrieve the credential from a smart card.
/user:UserName The user or account name to store with this entry.
If UserName is not supplied, it will be requested.
/pass:Password The password to store with this entry. If Password is not supplied, it will be requested.
/delete: Delete a user name and password from the list.
If TargetName is specified, that entry will be deleted.
If /ras is specified, the stored remote access entry will be deleted.
/list Display the list of stored user names and credentials.
If TargetName is not specified, all stored user names and credentials will be listed.
The credentials created by CMDKEY can also be created and edited in the GUI Control Panel ➞ Credential Manager Credentials setup as type /generic:TERMSRV will be used by Remote Desktop Connection, so you will be able to connect as the given user without being prompted for a password. If the password is changed you will need to update the stored credential. By default the credentials are stored in C:\users\username\AppData\Roaming\Microsoft\Credentials\ If more than one smart card is found, cmdkey will prompt the user to specify which one to use. ExamplesDisplay a list of stored user names and credentials:
Add a generic TERMSRV credential for user PeteZ (on domain SS64dom) to access the computer Server64:
Delete the stored TERMSRV credential for Server64:
Add a user name and password for user Kate to access computer Server64 with the password z5rd63hGtjH7:
Add a user name for user Kate to access computer Server64 and prompt for a password whenever Server64 is accessed:
Delete the stored credential for Server64:
“One important key to success is self-confidence. An important key to self-confidence is preparation” ~ Arthur Ashe Related commandsCIPHER - Encrypt or Decrypt files/folders. Copyright © 1999-2026 SS64.com
Some rights reserved |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |