Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - set auditing on directories with script?

Reply
 
Old 08-10-2009   #1 (permalink)
Special Access


 
 

set auditing on directories with script?

Is it possible to set auditing on directories (or set the 'allow
inheritable auditing entries from the parent to propagate to this
object and all child objects' setting in particular) with VBScript?

We ran a hardening script (which imported an INF file) on a couple of
our servers and several root directories are not showing the auditing
settings we set at the root level. IE:

c:\ has auditing set for "everyone, fail"
c:\warehouse does not

however, warehouse existed as a directory when we ran the hardening
script. If I manually open the security settings on the folder and
check that box, then the auditing shows. The problem is we only want
to enable the auditing inheritance, not change any existing security
rights on the folder.

Ideas, pointers, references... any would be helpful. I'm learning
vbscript and have a virtual comp I can blow up as needed for the
learning process (just start another from the template).

Thank you for any assistance.
Mike

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Even 5038 Microsoft Windows security auditing. Vista performance & maintenance
Auditing problem .NET General
Optimizing PS Script to List directories PowerShell
How Do We Avoid Auditing Failed SYNCHRONIZE File Access? Vista security


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46