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:
In the main Kaspersky Security Center Web Console window select Devices → Tasks.
To open the task settings window, click the task name.
Select the Application settings tab.
In the File to be deleted list click Add.
The File to be deleted dialog box opens.
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.
If you select the Specify the file by full path option, specify the full path to the file in the File full path field.
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 for the application to delete all occurrences of the object not only in the specified folder, but also in all its subfolders.
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.
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.
If the file is locked by another process, the task will be displayed with the Completed status, but the file itself will be deleted only after the device is restarted. It is recommended to check if the file is deleted successfully after the device is restarted.
Deleting a file from a connected network drive is not supported.