How to Display or Modify Audit Policies of Windows using CMD
- Get link
- X
- Other Apps
In CMD (Command Prompt), the auditpol command is used to display or modify audit policies on a Windows system. Audit policies determine which events are logged in the Windows Security log when specific activities occur on the system. The syntax for the auditpol command is as follows:
auditpol /set /subcategory:<subcategory> [/success:<enable|disable>] [/failure:<enable|disable>] [/system:<enable|disable>]
Where:
- /set: Specifies that the audit policy should be modified.
- /subcategory:<subcategory>: Specifies the subcategory of events for which the audit policy should be modified. A list of available subcategories can be obtained by running the auditpol /list /subcategory:* command.
- /success:<enable|disable>: Specifies whether successful events in the specified subcategory should be audited or not.
- /failure:<enable|disable>: Specifies whether failed events in the specified subcategory should be audited or not.
- /system:<enable|disable>: Specifies whether events generated by the system should be audited or not.
For example, to view the current audit policy, the following command could be used: auditpol /get /category:*
Note that administrative privileges are required to run the Auditpol command. This command is available on Windows Server 2008 R2, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019, Windows 7, Windows 8, Windows 8.1, and Windows 10 operating systems.
- Get link
- X
- Other Apps
Popular posts from this blog
Top international payment gateway transaction fee comparison (2024)
How to Manage Boot Configuration of Windows using CMD
How to Get Inverse of a Matrix in Excel
Free Source Code and Documentation for Android App, Free for Commercial and non commercial purpose.
- Source Code with Documentation for Android Web shortcut key app Free Download
- Source Code with Documentation for Android VPN App Free Download
- Source Code with Documentation for Android Screen Recorder App Free Download
- Source Code with Documentation for Android Love calculator App Free Download
- Source Code with Documentation for Android Kids Math IQ App Free Download
- Source Code with Documentation for Android Diet Plan App Free Download
- Source Code with Documentation for Android BMI Calculator App Free Download
- Source Code with Documentation for Android Blogger App Free Download (Admin and Client App) Make a blogpost