Discussion:
XCACLS.exe file-system security tool and Registry
(too old to reply)
StephenMcC
2004-05-13 11:51:04 UTC
Permalink
Not sure if this is the correct group to ask but, does ne one know if XCACLS.exe can be used to set ACL permissions on Registry Keys, or can it only be used for setting security settings on the file system (which I have done), i'm thinkin' no, just looking for somewhere where this is written in stone to confirm my suspicions

Thanx.
Bill Stewart
2004-05-13 17:25:53 UTC
Permalink
Post by StephenMcC
Not sure if this is the correct group to ask but, does ne one know if
XCACLS.exe can be used to set ACL permissions on Registry Keys, or
can it only be used for setting security settings on the file system
(which I have done), i'm thinkin' no, just looking for somewhere
where this is written in stone to confirm my suspicions.
You are correct. CACLS and XCACLS can only configure file system
permissions.

You can use REGINI to set the permissions on a registry key, or on Windows
2000 and later, you can set permissions on just about anything by using
SetACL (http://setacl.sourceforge.net/).

Bill
StephenMcC
2004-05-18 08:06:07 UTC
Permalink
Hi all

Seemed to be the key I was using which was causing the problems, instead I had to use

\registry\machine\Software\PKEY\SUBKey\MyKey [1 5 17

replacing 'HKLM' with '\registry\machine'

(Strange!

Stephen

----- StephenMcC wrote: ----

Thanx for ur help guys

I tried using REGINI but I'm gettin' errors and i'm not sure why, I've included my code/errors below. I'm tryin to set access rights for certain user group(s) (I think Admin/System/Creator)

CODE (From cmd window)
C:\Documents and Settings\User>regini "c:\x.ini
REGINI: CreateKey ([HKLM\SOFTWARE\PKEY\SUBKey\MyKey]) relative to handle (000000000) failed - 16
REGINI: Failed to load from file 'c:\x.ini' (161

X.INI sourc
HKLM\SOFTWARE\PKEY\SUBKey\MyKey [1 5 17

Any ideas welcom

Than

----- Bill Stewart wrote: ----
Post by StephenMcC
Not sure if this is the correct group to ask but, does ne one know i
XCACLS.exe can be used to set ACL permissions on Registry Keys, o
can it only be used for setting security settings on the file syste
(which I have done), i'm thinkin' no, just looking for somewher
where this is written in stone to confirm my suspicions
You are correct. CACLS and XCACLS can only configure file syste
permissions

You can use REGINI to set the permissions on a registry key, or on Window
2000 and later, you can set permissions on just about anything by usin
SetACL (http://setacl.sourceforge.net/)

Bil

Loading...