vbscript to set auditing perm on a folder

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!

March 4th, 2011 6:42pm

Hi,

I believe the SetACL utility can configure SACLs. Available as command-line tool or an ActiveX DLL.

Bill

Free Windows Admin Tool Kit Click here and download it now
March 23rd, 2011 1:18am

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 

--------------------------------------------

July 12th, 2013 7:21am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics