I have an app that will store Initialization settings in HKLM\Software\Company Name\App name in the Windows 2000 registry. The app will be install by an Adminstrator using an msi. However, some of the Initialization settings are configurable by the users whom are set up as Power Users. When I try to write these settings back into the registry, I get an ERROR_ACCESS_DENIED return code.
Due to the nature of the application, I need to store the registry settings in HKLM so writing them off to the HKLU is not an option. Also, due to the number of workstations and the locations, going to each machine to set permissions to the subkey is inpractial. What I need is a way to Programatically set user permissions for this subkey.
Thanks in advance