--- title: "Delete an on-demand scan task" slug: "delete-an-on-demand-scan-task-1" tags: ["Product Usage", "ENS 10.7.x"] updated: 2026-10-07T17:28:51Z published: 2026-10-07T17:28:51Z canonical: "docs.trellix.com/delete-an-on-demand-scan-task-1" --- > ## 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. # Delete an on-demand scan task Delete an on-demand scan task when you no longer need it. 1. Log on to the system as a user with administrator rights. 2. Change directory to the /bin folder of the software. `cd /opt/McAfee/ens/tp/bin` 3. Run a command using this syntax. `./mfetpcli --deltask --index [index number]` Replace `[index number]` with the index number of the task to delete.