auditpol is a Windows command-line utility for viewing and configuring audit policies. It can enable process-creation auditing so Windows records Event 4688, including the created process and responsible user. section 10.2.5
A practical process-creation auditing workflow is:
- Open an elevated Command Prompt or PowerShell session. section 10.2.5
Enable and verify process creation auditing
Run auditpol /set /subcategory:"Process Creation" /success:enable, optionally enable failures, then run auditpol /get /subcategory:"Process Creation" to confirm the setting.
