cmdkey Command Examples

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

cmdkey /list

cmdkey /add:{{server_name}} /user:{{user_name}}

cmdkey /delete {{target_name}}