Skip to content

Windows Smart App Control is blocking the appΒ #2044

@fmartelg

Description

@fmartelg

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    πŸ“ŒThis can't go stalebugSomething isn't workinghelp wantedMore help wanted from a contributor

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions