--- title: "Enabling On-Demand Malware Scans" slug: "enabling-on-demand-malware-scans" updated: 2026-09-08T19:10:56Z published: 2026-09-08T19:10:56Z canonical: "docs.trellix.com/enabling-on-demand-malware-scans" --- > ## 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 On-Demand Malware Scans ###### To enable on-demand scans 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 Scans** tab. 5. In the Malware Scans section, toggle the **Scheduled Scans** ON/OFF switch to **ON**. ### Important You must turn the **Malware Detection** switch ON before you can turn the **Scheduled Scans** switch ON. See [Enabling and Disabling Malware Detection and MalwareGuard](/docs/enabling-and-disabling-malware-detection) for more information. 6. Click the **Save**. To enable on-demand scans for selected host sets: ### Note [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 Scans** tab. 5. In the Malware Scans section, toggle the **Scheduled Scans** ON/OFF switch to **ON**. ### Important You must turn the **Malware Detection** switch ON before you can turn the **Scheduled Scans** switch ON. See [Enabling and Disabling Malware Detection and MalwareGuard](/docs/enabling-and-disabling-malware-detection) for more information. 6. Click the **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. :