You can remotely delete files using the Delete file task. For example, you can remotely delete a file when responding to threats.
You can configure the task for EDR Optimum in Web Console and Cloud Console. Task settings for EDR Expert are available only in Cloud Console.
To create a Delete file task:
The list of tasks opens.
The Task Wizard starts.
By default, Kaspersky Endpoint Security starts the task as the system user account (SYSTEM).
A new task will be displayed in the list of tasks.
The task properties window opens.
The file adding wizard starts.
If the file is located on a network drive, enter the file path starting with \\
, and not the drive letter. For example, \\server\shared_folder\file.exe
. If the file path contains a network drive letter, you can get a File not found error.
As a result, Kaspersky Endpoint Security deletes the file from the computer. If the file is locked by a different process, the task is displayed as Completed, but the file itself is deleted only after the computer is restarted. After restarting the computer, confirm that the file is deleted.
The Delete file task can finish with the Access denied error if you are trying to delete an executable file that is currently running. Create a terminate process task for the file and try again.
Page top