Windows computer control plugin cannot read windows and still returns EPERM after permission is granted — Environment: Windows, Codex desktop app
What version of the Codex App are you using (From “About Codex” dialog)?
标题:Windows 电脑控制插件无法读取窗口,授权后仍返回 EPERM 环境: - Windows - Codex 桌面应用 - 电脑控制组件版本:26.803.81509 - 问题至少从 2026-08-12 持续至 2026-08-13 复现步骤: 1. 在 Codex 中请求使用电脑控制插件列出当前打开的窗口。 2. 插件调用 sky.list_windows()。 3. 运行立即失败,尚未读取到任何窗口。 错误信息: EPERM: operation not permitted, lstat 'C:\Users\1\AppData\Local\OpenAI\Codex' 补充诊断: - 已明确授予 C:\Users\1\AppData\Local\OpenAI\Codex 的读取权限。 - 授权后重置运行环境并再次调用,错误完全相同。 - 对该路径执行只读检查同样返回 Access is denied。 - 已多次重启 Codex,问题仍然存在。 - 插件没有切换、关闭或更改任何窗口。 预期结果: sky.list_windows() 应返回当前可控制窗口的列表,不应因 Codex 自身应用目录的访问权限而失败。 请重点检查 Windows 沙箱向电脑控制 Node 运行库传递文件系统权限的流程。
What subscription do you have?
gpt plus
What platform is your computer?
Win11
What issue are you seeing?
标题:Windows 电脑控制插件无法读取窗口,授权后仍返回 EPERM
环境:
- Windows
- Codex 桌面应用
- 电脑控制组件版本:26.803.81509
- 问题至少从 2026-08-12 持续至 2026-08-13
复现步骤:
- 在 Codex 中请求使用电脑控制插件列出当前打开的窗口。
- 插件调用
sky.list_windows()。 - 运行立即失败,尚未读取到任何窗口。
错误信息:EPERM: operation not permitted, lstat 'C:\Users\1\AppData\Local\OpenAI\Codex'
补充诊断:
- 已明确授予
C:\Users\1\AppData\Local\OpenAI\Codex的读取权限。 - 授权后重置运行环境并再次调用,错误完全相同。
- 对该路径执行只读检查同样返回
Access is denied。 - 已多次重启 Codex,问题仍然存在。
- 插件没有切换、关闭或更改任何窗口。
预期结果:sky.list_windows() 应返回当前可控制窗口的列表,不应因 Codex 自身应用目录的访问权限而失败。
请重点检查 Windows 沙箱向电脑控制 Node 运行库传递文件系统权限的流程。
What steps can reproduce the bug?
标题:Windows 电脑控制插件无法读取窗口,授权后仍返回 EPERM
环境:
- Windows
- Codex 桌面应用
- 电脑控制组件版本:26.803.81509
- 问题至少从 2026-08-12 持续至 2026-08-13
复现步骤:
- 在 Codex 中请求使用电脑控制插件列出当前打开的窗口。
- 插件调用
sky.list_windows()。 - 运行立即失败,尚未读取到任何窗口。
错误信息:EPERM: operation not permitted, lstat 'C:\Users\1\AppData\Local\OpenAI\Codex'
补充诊断:
- 已明确授予
C:\Users\1\AppData\Local\OpenAI\Codex的读取权限。 - 授权后重置运行环境并再次调用,错误完全相同。
- 对该路径执行只读检查同样返回
Access is denied。 - 已多次重启 Codex,问题仍然存在。
- 插件没有切换、关闭或更改任何窗口。
预期结果:sky.list_windows() 应返回当前可控制窗口的列表,不应因 Codex 自身应用目录的访问权限而失败。
请重点检查 Windows 沙箱向电脑控制 Node 运行库传递文件系统权限的流程。
What is the expected behavior?
希望codex可以接管我的电脑
Additional information
_No response_
3 Comments
English translation:
What version of the Codex App are you using (From “About Codex” dialog)?
Title: Windows computer control plugin cannot read windows and still returns EPERM after permission is granted Environment: - Windows - Codex desktop app - Computer control component version: 26.803.81509 - The issue has persisted from at least 2026-08-12 through 2026-08-13 Steps to reproduce: 1. In Codex, request that the computer control plugin list the currently open windows. 2. The plugin calls
sky.list_windows(). 3. The run fails immediately, before any windows are read. Error message:EPERM: operation not permitted, lstat 'C:\Users\1\AppData\Local\OpenAI\Codex'Additional diagnostics: - Read permission forC:\Users\1\AppData\Local\OpenAI\Codexwas explicitly granted. - After granting permission, the runtime environment was reset and the call was attempted again, but the error was exactly the same. - A read-only check on that path also returnsAccess is denied. - Codex has been restarted multiple times, but the issue persists. - The plugin did not switch, close, or modify any windows. Expected result:sky.list_windows()should return a list of currently controllable windows and should not fail because of access permissions for Codex's own application directory. Please focus on checking the process by which the Windows sandbox passes filesystem permissions to the computer control Node runtime.What subscription do you have?
gpt plus
What platform is your computer?
Win11
What issue are you seeing?
Title: Windows computer control plugin cannot read windows and still returns EPERM after permission is granted
Environment:
Steps to reproduce:
sky.list_windows().Error message:
EPERM: operation not permitted, lstat 'C:\Users\1\AppData\Local\OpenAI\Codex'Additional diagnostics:
C:\Users\1\AppData\Local\OpenAI\Codexwas explicitly granted.Access is denied.Expected result:
sky.list_windows()should return a list of currently controllable windows and should not fail because of access permissions for Codex's own application directory.Please focus on checking the process by which the Windows sandbox passes filesystem permissions to the computer control Node runtime.
What steps can reproduce the bug?
Title: Windows computer control plugin cannot read windows and still returns EPERM after permission is granted
Environment:
Steps to reproduce:
sky.list_windows().Error message:
EPERM: operation not permitted, lstat 'C:\Users\1\AppData\Local\OpenAI\Codex'Additional diagnostics:
C:\Users\1\AppData\Local\OpenAI\Codexwas explicitly granted.Access is denied.Expected result:
sky.list_windows()should return a list of currently controllable windows and should not fail because of access permissions for Codex's own application directory.Please focus on checking the process by which the Windows sandbox passes filesystem permissions to the computer control Node runtime.
What is the expected behavior?
I hope Codex can take control of my computer.
Additional information
_No response_
<!-- codex-issue-translator -->
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I encountered a very similar issue on Windows 11 25H2, but with a different failure point.
Environment:
Symptoms:
Computer Use cannot start because the sandbox helper fails with permission errors.
Relevant logs:
codex-command-runner runner exit write failed: os error 232
hide users: failed to hide current user profile dir (C:\Users\Default):
SetFileAttributesW failed for C:\Users\Default:
5 (Access is denied)
Additional observations:
.codex\sandbox-bin\codex-command-runner-0.147.0-alpha.6.6.exeThe failure seems related to Windows sandbox permission handling / ACL configuration.
Hope this additional Windows 11 25H2 reproduction case helps debugging.