5/18/2023 0 Comments Adobe credential managerTherefore I scripted a quite primitive workaround since I do not know batch syntax so well. When using the string " for /F "tokens=1,2 delims= " %G in ('cmdkey /list ^| findstr Target') do cmdkey /delete %H", I keep getting " CMDKEY: Element not found." What if I want to make an exception and delete only some credentials but not other? Could I do that using the Type value instead of the Target value, for instance by asking the command prompt to delete only the Generic type credentials and not the Generic Certificate and the Domain Password type credentials? For instance, in this case the line deletes all the strings that have a target as displayed in cmdkey list: Moreover, I would like to know how to make exceptions. I already know what cmdkey /list, findstr and cmdkey /delete do but I am not sure about the rest. Since my knowledge of this syntax is quite limited, I would like to know what each of its section actually means. After few hours of browsing, I have finally stumbled upon this command prompt string that does exactly what I need: for /F "tokens=1,2 delims= " %G in ('cmdkey /list ^| findstr Target') do cmdkey /delete %H I was looking for a more efficient way to delete all credentials stored in Credential Manager without having to delete credentials one by one.
0 Comments
Leave a Reply. |