Runas command is the closest shot I got but because it requires the password of the user it becomes very difficult and not something I would want in the uninstaller. Also I assume removing OS files will be dangerous and could have limitations (extra UAC prompt?) as well. I have learned that the credentials are stored as OS files under the C:\Users\_user_\AppData\Local\Microsoft\Credentials folder, but I can't know which files are the entries I want to delete and removing all would be dangerous for other applications. As far as I know cmdkey.exe /list only helps to list entries for the current user and can't remove local entries from another user. The uninstaller of course requires administrator privileges but still I find it very difficult to accomplish this.įor the current user that command is generally solved via cmdkey /delete=:X from a command prompt. On uninstall all credentials with stored with target "X" should be removed on all users. Let's call the target of the credential "X". ![]() The application stores credential entries for the current user using the CredentialManager ( keymgr.dll). ![]() I am currently implementing a "remove settings" for all users in a Windows uninstaller and came over an issue I am not even sure is possible to solve.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |