clearing the registry
-
Hi ! When my app is installed on a user's computer, the install is made in Admin mode. Some settings are stored in the registry in the LOCAL_MACHINE keys. Users then use it, the app stores their settings in the registry (in the CURRENT_USER keys). Later on, the admin wants to uninstall my app. I need to clear each users's registry to get rid of their settings. I didn't find a way, when logged as an admin, how to reach each local user of the machine and get rid of keys. Could anyone help me regarding this issue ? Thanks ! Jerome
-
Hi ! When my app is installed on a user's computer, the install is made in Admin mode. Some settings are stored in the registry in the LOCAL_MACHINE keys. Users then use it, the app stores their settings in the registry (in the CURRENT_USER keys). Later on, the admin wants to uninstall my app. I need to clear each users's registry to get rid of their settings. I didn't find a way, when logged as an admin, how to reach each local user of the machine and get rid of keys. Could anyone help me regarding this issue ? Thanks ! Jerome
Iterate nodes of HKEY_USERS and access your specific application keys. This will get you to each user's "current user" keys.
Any sufficiently gross incompetence is nearly indistinguishable from malice.