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:
- 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.
- 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).
- 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 -rfrom 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.
- 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.
- Smart App Control Frequently Asked Questions | Microsoft Support
- Understanding App Control events
- Test your app's signature with Smart App Control
- KB5022661—Windows support for the Trusted Signing (formerly Azure Code Signing) program | Microsoft Support
- App & browser control in the Windows Security App | Microsoft Support