How do I change ACLs on hkey_classes_root using a script?
Posted on 2004-09-03
I need to change permissions on some hkey_classes_root keys using a script and not regedt32. I need to apply the change to many computers that run an application which won't run with user privileges and requires Administrator privileges on the local station to run. I've found all the necessary keys to change an make the application functional, however I can only seem to change hkey_user and hkey_local_machine settings with the regini utility. I can not find the script formatting necessary to change an hkey_root_classes ACL.
I also tried exporting keys with modified ACLs so I can re-imported them as a .reg file but the export/import does not retain the ACL permissions applied.
Any suggestion on how I could proceed?