In the application settings window, select Advanced Threat Protection → Behavior Detection.
Behavior Detection settings
Select the relevant action in the Action on malware activity detection block:
Delete file. If this item is selected, on detecting malicious activity Kaspersky Endpoint Security deletes the executable file of the malicious application and creates a backup copy of the file in Backup.
Block. If this item is selected, on detecting malicious activity Kaspersky Endpoint Security terminates this application.
Inform. If this item is selected and malware activity of an application is detected, Kaspersky Endpoint Security adds information about the malware activity of the application to the list of active threats.