How can I alter registry permissions in Windows 7?

Comments

1 comment

  • Avatar
    wojciechka

    It is possible to use the regini command to modify the permissions for specific registry keys. For example:

    <postInstallationActionList>
      <writeFile>
        <path>${system_temp_directory}/regini_script.txt</path>
        <text>HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\SciWordDocument [1 5 7 11 17]</text>
      </writeFile>
      <runProgram>
        <program>regini</program>
        <programArguments>"${system_temp_directory}/regini_script.txt"</programArguments>
      </runProgram>
      <deleteFile>
        <path>${system_temp_directory}/regini_script.txt</path>
      </deleteFile>
    </postInstallationActionList>
    

    The above will grant full access to everyone.

    You can find more information about the regini command and the list of numeric values above in the following document:

    How to Use Regini.exe to Set Permissions on Registry Keys

Please sign in to leave a comment.