Forum Discussion
Jesper Stein
Jul 10, 2018Brass Contributor
Credential Manager not updating passwords
We see a pattern when our users change password every 90 days. A lot of them get Outlook promts after and we need to clear the credential manager. It seems that windows do not update all instances of...
Bill Dixon
May 08, 2019Copper Contributor
Here is a script i have found and tested to work. I still would like to know why, if my password is reset in AD, and Outlook asks for my new password, why it cant update the existing credentials? if i clear them, it accepts and writes the new value. If i dont, then it continually prompts for credentials even after you type in the new password because it's unable to update the value.
Save this in a txt file and name it PasswordChange.cmd or something with .CMD and execute it before a password change.
For /F "tokens=1,2 delims= " %%G in ('cmdkey /list ^| findstr Target') do cmdkey /delete %%H
Eric Sabo
May 08, 2019Brass Contributor
Thanks for supplying the script Bill Dixon @Jesper Stein