Windows Computer Use fails in EnumWindows and leaks interrupt-file errors (0x80070003 / 0x80070002)

Open 💬 1 comment Opened Aug 9, 2026 by rafaelkbps
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

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

26.803.5235

What subscription do you have?

ChatGPT Pro

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

Computer Use can no longer enumerate Windows applications or windows. Every sky.list_apps() and sky.list_windows() call fails before any UI interaction.

Original error:

EnumWindows failed: O sistema não pode encontrar o caminho especificado. (0x80070003)

English translation: “The system cannot find the path specified.”

Process Monitor shows codex-computer-use.exe probing a missing per-run interrupt marker below:

C:\Users\<user>\.codex\cache\computer-use\interrupts\<task-id>\<run-id>

After creating only the missing parent directories—not the marker file—the error changes reproducibly to:

EnumWindows failed: O sistema não pode encontrar o arquivo especificado. (0x80070002)

English translation: “The system cannot find the file specified.”

This strongly suggests that a missing interrupt marker is expected during normal operation, but its Win32 last-error value is leaking into the later EnumWindows failure/reporting path. The marker itself was not created because it may signal cancellation.

Computer Use worked normally on this PC until approximately 4–5 days before this report.

<img width="1920" height="208" alt="Image" src="https://github.com/user-attachments/assets/f038a048-f96d-4b5a-9df1-c3e0a5582c12" />

computer-use-enumwindows.zip

What steps can reproduce the bug?

  1. Start Codex Desktop on Windows.
  2. Enable/install the bundled Computer Use plugin.
  3. In a task, import @oai/sky and call await sky.list_apps() or await sky.list_windows().
  4. Observe EnumWindows failed ... (0x80070003).
  5. Capture codex-computer-use.exe with Process Monitor filtered to PATH NOT FOUND.
  6. Create only the parent directory %USERPROFILE%\.codex\cache\computer-use\interrupts\<task-id> and retry.
  7. Observe that the reported error changes to 0x80070002.

Repairs already attempted without success:

  • Fully reinstalled Codex and cleared application data.
  • Rebuilt the bundled marketplace cache.
  • Rebuilt the installed Computer Use plugin cache.
  • Rebuilt the complete cua_node runtime.
  • Rebooted Windows between rebuilds.
  • Verified that old and freshly rebuilt helper executables have identical SHA-256 hashes.

The native Computer Use pipe starts successfully and codex-computer-use.exe is running, so this occurs after native bridge initialization.

What is the expected behavior?

sky.list_apps() and sky.list_windows() should enumerate targetable Windows applications and windows. A missing interrupt marker should mean “not interrupted” and must not be surfaced as the error for EnumWindows.

Additional information

Codex App: 26.803.5235
Computer Use plugin: 26.803.41515
CUA runtime: cua_node/f1bf3cd3a5929acd
Locale: pt-BR

Fresh and backup helper SHA-256 values were identical:

  • @oai/cua/.../codex-computer-use.exe: E02253B6C1FD1111CAF23D328B2EBFCC7AA7534CAF50BF77A8F6C46E618B8C89
  • @oai/sky/.../codex-computer-use.exe: 463D54DDB8A351CB206CB4BEBF4943F63E1BC8087D310D102C5FAE417B255EB4

A filtered Process Monitor PML trace and screenshot are attached.

View original on GitHub ↗

1 Comment

github-actions[bot] contributor · 18 days ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #37595

Powered by Codex Action