Skip to content

Windows Computer Use fails at EnumWindows with 0x80070003 #37043

Description

@Moonst

Summary

The bundled Computer Use helper starts, but both sky.list_apps() and
sky.list_windows() fail immediately with:

EnumWindows failed: The system cannot find the path specified. (0x80070003)

The failure survives a full Windows restart and a Codex restart.

Environment

  • Windows 10 Home 22H2, build 19045.6466
  • Codex Windows package: OpenAI.Codex_26.730.8199.0_x64
  • Computer Use plugin: 26.730.61639
  • @oai/sky: 0.6.2
  • Computer Use runtime: cua_node/fb8898c05a62885e
  • WebView2 Runtime: 151.0.4129.59

Verified behavior

  • node_repl.exe starts and imports @oai/sky successfully.
  • codex-computer-use.exe exists and starts.
  • sky.list_apps() fails with the error above.
  • sky.list_windows() fails with the same error.
  • A direct Win32 EnumWindows diagnostic outside the helper returns normally.
  • The Windows desktop was unlocked and active.

Process context

  • node_repl.exe runs as the signed-in Windows user.
  • codex-computer-use.exe runs as CodexSandboxOffline in the same Windows session.

The isolated account's Desktop and Pictures values referenced local paths that
did not exist. Empty compatibility folders were created at those exact paths,
Codex was fully restarted, and the same EnumWindows error remained. The missing
folders were therefore ruled out as the cause.

Troubleshooting already completed

  • Uninstalled and reinstalled the Codex desktop app.
  • Restarted Windows multiple times.
  • Verified the helper executable, Node runtime, and package files exist.
  • Verified the signed-in user's OneDrive Desktop and Pictures paths exist.
  • Created the isolated account's missing local Desktop and Pictures paths.
  • Confirmed both lightweight enumeration APIs still fail after restart.

Expected behavior

sky.list_apps() and sky.list_windows() should return app/window objects so
Computer Use can target Windows applications.

Actual behavior

The native helper connects but aborts its first window enumeration with Windows
error 0x80070003, so no desktop application can be targeted or controlled.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't workingcomputer-usewindows-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