Configuring the Delete file task
29 May 2023
ID 195917
This section 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 be deleted list, click Add.
- The File to be deleted dialog box will open.
- 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 to have the application to delete all occurrences of the object in all subfolders of the specified folder as well.
- 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.
- 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.