EPM Agent Policy Mismatch When Installing Applications via Intune as System

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Endpoint Privilege Manager (EPM) Articles
3 min read
L0 Member
No ratings

Question

When deploying applications using Microsoft Intune with the "Install as system" option enabled, the Idira EPM Agent may not apply the expected policies. This results in installations being blocked or not elevated, even though matching policies exist.

The EPM Agent evaluates policies based on the context of the process initiating the action. When Intune runs installers as the Local System account, the process metadata (e.g., parent process, user context, source path) differs from standard user-initiated installations.

As a result:

  • Policy conditions may not match.
  • Trust may not be inherited correctly from the system-level process.

Answer

To resolve this issue, disable Exclude service accounts from access restrictions via the EPM Console

What is Exclude service accounts from access restrictions?

The Exclude service accounts from access restrictions setting controls whether the EPM Agent evaluates processes running under built-in service accounts, such as SYSTEM, LOCAL SERVICE, NETWORK SERVICE.

 
  • When enabled, system-level processes are ignored by the agent for policy matching.
  • When disabled, system-level processes are included, allowing policies to apply even when applications are installed via Intune or other system-level tools.

This setting is critical when using Microsoft Intune’s “Install as system” option, as installers launched this way will otherwise bypass EPM policy evaluation.


How to Change This Setting in the EPM Console

  1. Log in to the EPM Administration Console.
  2. Go to Configuration
  3. Click the More actions (...) button in the General configuration section.
  4. Select Edit Parameters.
  5. Locate the setting labeled Exclude service accounts from access restrictions under the Policies category.
  6. Change the value from On to Off.
  7. Save the configuration.

The updated configuration will be pushed to endpoints according to the Policy update interval defined in your environment.


How to Trigger a Policy Update

To apply the updated configuration immediately on an endpoint:

 

  1. Right-click the Idira EPM Agent tray icon.
  2. Select Request Settings.

How to Confirm the Setting Was Applied on the Endpoint

You cannot directly view the agent’s active configuration XML from the file system. Instead, follow these steps to confirm the setting was applied:

  1. Collect Support Information from the endpoint:

    • Right-click the Idira EPM Agent tray icon.
    • Select Get Support Info.
  2. Extract the ZIP File:

    • Locate the file named something like VfSupInfo <timestamp>.zip.
    • Extract the contents.
  3. Navigate to the Configuration File:

    • Inside the extracted folder, locate:
      vf_policies.xml
      
  4. Open the XML File in a text editor and search for:

     

    <ExcludeAllSystemProcs>False</ExcludeAllSystemProcs>
     
    • If the value is False, the setting has been successfully applied.
    • If it still shows True, the policy update may not have completed or the configuration change was not saved in the console.

     

Note: This file is generated as part of the support package and reflects the current applied policy.

Rate this article: