subinacl /subdirectories %SystemDrive% /grant=administrators=f /grant=SYSTEM=f fails

subinacl /subdirectories %SystemDrive% /grant=administrators=f /grant=SYSTEM=f fails

Post by Trup » Wed, 27 Feb 2008 17:00:54


subinacl /subdirectories %SystemDrive% /grant=administrators=f /
grant=SYSTEM=f

Giving failed on my XP. Does anyone know the reason?
Thanks
Trups
 
 
 

subinacl /subdirectories %SystemDrive% /grant=administrators=f /grant=SYSTEM=f fails

Post by MV » Wed, 27 Feb 2008 17:13:34


I recommend you use cacls.exe instead of subinacl.exe -
its syntax is much easier to comprehend.

 
 
 

subinacl /subdirectories %SystemDrive% /grant=administrators=f /grant=SYSTEM=f fails

Post by Trup » Wed, 27 Feb 2008 18:06:34


It is a requirement to use this exe. Syntax I have checked. It's
fine.
 
 
 

subinacl /subdirectories %SystemDrive% /grant=administrators=f /grant=SYSTEM=f fails

Post by MV » Wed, 27 Feb 2008 18:42:59


If your syntax was OK then the command would work.
Have a look here for a full explanation of the syntax:
http://www.yqcomputer.com/
If it is a requirement in your company to use subinacl
then you probably have to spend the time to become
fully familiar with its syntax. It's not an easy task - this
is why I prefer cacls.exe or fileacl.exe.