Delete all windows credentials from credential manager

Delete all windows credentials from credential manager

If you have built up a list of Windows credentials that you want to clear all at once, instead of having to remove them one by one try this command:

cmdkey /list | ForEach-Object {if ($_ -like “Target:“) {cmdkey /del:($_ -replace ‘^.+=’, ”)}}