Configuring the Delete file task
13 September 2022
ID 195917
This Help provides information related to Kaspersky Endpoint Agent for Windows. This information may be partially or completely inapplicable to Kaspersky Endpoint Agent for Linux. For complete information about Kaspersky Endpoint Agent for Linux, please refer to the Help of the solution that includes the application: Kaspersky Anti Targeted Attack Platform or Kaspersky Managed Detection and Response.
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 delete list, click the Add button.
- The File to delete dialog box opens.
- In the Specify the file to delete drop-down list, select one of the following values: Specify the file by its full path or Specify the file by its folder path and checksum.
- If you select the Specify the file by its full path option, specify the value 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 File checksum field.
- Specify the value in the File folder path field.
- Select the Including 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 removed 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.
- 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 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.