Creates, lists, and deletes stored user names and passwords or credentials.
Syntaxcmdkey [{/add:<targetname>|/generic:<targetname>}] {/smartcard | /user:<username> [/pass:<password>]} [/delete{:<targetname> | /ras}] /list:<targetname>
Parameters Parameters Description /add:<targetname>
Adds a user name and password to the list.
Requires the parameter of <targetname>
which identifies the computer or domain name that this entry will be associated with.
<targetname>
Adds generic credentials to the list.
Requires the parameter of <targetname>
which identifies the computer or domain name that this entry will be associated with.
<username>
Specifies the user or account name to store with this entry. If <username>
isn't supplied, it will be requested. /pass:<password>
Specifies the password to store with this entry. If <password>
isn't supplied, it will be requested. Passwords are not displayed after they're stored. /delete:{<targetname> \| /ras}
Deletes a user name and password from the list. If <targetname>
is specified, that entry is deleted. If /ras
is specified, the stored remote access entry is deleted. /list:<targetname>
Displays the list of stored user names and credentials. If <targetname>
isn't specified, all stored user names and credentials are listed. /? Displays help at the command prompt. Examples
To display a list of all user names and credentials that are stored, type:
cmdkey /list
To add a user name and password for user Mikedan to access computer Server01 with the password Kleo, type:
cmdkey /add:server01 /user:mikedan /pass:Kleo
To add a user name and password for user Mikedan to access computer Server01 and prompt for the password whenever Server01 is accessed, type:
cmdkey /add:server01 /user:mikedan
To delete a credential stored by remote access, type:
cmdkey /delete /ras
To delete a credential stored for Server01, type:
cmdkey /delete:server01
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4