> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/cortex-xdr-5.x/reference-and-developer-docs/microsoft-windows-security-auditing-setup/enable-additional-event-logs-using-event-viewer.md).

# Enable additional event logs using Event Viewer

For the following event IDs, the auditing setup is configured using the **Windows Event Viewer**. Access the **Event Viewer** through the search box in the **Start** menu.

![image34.png](/files/GC52oojgXywhKc0SjVms)

<details>

<summary>Event IDs 1511, 1518</summary>

In **Event Viewer** → **Expand Applications and Services Logs** → **Microsoft** → **Windows** → **User Profile Service**, right click **Operational** and select **Enable Log**.

![image22.png](/files/NbqT8zw6PVcWYCkcdtZr)

</details>

<details>

<summary>Event IDs 11, 70, 90</summary>

In **Event Viewer** → **Expand Applications and Services Logs** → **Microsoft** → **Windows** → **CAPI2**, right click **Operational** and select **Enable Log**.

![image36.png](/files/K1es6GuMn2LPFvQEpRou)

</details>

<details>

<summary>Event ID 3008</summary>

In **Event Viewer** → **Expand Applications and Services Logs** → **Microsoft** → **Windows** → **DNS Client Events**, right click **Operational** and select **Enable Log**.

![image33.png](/files/pxDDYq78fkI7DxxXAJqc)

</details>

<details>

<summary>Event ID 2004</summary>

In **Event Viewer** → **Expand Applications and Services Logs** → **Microsoft** → **Windows** → **DriverFrameworks-UserMode**, right click **Operational** and select **Enable Log**.

![image28.png](/files/H7gpKYrXxPKtIYM54CvK)

</details>

<details>

<summary>Event IDs 4103, 4104, 4105, 4106</summary>

In **Event Viewer** → **Expand Applications and Services Logs** → **Microsoft** → **Windows** → **PowerShell**, right click **Operational** and select **Enable Log**.

![image31.png](/files/GC52oojgXywhKc0SjVms)

</details>

<details>

<summary>Event IDs 1006, 1009, 1116, 1119</summary>

In **Event Viewer** → **Expand Applications and Services Logs** → **Microsoft** → **Windows** → **Windows Defender**, right click **Operational** and select **Enable Log**.

![image35.png](/files/RCLSmaDGwhitNlj8rWF2)

</details>

<details>

<summary>Event ID 1024</summary>

In **Event viewer** → **Application and Services Logs** → **Microsoft** → **Windows** → **TerminalServices-ClientActiveXCore** → **Microsoft-Windows-TerminalServices-RDPClient**, right click **Operational** and select **Enable Log**.

![image30.png](/files/cz6A3ei8qSFKvKxFZrRA)

</details>

<details>

<summary>Event IDs 2005, 2006, 2009, 2033</summary>

In **Event Viewer** → **Expand Applications and Services Logs** → **Microsoft** → **Windows** → **Windows Firewall With Advanced Security** → **Firewall**, right click **Operational** and select **Enable Log**.

![image17.png](/files/p9wcFrG33ccTxXa17gb7)

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/cortex-xdr-5.x/reference-and-developer-docs/microsoft-windows-security-auditing-setup/enable-additional-event-logs-using-event-viewer.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
