Skip to content

[Windows][26.730.7989.0] Computer Use fails before app selection with EPERM lstat on Codex runtime #37029

Description

@Ahmedmabdallah484

What version of the Codex App are you using (From “About Codex” dialog)?

26.730.7989.0

What subscription do you have?

ChatGPT subscription (exact tier not displayed in Codex App)

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

Summary

After updating the Codex Windows desktop app, Computer Use / Any App fails before it can enumerate or control any desktop application. This is not specific to Claude: a harmless Notepad test fails at the same initialization point.

Exact error (username redacted):

EPERM: operation not permitted, lstat 'C:\Users\<redacted>\AppData\Local\OpenAI\Codex'

The failure happens while importing the bundled @oai/sky package, before list_windows() or any app-specific operation can run.

Impact

  • Any App cannot control Claude, Notepad, or any other Windows application.
  • No target application is opened or touched.
  • Browser/in-app-browser functionality can still work, so the failure is specific to the Computer Use runtime initialization path.

Troubleshooting already completed

  • Repaired the Codex app from Windows Advanced options.
  • Restarted Codex.
  • Rebooted Windows.
  • Verified the affected directory exists.
  • Verified the signed-in Windows user has Full Control on the directory.
  • Retested with a fresh Node REPL kernel.
  • Observed bundled Computer Use plugin cache refresh from 26.730.61309 to 26.730.61639; the same EPERM remains.

The problem started immediately after the Codex desktop update.

Relevant related reports

This looks like a Windows AppContainer/sandbox runtime path regression rather than a target-app permission problem.

What steps can reproduce the bug?

  1. Install or update Codex Desktop for Windows to 26.730.7989.0.
  2. Enable the bundled Computer Use / Any App feature.
  3. Start a fresh Codex task and request control of a harmless application such as Notepad.
  4. The documented initialization runs:
if (!globalThis.sky) {
  const { sky } = await import("@oai/sky");
  globalThis.sky = sky;
}
  1. The import fails immediately with:
EPERM: operation not permitted, lstat 'C:\Users\<redacted>\AppData\Local\OpenAI\Codex'

The failure occurs before sky.list_windows() and before any desktop app is selected. Repairing the app, restarting Codex, and rebooting Windows do not resolve it.

What is the expected behavior?

@oai/sky should load successfully, sky.list_windows() should enumerate available windows, and Computer Use should then request/obey normal per-app authorization before interacting with Notepad or another selected application.

A user-level Full Control ACL on the extracted Codex runtime should not still produce EPERM inside the app's own sandboxed Computer Use loader.

Additional information

  • Codex AppX: 26.730.7989.0 x64
  • Windows: Microsoft Windows NT 10.0.26200.0 x64
  • Computer Use plugin observed: 26.730.61309, later 26.730.61639 after cache refresh
  • The path and account name above are deliberately redacted.
  • Subscription tier is not displayed in the Codex app used for this report.
  • Session ID omitted from this public report for privacy; it can be supplied privately if maintainers request it.

Recent issue search shows multiple new Windows/Computer Use reports between Aug 2-5, 2026, including #37013 on the exact same AppX version. This report is separate because the failure occurs even earlier, during the first @oai/sky import.

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't workingcomputer-usesandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions