Why is there no block message from Idira EPM when a .bat script is blocked?
Question
Why is there no block message from Idira EPM when a .bat script is blocked?
Environment
EPM Windows Agent
Answer
Idira Endpoint Privilege Manager (EPM) can apply block actions based on two types of events: FILEOPEN and PROCSTART. However, customers may notice that when a .bat script is blocked, no block dialog appears. This behavior is expected and stems from how the operating system interacts with EPM and how EPM is designed to handle these events.
EPM can enforce block on both FILEOPEN and PROCSTART events. However, the logic for displaying block dialogs differs between the two.
Whether a block is applied—and whether a dialog is shown—depends on how EPM policies are configured and prioritized. Some policies may block silently without user notification.
- The operating system often performs multiple
FILEOPENactions when attempting to launch a script. - The number of
FILEOPENattempts is unpredictable and can be excessive. - Applications like Windows Explorer may trigger many
FILEOPENevents during a single user action (e.g., double-clicking a.batfile). - To avoid overwhelming users with multiple dialogs, EPM limits dialog display for
FILEOPENevents.
The absence of a block dialog when a .bat script is blocked is a result of EPM’s design to balance security enforcement with user experience.