--- title: "Exclude files or directories from scanning" slug: "exclude-files-or-directories-from-scanning-7" tags: ["Product Usage", "Endpoint Security (ENS)", "ENS-TP 10.7.x"] updated: 2026-10-07T18:33:27Z published: 2026-10-07T18:33:27Z canonical: "docs.trellix.com/exclude-files-or-directories-from-scanning-7" --- > ## 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(27).png?sv=2026-02-06&spr=https&st=2026-11-19T19%3A41%3A45Z&se=2026-11-19T20%3A41%3A45Z&sr=c&sp=r&sig=1y8djJHW3eRm0tqutzMMYOeqHMSH6axSoBBK1n895xM%3D) on the status bar, then select . 2. 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(20).png?sv=2026-02-06&spr=https&st=2026-11-19T19%3A41%3A45Z&se=2026-11-19T20%3A41%3A45Z&sr=c&sp=r&sig=1y8djJHW3eRm0tqutzMMYOeqHMSH6axSoBBK1n895xM%3D), type the administrator password, then click **OK**. 3. 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(15).gif?sv=2026-02-06&spr=https&st=2026-11-19T19%3A41%3A45Z&se=2026-11-19T20%3A41%3A45Z&sr=c&sp=r&sig=1y8djJHW3eRm0tqutzMMYOeqHMSH6axSoBBK1n895xM%3D) in the bottom left corner. 4. Select the path of the required files and folders, then click **Open**. 5. 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(14).png?sv=2026-02-06&spr=https&st=2026-11-19T19%3A41%3A45Z&se=2026-11-19T20%3A41%3A45Z&sr=c&sp=r&sig=1y8djJHW3eRm0tqutzMMYOeqHMSH6axSoBBK1n895xM%3D) in the bottom left corner of the page. 6. 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(21).png?sv=2026-02-06&spr=https&st=2026-11-19T19%3A41%3A45Z&se=2026-11-19T20%3A41%3A45Z&sr=c&sp=r&sig=1y8djJHW3eRm0tqutzMMYOeqHMSH6axSoBBK1n895xM%3D) to prevent further changes.