Browse Source

cmdkey: add page (#10430)

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Aleksandr Kostikov 1 year ago
parent
commit
e1dc79df27
1 changed files with 16 additions and 0 deletions
  1. 16 0
      pages/windows/cmdkey.md

+ 16 - 0
pages/windows/cmdkey.md

@@ -0,0 +1,16 @@
+# 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}}`