Posted on 2006-11-10
I have an application that uses registry to store user preferances (windows user id based). each user can have different preferances and those are created when the user runs the application. So for each user the settings are available in HKEY_CURRENT_USER.
Now when the application is uninstalled, it clears registry only for the current user and the registry for other users remains as is. The thing I want is to clear the registry for all users.
I believe, that it should be possible by iterating through the number of entries available under HKEY_USERS. But not sure whether windows security would allow me to do this or not. if not how to get access.