Windows 11 Smart App Control blocks locally compiled C++ ASI module - Event ID 3077

GhostSoldier 0 Reputation points
2026-11-26T19:21:13.4333333+00:00

Hello,

I am an independent developer working on a custom Chaos Mod for Red Dead Redemption 2 on Windows 11.

I compile a C++ module named ChaosMod.asi using Visual Studio.

The problem is that Smart App Control blocks some newly compiled versions of the module, while other versions work correctly.

Windows Event Viewer reports Event ID 3077 under Microsoft-Windows-CodeIntegrity/Operational.

I have already contacted Microsoft Support, which redirected me to Windows Developer Support.

I would like to know:

Why are some compilations accepted while others are blocked?

Is there an official, free code-signing solution for independent developers?

What is the recommended development and testing workflow for locally compiled modules while keeping Smart App Control enabled?

Is there a way to diagnose the exact reason for these inconsistent blocking decisions?

My goal is to continue developing and testing my project without disabling Windows security features or purchasing an expensive certificate.

Thank you for your assistance.

Windows for home | Windows 11 | Security and privacy
0 comments No comments

1 answer

Sort by: Most helpful
  1. AI answer

    2026-11-26T19:21:33.33+00:00

    Smart App Control can block newly compiled executables and modules even when they are legitimate. There is currently no way to allow a single specific app or module through Smart App Control. If a file is untrusted or unsigned, Smart App Control can block it, and this is expected behavior for newly built development outputs.

    For the specific questions:

    1. Why some compilations are accepted and others are blocked
      • Smart App Control blocks apps that are malicious or untrusted.
      • Newly compiled binaries can be treated differently depending on whether they are considered trusted or have a valid signature.
      • Event ID 3077 indicates enforcement mode blocking.
      • Event ID 3076 is the audit-mode equivalent and shows a file would have been blocked.
    2. Official free code-signing solution for independent developers
      • The available context does not describe a free code-signing option for independent developers.
      • For /INTEGRITYCHECK-linked user-mode PE files, Windows requires signing with Trusted Signing (formerly Azure Code Signing).
    3. Recommended development and testing workflow while keeping Smart App Control enabled
      • Use Smart App Control audit policies to test the app’s signature before distribution.
      • Test all code paths, including install, uninstall, features, and integrations.
      • Configure the Smart App Control audit policy, then refresh the policy with citool.exe -r from an elevated command prompt.
      • Review Event Viewer at Application and Services Logs > Microsoft > Windows > CodeIntegrity > Operational.
      • In audit mode, look for 3076 events to identify files that would be blocked without actually blocking them.
      • Smart App Control modes are:
        • 0 = Off
        • 1 = On (Enforcement)
        • 2 = Evaluation
      • To verify the current mode, run citool.exe -lp.
    4. How to diagnose the exact reason for inconsistent blocking
      • Check the CodeIntegrity - Operational log.
      • Smart App Control logs blocked or audited files there.
      • The log does not show installer-level failure reasons; it only shows which individual files were blocked or audited.
      • Review the 3076 or 3077 entries for the exact file involved.
      • Event ID 3033 can indicate signature-related issues such as a revoked signature or an expired signature in specific cases.
      • Event ID 3004 can indicate an invalid signature scenario.

    Important limitation:

    • There is currently no per-app bypass or exclusion for Smart App Control. The available options are to turn Smart App Control off or use properly signed binaries.
    • If Smart App Control was turned off manually, recent Windows updates allow it to be re-enabled without requiring a clean installation.

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.