--- title: "Adding File and Folder Exclusions to All Hosts" slug: "adding-file-and-folder-exclusions-to-all-hosts" updated: 2026-09-08T19:10:30Z published: 2026-09-08T19:10:30Z canonical: "docs.trellix.com/adding-file-and-folder-exclusions-to-all-hosts" --- > ## 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. # Adding File and Folder Exclusions to All Hosts To add file and folder exclusions to real-time event monitoring for all of your host endpoints: ### Caution On macOS, the total number of all file and folder exclusions must not exceed 100. The agent will ignore additional entries. 1. Log in to the Web UI as an administrator. 2. From the Admin menu, select **Policies** to access the Policies page. 3. From the Policies table, select the **Agent Default Policy** and click the policy link to access the Edit Policy page. 4. Select the **Real-Time Indicator Detection** tab. 5. Verify that the **Real-Time Indicator Detection ON/OFF** switch is set to **ON**. 6. From the Exclude Files and Folders section, enter the name of a file or folder you want to exclude from real-time event monitoring in the **Exclude files or folders from Real-Time Indicator Detection** field. File and folder exclusions apply to file write events only. See [Real-Time Detection Exclusion Guidelines](/docs/real-time-detection-exclusion-guidelines) for additional guidelines. ![Policy_RTID_FF_Exclusions.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-29768092-f7fe-6385-d49f-12ce2cf4ebb3(1).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A13%3A20Z&se=2026-11-22T14%3A13%3A20Z&sr=c&sp=r&sig=DaOcOnXHBFGKs%2Bwz89ojbu%2FdS2HqlABM3zw%2BD4ibuFk%3D) 7. Click **Add**. 8. Click **Save**. :