2023-06-30 13:47:33 +01:00
|
|
|
# cmdkey
|
|
|
|
|
|
|
|
> Create, show, and delete stored user names and passwords.
|
2023-10-26 19:29:28 +01:00
|
|
|
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/cmdkey>.
|
2023-06-30 13:47:33 +01:00
|
|
|
|
|
|
|
- Show a list of all user credentials:
|
|
|
|
|
|
|
|
`cmdkey /list`
|
|
|
|
|
|
|
|
- Store credentials for a user that accesses a server:
|
|
|
|
|
|
|
|
`cmdkey /add:{{server_name}} /user:{{user_name}}`
|
|
|
|
|
|
|
|
- Delete credentials for a specific target:
|
|
|
|
|
2023-10-26 10:55:16 +01:00
|
|
|
`cmdkey /delete {{target_name}}`
|