I need to be able to set the permissions of a registry key through code on installing a program so that the use can edit the registry key once the program has been installed. It is for win2000 and winNT machines where the admin installs the program and changable settings are stored in the registry. Is there a way to change the registry setvalue permission on NT and 2000 machines?

if not clear let me know and I'll try to explain better.