
Changing permissions of Registry key?
Hi there,
My application requires access to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App
Paths\Hol.exe
It needs to write to it but as a power user in windows 2000 you can't
generally write to this. I know it is possible to change permissions using
regedt32 but can I programmatically change the permissions on a key so that
a power user has Full Control.
How would this be done in a script ?
Any help or information would be gratefully appreciated
Ian