> 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-security-auditing-event-ids/enable-auditing-access-to-ad-domain-objects-4662.md).

# Enable auditing access to AD domain objects - 4662

1. Log in to a Domain Controller as a domain admin.
2. In the **Start** menu, under **Administrative Tools**, open **Active Directory Users and Computers**.
3. In the left pane, locate the domain you want to audit. This will typically be the name of your network.
4. To see more details, in the **View** menu, select **Advanced Features**.

   ![image5.png](/files/nq77gTQY9LctSjMwLYar)
5. To view detailed information about your domain, right-click its name and select **Properties**.

   ![image2.png](/files/Tbz9t18Cx388OTRS97xb)
6. Click the **Security** tab, usually located near the top of the **Properties** window.
7. Click **Advanced** which is located within the Security tab or near the bottom of the window.

   ![image4.png](/files/wUGe6vaZHvgcXJOXbHR6)
8. In the **Advanced Security Settings** window that opens, select the **Auditing** tab and click **Add**.

   ![image1.png](/files/ObKJJdXlA6tO2iaNXYYp)
9. Click **Select a principal**.

   ![image3.png](/files/tCzJs8bAVfUmTL22Imb9)
10. In the window that opens, under **Enter the object name to select**, type **Everyone**, click **Check Names**, and then **OK**.

    ![image34.png](/files/yIaPsW8kxxQDmMtyPNXh)
11. In the **Auditing Entry** window, do the following:
    * **Type:** To track only successful attempts, select **Success**.
    * **Applies to:** To monitor actions by users within this group and any subgroups, select **Descendant User objects**.

      ![image16.png](/files/uKWG9EntwR7U2Qi1V333)
    * **Permissions:** To remove any existing permissions from this audit entry, click **Clear all**.

      ![image23.png](/files/phg2IjAo3x8zDvApMacP)
    * Scroll up to **Permissions** to see view the list of permissions. Click the checkbox next to **Full Control** which automatically selects all the individual permissions below it.
    * Uncheck the boxes next to the following:

      * **List contents**
      * **Read all properties**
      * **Read permissions**

      ![image35.png](/files/bi0ZHJdBzOiBUTmcQUNy)
    * Click **OK** to save the changes.
12. Repeat step 11, with the following values in **Applies to**:
    * **Descendant Group Objects**
    * **Descendant Computer Objects**
    * **Descendant msDS-GroupManagedServiceAccount Objects**
    * **Descendant msDS-ManagedServiceAccount Objects**
    * **Descendant msDS-DelegatedManagedServiceAccount Objects**

      <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><h3>Note</h3><p>The <strong>Descendant msDS-DelegatedManagedServiceAccount Objects</strong> configuration is relevant only for Windows Server 2025.</p></div>


---

# 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-security-auditing-event-ids/enable-auditing-access-to-ad-domain-objects-4662.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.
