--- title: "Exclude files or directories from scanning" slug: "exclude-files-or-directories-from-scanning-16" tags: ["Product Usage", "Endpoint Security (ENS)", "ENS 10.7.x", "ENS-TP 10.7.x"] updated: 2026-10-07T18:10:20Z published: 2026-10-07T18:10:20Z canonical: "docs.trellix.com/exclude-files-or-directories-from-scanning-16" --- > ## 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. # Exclude files or directories from scanning Exclude files and folder paths from an on-access scan or on-demand scan. 1. Click the Trellix menulet ![GUID-9BE2692D-7F54-44CB-AE3B-3D141955024E-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-98c789c6-8a88-6a4d-6820-20224b56ed0a(12).png?sv=2026-02-06&spr=https&st=2026-11-18T03%3A48%3A14Z&se=2026-11-18T04%3A48%3A14Z&sr=b&sp=r&sig=zoM8pEfm4LJDx81fHjoGN6T1azCSvx7%2BlAz5Ug7o7dw%3D) on the status bar, then select **Preferences**. 2. Click **Threat Prevention**, then click **Exclusions**. 3. Click ![GUID-8CC2C84C-B44D-4B10-A920-D4E503DB9CC1-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-a864882e-53b9-3d25-220f-073ed66de844(9).png?sv=2026-02-06&spr=https&st=2026-11-18T03%3A48%3A14Z&se=2026-11-18T04%3A48%3A14Z&sr=b&sp=r&sig=GTqqzZcmH0AoPjaBMKoVobCL0InmeNpYDsfKyjEwU8E%3D), type the administrator password, then click **OK**. 4. Click ![GUID-213AEF71-3D9B-4242-AB47-3B513C7B845E-low.gif](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-0cce8f86-7288-e4ca-a212-8f93a601b75f(6).gif?sv=2026-02-06&spr=https&st=2026-11-18T03%3A48%3A14Z&se=2026-11-18T04%3A48%3A14Z&sr=b&sp=r&sig=oMN3q1nYE%2BuNmrOLhbghcGI5dZFmbIASGnfyQkSzsO0%3D) in the bottom left corner. 5. Select the path of the required files and folders, then click **Open**. 6. Select or deselect the **On-Access Scan** and **On-Demand Scan** options as needed. - To remove the item from the exclusions list, select it, then click ![GUID-4AE5F6A7-2605-4A43-B49D-792278615553-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-661bdc83-08c5-65cc-6e95-5bc31ded8120(6).png?sv=2026-02-06&spr=https&st=2026-11-18T03%3A48%3A14Z&se=2026-11-18T04%3A48%3A14Z&sr=b&sp=r&sig=7O5W1wNe9Nky3nCydBtNCbKsG0DhlmLDJ1MI1Rgai3A%3D) in the bottom left corner of the page. 7. Click ![GUID-52897A50-A206-4BD9-9A2A-FA22858761B5-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-c4d7f0bf-9602-000f-72e8-176000cf1f76(9).png?sv=2026-02-06&spr=https&st=2026-11-18T03%3A48%3A14Z&se=2026-11-18T04%3A48%3A14Z&sr=b&sp=r&sig=MlDHv6JIskMDvRD12X1jim9p9O2Ukec8s0Tka%2FTw0GY%3D) to prevent further changes.