Borea icon indicating copy to clipboard operation
Borea copied to clipboard

Explain a launch that Windows Application Control blocked

Open Maximilian-Nesslauer opened this issue 4 days ago • 0 comments

On Windows 11, Smart App Control (or another Windows Application Control policy) can block a program or a DLL before it runs. A player reported that every launch failed with only this text:

The system did not start '...\Loaders\StarMap\0.5.4\StarMap.exe': An error occurred trying to start process ... An Application Control policy has blocked this file.

Some days before, the same player had a crash in the game itself, because Windows blocked glfw3.dll of KSA (DllNotFoundException: Unable to load DLL 'glfw3' ... An Application Control policy has blocked this file. (0x800711C7)).

The player tried to validate the game files, which cannot help, because no file is broken.

Smart App Control blocks files that have no signature and that Microsoft does not know well enough. StarMap, KSA (KSA.exe, glfw3.dll) and the Windows build of Borea itself have no Authenticode signature, so each of them can be blocked. Only the authors of each program can sign it.

Change

When the start of the loader or the game fails with Win32 error 4551 (HRESULT 0x800711C7, "An Application Control policy has blocked this file"), Borea shows its own text instead of the raw message:

  • Windows blocked the file, and Borea names the file.
  • The likely cause is Smart App Control, which blocks unsigned programs. StarMap, KSA and Borea are not signed, so this is not a broken file, and validating the game files does not help.
  • Where the player can look: Windows Security, App & browser control, Smart App Control settings. When it is on, the player can turn it off there. On some Windows builds Smart App Control cannot be turned on again without a reset of Windows, so the player must read the text in that dialog first.
  • When Smart App Control is off, a company policy can be the cause, and event 3077 or 3033 in the CodeIntegrity Operational log names the file and the policy.

The same text applies when the output of a game that stopped early contains "An Application Control policy has blocked this file", because then Windows blocked a DLL that the game loads, such as glfw3.dll.

This covers the launch through a loader (LoaderLauncher) and the launch of the shared profile (SharedProfileLauncher). Borea cannot show anything when Windows blocks borea.exe itself.

Maximilian-Nesslauer avatar Nov 29 '26 17:11 Maximilian-Nesslauer