How to clear cached credentials Windows 10?

367    Asked by AnilJha in Cyber Security , Asked on Apr 6, 2022

Windows seems to be saving my credentials for a variety of applications (terminal servers, etc) and I'd like to purge this data.

How can I backup and purge this data?

Answered by Amit verma

Regarding the clear cached credentials windows 10 - There is also a command-line utility:

C:>  /?
Creates, displays, and deletes stored user names and passwords.
The syntax of this command is:
CMDKEY [{/add | /generic}:targetname {/smartcard | /user:username {/pass{:password}}} | /delete{:targetname | /ras} | /list{:targetname}]
Examples:
  To list available credentials:
      /list
      /list:targetname
  To create domain credentials:
      /add:targetname /user:username /pass:password
      /add:targetname /user:username /pass
      /add:targetname /user:username
      /add:targetname /smartcard
  To create generic credentials:
     The /add switch may be replaced by /generic to create generic credentials
  To delete existing credentials:
      /delete:targetname
  To delete RAS credentials:
      /delete /ras
Link to documentation page: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/cmdkey


Your Answer

Interviews

Parent Categories