Hi
I am looking for a vbscript to set auditing permissions on a folder. I tried to find but couldn't find any sample script.
Thanks for your help!
Technology Tips and News
Hi
I am looking for a vbscript to set auditing permissions on a folder. I tried to find but couldn't find any sample script.
Thanks for your help!
Hi,
I believe the SetACL utility can configure SACLs. Available as command-line tool or an ActiveX DLL.
Bill
I have below *.inf file which I save in any location and then run SECEDIT command to enable Audit.
Step 1: Save below *.INF file in C:\Temp\myprog.inf
-----------------------------------------------
[Unicode]
Unicode=yes
[Registry Values]
[File Security]
"%SystemRoot%\System32\winload.exe","0,S:AR(AU;OICIFA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)"
"%SystemDrive%\",0,"S:AR(AU;OICIFA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)"
[Version]
signature="$CHICAGO$"
Revision=1
---------------------------------------------
==========================================================================
Step 2: Run SECEDIT Command in CMD:
-------------------------------------------
SECEDIT /configure /db c:\TEMP\database.sdb /cfg c:\TEMP\myprog.inf /overwrite /areas FILESTORE /log c:\IsecDeploy.log /quiet
--------------------------------------------