Smart App Control blocks protoc-gen-grpc-java

Дмитрий Логинов 20 Баллы репутации
2026-10-23T20:35:28.3+00:00

Recently, Smart App Control has begun blocking the execution of the Java class generator for Protobuf files (protoc-gen-grpc-java). I am developing a Java application using the Quarkus framework, which invokes protoc; this, in turn, triggers the executable io.grpc-protoc-gen-grpc-java-windows-x86_64.exe to generate java-classes. Everything was working perfectly until a couple of weeks ago, but today I encountered the following error:

--grpc_out: protoc-gen-grpc: An Application Control policy has blocked this file.

Troubleshooting pointed to the VerifiedAndReputableDesktop policy (0283ac0f-fff1-49ae-ada1-8a933130cad6) as the cause for blocking the generator. I suspect this issue might be related to the installation of the KB5127648 update, though it is also possible that there have been changes to the file reputation verification mechanisms, causing the generator to fail these checks.

I could disable Smart App Control, which would likely resolve the issue, but I am concerned about the potential security implications. Could you offer any advice?

Windows для дома | Windows 11 | Безопасность и конфиденциальность
Комментариев: 0 Без комментариев

Ответ, принятый автором вопроса
Emma1-N 16,175 Баллы репутации Внешний персонал Microsoft Модератор
2026-10-24T04:04:26.83+00:00

I will answer you in English based on your previous message. As a friendly suggestion, posting in Russian may help your question reach a wider audience and increase the chances of receiving assistance from other community members. 


Welcome Дмитрий Логинов,

Thank you for reaching out to Microsoft Q&A.

Why this can happen

Smart App Control first checks whether Microsoft's cloud intelligence can confidently predict that a file is safe. If it can't, the file only runs when it has a valid signature from a certificate authority in the Microsoft Trusted Root Program. Unsigned files with no positive reputation are blocked. This applies to executables that another tool launches, such as protoc, and not only to downloaded installers. The reputation of a file can also change over time. The error alone doesn't show which update, if any, changed this, so the event details in Step 1 are the best way to confirm the cause.

Steps to try

  1. Confirm what was blocked. Open Windows Security > App & browser control > Smart App Control settings and check that it shows On. Then open Event Viewer > Applications and Services Logs > Microsoft > Windows > CodeIntegrity > Operational and look for event ID 3077. Note the File Name and PolicyName in the details.
  2. If you need to keep working right now, turn Smart App Control off. Go to Windows Security > App & browser control > Smart App Control settings and select Off. Warning: this lowers protection against untrusted or unsigned apps, so only do it if you trust the file and its source. Microsoft Defender Antivirus keeps protecting the PC. Smart App Control can't be set to allow one specific app, so the options are to turn it off or to use a signed binary.
  3. Turn it back on after your build is done. Go to Windows Security > App & browser control > Smart App Control settings and select On.

If the file is still blocked, please share the event 3077 details, with your user name or any personal information removed. That will show which policy blocked the file.

Official references:

Looking forward to your update.

Этот ответ помог вам?

Один пользователь счел этот ответ полезным.

Дополнительные ответы: 0

Сортировать по: Наиболее полезные

Ваш ответ

Автор вопроса может устанавливать для ответов пометку "Принято", а модераторы — пометку "Рекомендуется". Благодаря этому пользователям становится проще понять, какой из ответов помог решить проблему автора.