--- title: "Enabling command-line history" slug: "enabling-command-line-history" updated: 2026-09-11T11:12:06Z published: 2026-09-11T11:12:06Z canonical: "docs.trellix.com/enabling-command-line-history" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Enabling command-line history Some endpoints may require Microsoft Security Advisory to be installed as described in the Microsoft Knowledge base article KB3004375 (typically only required for versions of Windows prior to Windows 8.1 or server 2012 R2). To enable command-line monitoring, you enable a group of policy setting. To change the setting: 1. Launch the local group policy editor (gpedit.msc) and navigate to **Computer Configuration > Administrative Templates > System > Audit Process reaction**. 2. From the right pane, click the **Policy Setting** link for the **Include command line in process creation events** setting. 3. In the dialog box, select the **Enabled** option and then click **Apply** to apply the changes to the system. For additional information, see the Microsoft documentation [here](https://docs.microsoft.com/en-us/windows-server/identity/ad-ds/manage/component-updates/command-line-process-auditing). :