Kaspersky Endpoint Agent

Configuring the Delete file task

November 17, 2023

ID 195917

Task creation is performed before, as an individual step.

If you selected the Open task details when creation is complete check box on the Finish task creation page during the task creation, proceed to step 4 of the following instruction.

To configure the Delete file task settings:

  1. In the main Kaspersky Security Center Web Console window select DevicesTasks.
  2. To open the task settings window, click the task name.
  3. Select the Application settings tab.
  4. In the File to be deleted list, click Add.
  5. The File to be deleted dialog box will open.
  6. In the Please specify the file to be deleted drop-down list, select one of the following values: Specify the file by full path or Specify the file by folder path and checksum.
  7. If you select the Specify the file by full path option, specify the full path to the file in the File full path field.
  8. If you select the Specify the file by folder path and checksum option, configure the following settings:
    • In the Checksum type drop-down list, select one of the following values: MD5 or SHA256.
    • Specify the value in the Checksum field.
    • Specify the value in the File folder path field.
    • Select the Include subfolders check box to have the application to delete all occurrences of the object in all subfolders of the specified folder as well.
  9. Click OK to add the specified object to the File to be deleted list.

    You can specify several objects for deletion in one Delete file task.

  10. In the Protection of critical system files group of settings, select the Do not perform actions on critical system files check box if you want to exclude critical system files from the task scope.

    If this option is selected and an object is a critical system file, the application does not perform any actions on this object. This information is logged in the task execution report.

  11. Click the Save button.

You can start the created task manually or configure a scheduled task start.

If the file is locked by another process, the task will be displayed with the Completed status, but the file itself will only be deleted after the device has been restarted. It is recommended to check whether the file was deleted successfully after the device has been restarted.

Deleting a file from a connected network drive is not supported.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.