--- title: "Creating a Time-Based On-Demand Scans" slug: "creating-a-time-based-on-demand-scans" updated: 2026-09-08T19:10:56Z published: 2026-09-08T19:10:56Z canonical: "docs.trellix.com/creating-a-time-based-on-demand-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. # Creating a Time-Based On-Demand Scans ###### To create a time-based malware scan for all host endpoints: ### Important Your on-demand malware scans are not saved to your Malware Scans policy until you click **Save**. 1. From the **Admin** menu, select **Policies** to access the **Policies** page. 2. In the Policies table, click the **Agent Default Policy** link to access the **Edit Policy** page. 3. Select the **Malware Scans** tab. 4. In the Malware Scans section, verify that the **Scheduled Scans** ON/OFF switch is turned **ON**. ![UI_Policy_MalScan_Enable.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-75f4bbe3-4b22-ad87-265a-2d6941799d22(1).png?sv=2026-02-06&spr=https&st=2026-11-22T12%3A52%3A36Z&se=2026-11-22T13%3A52%3A36Z&sr=c&sp=r&sig=JrGXt9XrUNNoSadoJFpjdskBgT%2FreCfHoEzegNHMxYo%3D) 5. In the Malware Scans section, click **Create Scan**to access the **Create Scan** window. ![UI_Policy_MalScan_OD_Create.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-c622de31-5de5-ed4b-99f3-6405e2bb30c6(1).png?sv=2026-02-06&spr=https&st=2026-11-22T12%3A52%3A36Z&se=2026-11-22T13%3A52%3A36Z&sr=c&sp=r&sig=JrGXt9XrUNNoSadoJFpjdskBgT%2FreCfHoEzegNHMxYo%3D) 6. In the **Scan Name** field, enter the name of your scheduled scan. Scan names are restricted to 70 alphanumeric characters or less and can include a combination of dashes, spaces, and underscores. ![UI_Policy_MalScan_Create_Name.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-7946ec35-d9d8-3357-a23c-98d154acb4c9(1).png?sv=2026-02-06&spr=https&st=2026-11-22T12%3A52%3A36Z&se=2026-11-22T13%3A52%3A36Z&sr=c&sp=r&sig=JrGXt9XrUNNoSadoJFpjdskBgT%2FreCfHoEzegNHMxYo%3D) 7. In the scan event drop-down, Select **Time** to create a time-based malware scan. 8. Select the recurrence interval and click **Apply**. Options include daily, weekly, and monthly. ![UI_Policy_MalScan_OD_Occur.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-3b9e9827-a3af-923d-564d-8b0f8b00898f(1).png?sv=2026-02-06&spr=https&st=2026-11-22T12%3A52%3A36Z&se=2026-11-22T13%3A52%3A36Z&sr=c&sp=r&sig=JrGXt9XrUNNoSadoJFpjdskBgT%2FreCfHoEzegNHMxYo%3D) 9. Select a date and time when you want your scans to start. Start time is local to the host endpoint. The default time is the local time. ![UI_Policy_MalScan_Create_Date.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-0a5fcec3-c47a-248c-7b7f-a159aa8dc73b(1).png?sv=2026-02-06&spr=https&st=2026-11-22T12%3A52%3A36Z&se=2026-11-22T13%3A52%3A36Z&sr=c&sp=r&sig=JrGXt9XrUNNoSadoJFpjdskBgT%2FreCfHoEzegNHMxYo%3D) 10. In the **Scan will have the following depth** section, select the scan depth. Options include Full, and Active Memory. 11. Click **Create** to create your on-demand malware scan. 12. Click **Save** to save your on-demand malware scan to the Malware Scans policy. ![Policy_MalScans_OD_Modify_Save.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-ad40ecf8-3fd8-6a2c-4f20-edfb50fd3348(1).png?sv=2026-02-06&spr=https&st=2026-11-22T12%3A52%3A36Z&se=2026-11-22T13%3A52%3A36Z&sr=c&sp=r&sig=JrGXt9XrUNNoSadoJFpjdskBgT%2FreCfHoEzegNHMxYo%3D) **To create a time-based malware scan for select 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. From the **Admin** menu, select **Policies** to access the **Policies** page. 2. In the Policies table, click the link for the custom policy you want to modify. 3. Select the **Malware Scans** tab. 4. In the Malware Scans section, verify that the **Scheduled Scans** ON/OFF switch is turned **ON**. ![UI_Policy_MalScan_Enable.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-75f4bbe3-4b22-ad87-265a-2d6941799d22(1).png?sv=2026-02-06&spr=https&st=2026-11-22T12%3A52%3A36Z&se=2026-11-22T13%3A52%3A36Z&sr=c&sp=r&sig=JrGXt9XrUNNoSadoJFpjdskBgT%2FreCfHoEzegNHMxYo%3D) 5. In the Malware Scans section, click **Create Scan**to access the **Create Scan** window. ![UI_Policy_MalScan_OD_Create.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-c622de31-5de5-ed4b-99f3-6405e2bb30c6(1).png?sv=2026-02-06&spr=https&st=2026-11-22T12%3A52%3A36Z&se=2026-11-22T13%3A52%3A36Z&sr=c&sp=r&sig=JrGXt9XrUNNoSadoJFpjdskBgT%2FreCfHoEzegNHMxYo%3D) 6. In the **Scan Name** field, enter the name of your scheduled scan. Scan names are restricted to 70 alphanumeric characters or less and can include a combination of dashes, spaces, and underscores. ![UI_Policy_MalScan_Create_Name.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-7946ec35-d9d8-3357-a23c-98d154acb4c9(1).png?sv=2026-02-06&spr=https&st=2026-11-22T12%3A52%3A36Z&se=2026-11-22T13%3A52%3A36Z&sr=c&sp=r&sig=JrGXt9XrUNNoSadoJFpjdskBgT%2FreCfHoEzegNHMxYo%3D) 7. In the scan event drop-down, Select **Time** to create a time-based malware scan. 8. Select the recurrence interval and click **Apply**. Options include daily, weekly, and monthly. ![UI_Policy_MalScan_OD_Occur.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-3b9e9827-a3af-923d-564d-8b0f8b00898f(1).png?sv=2026-02-06&spr=https&st=2026-11-22T12%3A52%3A36Z&se=2026-11-22T13%3A52%3A36Z&sr=c&sp=r&sig=JrGXt9XrUNNoSadoJFpjdskBgT%2FreCfHoEzegNHMxYo%3D) 9. Select a date and time when you want your scans to start. Start time is local to the host endpoint. The default time is the local time. ![UI_Policy_MalScan_Create_Date.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-0a5fcec3-c47a-248c-7b7f-a159aa8dc73b(1).png?sv=2026-02-06&spr=https&st=2026-11-22T12%3A52%3A36Z&se=2026-11-22T13%3A52%3A36Z&sr=c&sp=r&sig=JrGXt9XrUNNoSadoJFpjdskBgT%2FreCfHoEzegNHMxYo%3D) 10. In the **Scan will have the following depth** section, select the scan depth. Options include Full, and Active Memory. 11. Click **Create** to create your on-demand malware scan. 12. Click **Save** to save your on-demand malware scan to the Malware Scans policy. ![Policy_MalScans_OD_Modify_Save.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-ad40ecf8-3fd8-6a2c-4f20-edfb50fd3348(1).png?sv=2026-02-06&spr=https&st=2026-11-22T12%3A52%3A36Z&se=2026-11-22T13%3A52%3A36Z&sr=c&sp=r&sig=JrGXt9XrUNNoSadoJFpjdskBgT%2FreCfHoEzegNHMxYo%3D) ### Important Your on-demand malware scans are not saved to your Malware Scans policy until you 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. :