jrnl-org/jrnl

Windows Smart App Control is blocking the app

Open

#2,044 创建于 2026年1月29日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)Python (6,119 star) (513 fork)batch import
:pushpin:bughelp wanted

描述

Diagnostic output

Not available. See next step.

Current Behavior

I suppose a recent update enabled Windows Smart App Control on my device. The app looks for verified signatures before any app is launched. If the app lacks such a signature it gets blocked. There is no manual override.

jrnl does not appear to be signed. As a result, invoking the app from the terminal now yields:

XYZ> jrnl
ResourceUnavailable: Program 'jrnl.exe' failed to run: An error occurred trying to start process 'c:\users\XYZ\.local\bin\jrnl.exe' with working directory 'C:\Users\XYZ'. An Application Control policy has blocked this file.At line:1 char:1
+ jrnl
+ ~~~~.

Clicking on jrnl.exe yields a pop-up windows stating that "Smart App Control has blocked an app that my be unsafe". In short, I cannot use the app on my device.

The solution -- according to Microsoft -- is for the app provider, in this case jrnl, to sign their app with a valid signature.

(FWIW according to MS optional diagnostic data must be enabled to have Smart App Control enabled. I am opted out of optional diagnostic data so in principle it should not be turned on....)

Expected Behavior

I expect the app to run.

Repro Steps

XYZ> jrnl
ResourceUnavailable: Program 'jrnl.exe' failed to run: An error occurred trying to start process 'c:\users\XYZ\.local\bin\jrnl.exe' with working directory 'C:\Users\XYZ'. An Application Control policy has blocked this file.At line:1 char:1
+ jrnl
+ ~~~~.

Debug output

XYZ> jrnl
ResourceUnavailable: Program 'jrnl.exe' failed to run: An error occurred trying to start process 'c:\users\XYZ\.local\bin\jrnl.exe' with working directory 'C:\Users\XYZ'. An Application Control policy has blocked this file.At line:1 char:1
+ jrnl
+ ~~~~.

Other Information

No response

贡献者指南