It is impossible to detect .bat and .cmd files by format, because these are regular plain text files.
If you want to block attachments, you can only configure detection of these files by masks: *.bat, *.cmd.
Please check the section "Configuring the general settings and conditions of rules" of the sites https://support.kaspersky.com/KS4Exchange/9.6/en-US/166855.htm
Add a condition for the Attachment filtering rule and select File name mask instead of File format and then add *.bat
Problem Description, Symptoms & Impact
Sometimes an error might occur when installing KSE:
KseCheckServicePortIsFreeActionStep has completed with an error: Service network port 13100 is occupied by another application…
Diagnostics
Screenshot or KSEInfoCollector.
Make sure that port 13100 is open and not used by any application, and repeat the installation. This can be done using the command below. You will see a chart with a process ID (PID column) nex