indows Computer Use fails with EnumWindows error 0x80070003

Open 💬 2 comments Opened Aug 6, 2026 by chen20030220-byte
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

Environment

  • Codex Desktop: 26.730.61639
  • OS: Windows
  • Computer Use plugin: enabled
  • Runtime: cua_node
  • Project path: D:\系统默认\文档\New project

Problem

Computer Use cannot enumerate Windows applications or windows.

Error

EnumWindows failed: 系统找不到指定的路径。 (0x80070003)

Diagnostics

  • @oai/sky imports successfully
  • codex-computer-use.exe exists and starts successfully
  • Helper runs in the interactive user Session 1
  • Named pipe exists and is accessible
  • Resetting the Node REPL does not help
  • Restarting the helper process does not help
  • Codex installation location does not appear to be the cause
  • The issue reproduces with both list_apps() and list_windows()

Expected behavior

list_apps() and list_windows() should return the current Windows applications/windows.

Actual behavior

Both calls fail immediately with EnumWindows error 0x80070003.

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 22 days ago

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

  • #37043

Powered by Codex Action

jiangyuShiro · 21 days ago

Related report from another Windows task on the same app/plugin build: Computer Use failed before a desktop application could be controlled. The first attempt to open NetEase Cloud Music returned spawn EPERM, and resetting/retrying did not restore sky.list_apps() or sky.list_windows(). I did not observe 0x80070003 in that task, but the failure also occurs before a target app is selected, which may help correlate the different Windows helper failure stages. Environment: Codex Desktop 26.730.8199.0, Computer Use plugin 26.730.61639, @oai/sky 0.6.2, Windows x64.