--- title: "Disabling File Clean" slug: "disabling-file-clean" updated: 2026-09-08T19:10:30Z published: 2026-09-08T19:10:30Z canonical: "docs.trellix.com/disabling-file-clean" --- > ## 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. # Disabling File Clean ###### To disable the file clean setting for all host endpoints: 1. Log in to the Web UI as an administrator. 2. From the **Admin** menu, select **Policies** to access the **Policies** page. 3. In the Policies table, click the **Agent Default Policy** link to access the **Edit Policy** page. 4. Select the **Malware Protection** tab. 5. Locate **Quarantine Actions** and clear the **Clean Infections from File (Once Quarantined)** option to disable and ignore the removal of malware infection from quarantined files. ![UI_Policy_Quarantine_Clean_Disable.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-0a0f71a9-829a-c694-d42f-f8c2f4fede12(1).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A13%3A03Z&se=2026-11-22T14%3A13%3A03Z&sr=c&sp=r&sig=2gFcjnaH00%2FEasyPISCVVjJ2WE%2BmD%2F%2FVqHjmBVlnEUk%3D) 6. Click **Save**. To disable the file clean setting for selected host endpoints: ### Note When you disable a setting in a custom policy, the setting is disabled for all host sets assigned to the policy. If you want select host sets to keep the original setting, you must create a new custom policy with the setting enabled and assign it to the selected host sets. [See Creating a Custom Policy](/docs/creating-a-custom-policy) for more information about using the Web UI to create a custom policy. 1. Log in to the Web UI as an administrator. 2. From the **Admin** menu, select **Policies** to access the **Policies** page. 3. In the Policies table, click the link for the custom policy you want to modify. 4. Select the **Malware Protection** tab. 5. Locate **Quarantine Actions** and clear the **Clean Infections from File (Once Quarantined)** option to disable and ignore the removal of malware infection from quarantined files. ![UI_Policy_Quarantine_Clean_Disable.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-0a0f71a9-829a-c694-d42f-f8c2f4fede12(1).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A13%3A03Z&se=2026-11-22T14%3A13%3A03Z&sr=c&sp=r&sig=2gFcjnaH00%2FEasyPISCVVjJ2WE%2BmD%2F%2FVqHjmBVlnEUk%3D) 6. Click **Save**. :