openai / openai/codex

Computer Use cannot enumerate Windows apps: EnumWindows fails with 0x80070003

Open
#37,781 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug computer-use windows-os
Dominant language
Rust
Stars
125k
Forks
19.5k
PR merge metrics
PR metrics pending

Description

Summary

In Codex Desktop on Windows, the bundled Computer Use plugin cannot inspect or control tagged desktop applications because window enumeration fails.

Reproduction
  1. Tag Microsoft Calculator in a Codex task.
  2. Ask Codex to inspect Calculator and perform a calculation strictly using the Computer Use plugin.
  3. Initialize @oai/sky as documented by the bundled computer-use skill.
  4. Call sky.list_windows().
Actual result
EnumWindows failed: The system cannot find the path specified. (0x80070003)

Additional observations:

  • sky.list_apps() fails with the same EnumWindows error.
  • sky.launch_app({ app: "C:\\Windows\\System32\\calc.exe" }) returns:
    Error: node_repl exec context not found
    
  • The bundled skill instructs callers to use sky.documentation("guidance"), sky.documentation("confirmations"), and sky.documentation("api"), but the loaded sky object has no documentation method.
  • Calculator itself can run; the failure appears confined to the Computer Use control/runtime path.
Environment
  • Codex Desktop on Windows
  • Computer Use plugin skill bundle: 26.803.41515
  • Date observed: 2026-08-10
  • Target app: Microsoft Windows Calculator (Microsoft.WindowsCalculator_8wekyb3d8bbwe!App)
Expected result

Computer Use should enumerate the tagged Calculator window, inspect its state, send calculator input, and read the displayed result.

No personal paths, account identifiers, or user content are included in this report.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Windows Computer Use flow with the bundled computer-use skill: initialize @oai/sky, then run sky.list_windows(), sky.list_apps(), and sky.launch_app() for Calculator. Compare the loaded sky object with the skill's documented guidance, confirmations, and api calls. Done means tagged Calculator windows can be enumerated and controlled without the reported errors, and the documented interface matches the runtime object.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.