--- title: "Exclude files or directories from scanning" slug: "exclude-files-or-directories-from-scanning-30" tags: ["Product Usage", "Endpoint Security (ENS)", "ENS 10.7.x", "ENS-TP 10.7.x"] updated: 2026-10-07T17:59:38Z published: 2026-10-07T17:59:38Z canonical: "docs.trellix.com/exclude-files-or-directories-from-scanning-30" --- > ## 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(20).png?sv=2026-02-06&spr=https&st=2026-11-18T11%3A31%3A55Z&se=2026-11-18T12%3A31%3A55Z&sr=b&sp=r&sig=auHPIqJ%2F7f59nx6LjbFH8g58JgmrNrwzyloWhFRB3aI%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(16).png?sv=2026-02-06&spr=https&st=2026-11-18T11%3A31%3A55Z&se=2026-11-18T12%3A31%3A55Z&sr=b&sp=r&sig=iH0ABgzS9hYaHUEg9pSHT3X01xTjahgXQ2Kq2cyk9UA%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(11).gif?sv=2026-02-06&spr=https&st=2026-11-18T11%3A31%3A55Z&se=2026-11-18T12%3A31%3A55Z&sr=b&sp=r&sig=aBBWtUVGAqwbEG9QNIl%2FqXj%2Fm3JrT163sLS4V8Afsb0%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(11).png?sv=2026-02-06&spr=https&st=2026-11-18T11%3A31%3A55Z&se=2026-11-18T12%3A31%3A55Z&sr=b&sp=r&sig=JFc1JVgDqk4X4Zl4HhUNAZ2qKwGMD6YT9a4s2pxgQ%2Bs%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(15).png?sv=2026-02-06&spr=https&st=2026-11-18T11%3A31%3A55Z&se=2026-11-18T12%3A31%3A55Z&sr=b&sp=r&sig=lhUlv7rv26TKr9yG3FZ7DLCjk5C7wQWqe8uIV9zoh4g%3D) to prevent further changes.