Access to Credential Manager from command line

Credential Manager

Use cmdkey to list / add or delete a record in the credentials manager

cmdkey /LIST
cmdkey /DELETE:test

If it is a local machine user, we can use psexec like this:

psexec -i -s cmd.exe

then use cmdkey from that session.
Download psexec from here: https://docs.microsoft.com/en-us/sysinternals/downloads/psexec

Post a Comment

Previous Post Next Post