Avatar of Anthony Redgrave
Anthony Redgrave

asked on 

Changing Audit Policies through scripting

Within the Local Security Policies on Windows, there's a category called Audit Policies. I'm trying to write a script that is capable of changing all the audit policies to success and failure, however I can't seem to figure out how to do it. I don't want to change the Advanced audit policies, just the audit policies under local policies in the Local Security Policy application. If that's possible through any scripting language, feel free to leave an example, and if it's not possible, could somebody please let me know, this has been bothering me awhile and I would like to get it out of the way. Thank you!
Windows OSWindows 7Shell ScriptingWindows BatchScripting Languages

Avatar of undefined
Last Comment
Anthony Redgrave

8/22/2022 - Mon