Enable Security Auditing using VBSCRIPT

Giganews Newsgroups
Subject: Enable Security Auditing using VBSCRIPT
Posted by:  Jef Dye (JefD…@discussions.microsoft.com)
Date: Mon, 4 Jun 2007

I have a project for Windows XP and 2003 where I need to enable auditing to
record failed access on the C:\ or some if its folders. I wan to do it with
VBSCRIPT. Does anyone have a script to do that?

Normally, you would set this by selecting properties of a folder, and
clicking on the security tab. Next click on Advanced and then the Auditing
tab. Click Add and then type in "everyone" and click OK. Finally, select the
Failed Full Control check box and click OK, OK, and OK.

Thanks. Jef