Smart App Control is behaving as designed in this case.
VerifiedAndReputableDesktop means Smart App Control is in enforcement mode. In enforcement mode, apps and binaries run only if they are recognized as safe by Microsoft app intelligence services or are signed with a trusted certificate. Unknown, unsigned code is blocked by default.
That matches the symptoms described:
- GCC-built test executables are treated as unknown code unless they have reputation or trusted signing.
-
.pyd files are native binary modules, and if Event Viewer shows them as unsigned, Smart App Control can block them.
- Event ID 3077 is the main enforced-policy block event.
For troubleshooting, use this path:
- Open Event Viewer.
- Go to Application and Services Logs > Microsoft > Windows > CodeIntegrity > Operational.
- Review 3077 events for blocked files.
- If available, correlate them with 3089 events to inspect signature details for the same file. The correlation is done with the Correlation ActivityID in the System section of the event.
Important limitation: the Code Integrity log does not explain an installation failure as a whole. It only records which individual files were blocked or audited. For Python packages or installers, the useful signal is which specific .pyd, .exe, or other binary file was blocked.
Mode checks:
- In Settings > Windows Security > App and Browser Control:
- On = enforcement mode
- Evaluation = evaluation mode
- Off = not running
- From a command prompt,
citool.exe -lp shows the current Smart App Control policy:
-
VerifiedAndReputableDesktop = enforcement mode
-
VerifiedAndReputableDesktopEvaluation = evaluation mode
If Smart App Control is blocking development workflows, the supported consumer options are limited:
- Evaluation mode does not block anything, but once evaluation is complete, or if Smart App Control is manually switched on or off, it cannot be returned to evaluation mode unless Windows is reset or reinstalled.
- Off stops Smart App Control blocking, but turning it off may prevent returning to the previous state without resetting or reinstalling Windows.
For a development machine, this behavior is expected because Smart App Control is intended to block untrusted or unsigned code, and the documentation notes that developers and similar users may not be a good fit for it.
References: