| Admin Tip #298: Auditpol sets audit policies from commandline |
Hits: Failed to execute CGI : Win32 Error Code = 3
|
AuditPol [\\computer] [/enable | /disable] [/help | /?] [/Category:Option] ...
/Enable = Enable audit (default).
/Disable = Disable audit.
Category = System : System events
Logon : Logon/Logoff events
Object : Object access
Privilege : Use of privileges
Process : Process tracking
Policy : Security policy changes
Sam : SAM changes
Directory : Directory access
Account : Account logon events
Option = Success : Audit success events
Failure : Audit failure events
All : Audit success and failure events
None : Do not audit these events
Samples are as follows:
AUDITPOL \\MyComputer
AUDITPOL \\MyComputer /enable /system:all /object:failure
AUDITPOL \\MyComputer /disable
AUDITPOL /logon:failure /system:all /sam:success /privilege:none
If you save your scripts, any audit changes you implement with this tool are self-documented.
Gives an in-depth look at the NT/Windows 95/98 system policies. Step-by-step walkthroughs.