1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 00:42:08 +02:00
tldr/pages/windows/cmdkey.md
Aleksandr Kostikov e1dc79df27
cmdkey: add page (#10430)
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2023-06-30 14:47:33 +02:00

427 B

cmdkey

Create, show, and delete stored user names and passwords. More information: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/cmdkey.

  • 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:

cmdkey.exe /delete {{target_name}}