d2phap/ImageGlass

ImageGlass 9.6.x fails to start on Windows 11 25H2 when Smart App Control (WDAC) is enabled

开放

#2,400 创建于 2026年8月6日

 (3 条评论) (0 个反应) (0 位负责人)C# (728 个派生)batch import
help wanted🐞 bug

仓库指标

星标
 (14,032 个星标)
PR 合并指标
 (平均合并 2分钟) (30 天内合并 1 个 PR)

描述

Windows OS version

Windows 11 25H2

ImageGlass version

9.6.1.807

ImageGlass release

Classic

1️⃣ Steps to reproduce

  1. Install ImageGlass 9.6.1.807 on Windows 11 25H2.
  2. Ensure Smart App Control is enabled.
  3. Launch ImageGlass.
  4. The application immediately fails during startup with FileLoadException.

2️⃣ Actual behavior

ImageGlass does not start.

Startup fails with:

System.IO.FileLoadException

Could not load file or assembly 'Microsoft.Extensions.Primitives.dll'

An Application Control policy has blocked this file. (0x800711C7)

Windows Code Integrity logs Event ID 3077 indicating that loading Microsoft.Extensions.Primitives.dll does not meet the Enterprise signing level requirements or violates the active code integrity policy.

3️⃣ Expected behavior

ImageGlass should start normally on Windows 11 25H2 with Smart App Control enabled, as ImageGlass 9.5.0.515 does on the same machine.

4️⃣ Screenshots / Video / Sample image file

No response

5️⃣ Additional context

Additional findings:

  • ImageGlass 9.5.0.515 works correctly on the same machine.
  • ImageGlass.exe has a valid Authenticode signature (Sectigo).
  • Windows Code Integrity logs Event ID 3077.
  • Policy ID: {0283AC0F-FFF1-49AE-ADA1-8A933130CAD6}
  • The blocked file is Microsoft.Extensions.Primitives.dll.
  • The issue occurs only with ImageGlass 9.6.x.

贡献者指南