Skip to content
    Securly Learn DocsSign in
    All documentation

    Classroom › Troubleshoot

    Classroom MSI Agent fails, blocked by Microsoft Defender

    You may come across a message "Microsoft Defender Exploit Guard has blocked an operation that is not allowed by your IT administrator." Installation fails when Attack Surface Reduction (ASR) rules are in place. Specifically, this occurs with the rule "Block executable files from running unless they meet a prevalence, age, or trusted list criterion." The rule blocks the MSI from unpacking temporary files to the User Profile's \AppData\Local\Temp\ directory.

    To fix this, create an exception using Inclusions and the MSI's public certificate.

    1. Extract the public certificate from the MSI file: Right click the MSI -> Properties -> Digital Signatures tab -> Details -> View Certificate -> Details -> Copy to File. 

    2. Then select the DER encoded binary X509 (.cer)).

    3. Navigate to the Indicators page in Defender for Endpoint (Settings > Endpoints > Indicators (under Rules).

    4. Add an Indicator using the extracted .cer file. 

    For more information on indicators, see https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/indicator-certificates?view=o365-worldwide

    You're viewing the text-only version of the Securly Learn help center. Sign in for search, the AI assistant, images, audio, and downloads.