Has anybody tried their hands on subinacl.exe to give permission to registry hive. I have this strange requirement asking me to make use of the above for granting permissions.
So , after reading some articles on web. i punched in the following on command line

subinacl.exe /subkeyreg HKEY_LOCAL_MACHINE\SOFTWARE\TestKey\NewTestKey /grant=Users=F.

but this command line doesn't set the permissions on regsitry hive I would really be very thankful, if someone can point me in the correct direction.

0 Comments   [ + ] Show Comments


Please log in to comment



have you tried using regini?



Answered 11/21/2013 by: SMal.tmcc
Red Belt

  • yes, i have read about regini, but we have been strictly asked to used subinacl. any thoughts about how to use it, since after playing around with it, i found out, it applies permissions to only 32bit objects on 64bit OS
Please log in to comment

I don't use SubInACL (I prefer SetACL or my own edited version of this DACLS script http://www.interrahost.com/scripts/dacl.vbs.txt) but reading this http://www.robvanderwoude.com/subinacl.php I'd venture that you need to surround the registry key in quotes.

Answered 11/22/2013 by: VBScab
Red Belt

  • thanks for the link vbscab, even , i m shocked why some people rely on tools like subinacls which carry their own shortcomings on 64bit. I am very much skeptical, subinacl for some strange reason cant apply permissions to the 64 bit locations on a 64bit OS. So the possible solutions that i have in my mind is to make use of SetACL . I m still breaking my head to convince the other person to use SetACL for setting permissions
    • just show them articles like this that it does not work with 64bit
      • Yeah we had a big fight over mails.......it was hard job but we got it done. Thanks all for giving their time ..i know my questions some time are quite a thing, but this forum is all that i have
Please log in to comment
Answer this question or Comment on this question for clarity