--- title: "Enabling File Clean" slug: "enabling-file-clean" updated: 2026-09-08T19:10:30Z published: 2026-09-08T19:10:30Z canonical: "docs.trellix.com/enabling-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. # Enabling File Clean To enable 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. Verify that malware detection and quarantine are enabled by ensuring that the **Signature and Heuristic Detection** ON/OFF switch and the **Quarantine** ON/OFF switch are both set to **ON**. ### Important Malware detection (Signature and Heuristic Detection) and quarantine must be enabled before you enable malware protection quarantine actions. Enabling quarantine may result in data loss when malware is blocked in an active process or file and malware protection terminates the process that started the infection. 6. Locate **Quarantine Actions** and select the **Clean Infections from File (Once Quarantined)** option to enable file cleaning for quarantined files. ![UI_Policy_Quarantine_Clean_Enable.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-b6953416-8820-7ac3-1801-761f2fcca968(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) 7. Click **Save**. To enable the file clean setting for selected host sets: ### Note [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. Verify that malware detection and quarantine are enabled by ensuring that the **Signature and Heuristic Detection** ON/OFF switch and the **Quarantine** ON/OFF switch are both set to **ON**. ### Important Malware detection (Signature and Heuristic Detection) and quarantine must be enabled before you enable malware protection quarantine actions. Enabling quarantine may result in data loss when malware is blocked in an active process or file and malware protection terminates the process that started the infection. 6. Locate **Quarantine Actions** and select the **Clean Infections from File (Once Quarantined)** option to enable file cleaning for quarantined files. ![UI_Policy_Quarantine_Clean_Enable.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-b6953416-8820-7ac3-1801-761f2fcca968(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) 7. Click **Save**. Now you can assign host sets to the custom policy and set the policy priority level. See [Assigning Host Sets to Agent Policies](/docs/assigning-host-sets-to-xagent-policies) and [Configuring Policy Priority Using the Web UI](/docs/configuring-policy-priority-using-the-web-ui) for more information. :