[GH-ISSUE #5911] Windows 11 25H2 blocks Native Mods build — error 4551 #1880

Open
opened 2026-11-02 15:50:20 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @yentt0 on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5911

Windows 11 25H2 blocks Native Mods build — error 4551

Horizon launcher version: 0.2.32

Operating system: Windows 11 25H2

Minecraft version: 26.3

Installed native mods:

  • fps_overlay.hnmod
  • minimap.hnmod
  • zoom.hnmod

Problem:

When I press Build in Native Mods, the build fails with exit code 101.

Windows blocks Rust build scripts with this message:

Application Control policy has blocked this file. (os error 4551)

The build log contains:

error: failed to run custom build command for quote v1.0.47

error: failed to run custom build command for camino v1.2.6

could not execute process ... build-script-build (never executed)

error: failed to compile horizon-mixins-cli v0.5.0

I am using Windows 11 25H2 with Smart App Control enabled.

Could you please help me understand how to fix this without disabling Windows security?

Originally created by @yentt0 on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5911 Windows 11 25H2 blocks Native Mods build — error 4551 **Horizon launcher version:** 0.2.32 **Operating system:** Windows 11 25H2 **Minecraft version:** 26.3 **Installed native mods:** - fps_overlay.hnmod - minimap.hnmod - zoom.hnmod **Problem:** When I press Build in Native Mods, the build fails with exit code 101. Windows blocks Rust build scripts with this message: `Application Control policy has blocked this file. (os error 4551)` The build log contains: `error: failed to run custom build command for quote v1.0.47` `error: failed to run custom build command for camino v1.2.6` `could not execute process ... build-script-build (never executed)` `error: failed to compile horizon-mixins-cli v0.5.0` I am using Windows 11 25H2 with Smart App Control enabled. Could you please help me understand how to fix this without disabling Windows security?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#1880
No description provided.