How do I clear cached credentials from my Windows Profile?

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

    Is there a way to automate the removal of cached credentials via a PowerShell script that I can invoke?

  • The utility to delete cached credentials is hard to find. It stores both certificate data and also user passwords.

    Open a command prompt, or enter the following in the run command

     rundll32.exe keymgr.dll,KRShowKeyMgr
    

    Image of cached credentials

    Windows 7 makes this easier by creating an icon in the control panel called "Credential manager"

    enter image description here

    good write up for both Admins and End-Users. Could have used a route guide to the Credential Manager, for those less-Admin knowledgeable.

    Excellent. This command saved my day. Didn't know about it

    My control panel item for this is hidden due to company group policies. The command you gave is the only way I could access my cached credentials. Thanks.

License under CC-BY-SA with attribution


Content dated before 6/26/2020 9:53 AM