registry permissions with xcacls
hi, i need to give the user emea\testuser full rights to the following registry hive HKLM\Software\Test.
can i do this with xcacls? i cant seem to find any examples of how to use it with registry folders?
if someone can post a command line for xcacls setting permissions on a registry hive i would be greatful!
thx
can i do this with xcacls? i cant seem to find any examples of how to use it with registry folders?
if someone can post a command line for xcacls setting permissions on a registry hive i would be greatful!
thx
0 Comments
[ + ] Show comments
Answers (7)
Please log in to answer
Posted by:
anonymous_9363
16 years ago
Tricky, principally because XCACLS can't set registry permissions. Use SetACL instead:
SetACL -on "HKLM\SOFTWARE\SomeKeyOrOther" -ot reg -actn ace -ace "n:[Domain\GroupName];p:full"
For file permissioning:
SetACL -on "x:\SomePath_Or_File" -ot file -actn ace -ace "n:[GroupName];p:change"
http://setacl.sourceforge.net/index.html
Add SetACL.EXE (a free download) as a binary and you won't have to worry about installing it.
SetACL -on "HKLM\SOFTWARE\SomeKeyOrOther" -ot reg -actn ace -ace "n:[Domain\GroupName];p:full"
For file permissioning:
SetACL -on "x:\SomePath_Or_File" -ot file -actn ace -ace "n:[GroupName];p:change"
http://setacl.sourceforge.net/index.html
Add SetACL.EXE (a free download) as a binary and you won't have to worry about installing it.
Posted by:
James
16 years ago
Posted by:
anonymous_9363
16 years ago
Posted by:
joedown
16 years ago
Posted by:
nheim
16 years ago
Posted by:
joedown
16 years ago
Posted by:
Coriolus
16 years ago
I usually use SECEDIT for registry perms. I add the security template and secedit.sdb to my MSI and create a custom action to pass the command just before 'INSTALLFINALIZE' sequence. Making the security templatye is easy, just do it on any system that has the entry you want to modify and presto! Copy the files from C:\windows\security\templates and C:\windows\security\database respectively. It works really well for the file system as well.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.