codex-computer-use.exe screenshot fails on Win10 22H2: SetIsBorderRequired not supported
What version of the Codex App are you using (From “About Codex” dialog)?
Codex version: 26.601.2237.0
What subscription do you have?
Pro
What platform is your computer?
Windows10
What issue are you seeing?
环境:
OS: Windows 10 22H2 (Build 19045)
Codex version: 26.601.2237.0
Computer Use plugin: 26.601.21317
Helper EXE: codex-computer-use.exe (1,683,456 bytes, modified 2026-06-03)
问题描述:
sky.get_window_state() 和 sky.screenshot() 均返回错误:SetIsBorderRequired failed: 不支持此接口 (0x80004002)
复现步骤:
在 Win10 19045 上安装 Codex 26.601.2237.0
启用 Computer Use 插件
运行 sky.list_apps() → 正常
运行 sky.get_window_state() 或 sky.screenshot() → 报错
补充信息:
6月2日(更新前)截图功能正常,6月3日更新 EXE 后失效
list_apps、launch_app、activate_window 均正常
非浏览器窗口(记事本、Trae CN)同样失败,排除浏览器安全策略干扰
GraphicsCapture.dll 存在于 System32
怀疑原因:新版 helper 调用了 IGraphicsCaptureSession2::SetIsBorderRequired,该接口在 Win10 19045 上不可用,缺少降级处理。
What steps can reproduce the bug?
使用computer use进行截图
What is the expected behavior?
截图
Additional information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗