Hi all,
I'm having trouble using subinacl, in that I can't get it to work!
Below I've included an example of the command I'm typing into the cmd window as well as the output from subinacl.
I'm trying to set permissions for a reg key, I've tried a few variations:
- using /keyreg and /subkeyreg
- providing the entire reg key ie: "hkey_local_machine\software\stephen" and "software\stephen" as I've seen these differences in various examples.
- In this example I've omitted the permissions part as I want to apply full permissions for the user for this test, but I've also tried /grant=machine_name\iusr_machine_name=F.
------------------------------------------------------------
C:\>subinacl /keyreg "hkey_local_machine\software" /grant=machine_name\iusr_machine_name
+keyreg hkey_local_machine\software
/grant=ecdb0219\iusr_ecdb0219
Elapsed Time: 00 00:00:00
Done: 0, Modified 0, Failed 0, Syntax errors 0
------------------------------------------------------------
To apply permission for a reg key to I have to set access for each part of the entire reg key, ie: for the example below do I have to set access rights for Key1, key2 and TheKey etc. or is it simply enough to set access rights on Thekey? I'm wondering if this is my problem?
> hklm\software\key1\key2\TheKey <
I can't understand what I'm doing wrong, as always any ideas/comments welcome!
Thanx in advance,
Stephen
.