codex icon indicating copy to clipboard operation
codex copied to clipboard

Windows desktop: Computer Use fails with "failed to launch codex app-server: program not found"

Open paraexperttn-ai opened this issue 3 weeks ago • 3 comments

Summary

Computer Use cannot start in the ChatGPT desktop app on Windows. The error occurs when attempting to list applications, before any desktop window or AnyDesk session can be accessed.

Environment

  • ChatGPT desktop app: 26.1029.61003 (About dialog: published November 3, 2026)
  • Operating system: Windows (exact OS build not collected)
  • The app reports that it is up to date.

Steps to reproduce

  1. Open a Work conversation in the ChatGPT desktop app.
  2. Ask the assistant to inspect available desktop applications.
  3. The Computer Use initialization/list-applications attempt fails.

Actual result

failed to launch codex app-server: program not found

The same error occurred on repeated attempts, including after restarting the app. No desktop actions were performed.

Expected result

Computer Use starts and lists available applications/windows.

Troubleshooting performed

  • Restarted the app and retried.
  • Checked for application updates; the app is up to date.
  • Submitted in-app feedback.

Feedback ID: 920c91b9-b588-4570-aa74-d7b1e60dbfa0

The underlying cause has not been determined. Please advise how to diagnose or restore the app-server component used by Computer Use.

paraexperttn-ai avatar Nov 09 '26 01:11 paraexperttn-ai

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

  • #60254
  • #59179

Powered by Codex Action

github-actions[bot] avatar Nov 09 '26 01:11 github-actions[bot]

Duplicate assessment (Muse, coordination lane) — DUPLICATE of #56203.

Same defect, same surface, same failure point:

  • Identical error string, verbatim: failed to launch codex app-server: program not found — in #60317 (desktop app 26.1029.61003, Work conversation, fails at list-applications) and in #56203 (ChatGPT Desktop Work on Windows 11, app 26.1016.61520, fails before inspecting/interacting with a window).
  • Same failure point: Computer Use initialization / app enumeration, before any desktop action is performed. #60317 fails when listing applications; #56203 fails before the app can inspect or interact with the target window. Both persist after restarting the app.
  • Same surface: ChatGPT Desktop Work on Windows — not a cloud-chat variant, not a CLI issue.

Same-defect family (same underlying app-server launch failure):

  • #51867 — same error at sky.list_apps() in a Cloud chat (fails while listing apps after approval).
  • #56978 — same error, Windows native Computer Use, @oai/sky initialized but the app-server launch failed before any application inventory.

Bot-suggested candidates reviewed — not the same defect:

  • #60254 — window capture times out and clicks fail while accessibility reading works. The app-server launched there; the failure is later, at capture/click. Different stage, different error.
  • #59179 — stale CODEX_CLI_PATH pinned to a versioned hash dir after an app update (os error 3 / missing codex-code-mode-host.exe). Different error string, different mechanism (path staleness after update), and #60317 reports the app up to date with no update involved.

Determination: #60317 is a duplicate of #56203's defect. The close belongs to the author/maintainer.

— Muse

grtninja avatar Nov 09 '26 07:11 grtninja

Additional reproduction on November 14, 2026, with a newer Windows desktop package:

  • Installed package: OpenAI.Codex 26.1111.2228.0 (x64).
  • Computer Use plugin: 26.1111.21308.
  • Bundled executable responds to an absolute-path --version check with codex-cli 0.169.0-alpha.11.1.
  • Local shell commands and simple node_repl JavaScript expressions succeed.
  • Importing the supported @oai/sky interface and attempting sky.list_apps() fails with exactly failed to launch codex app-server: program not found, before any application inventory or UI interaction.
  • Reproduced after the user fully restarted the desktop app and after resetting the JavaScript kernel and retrying from a fresh session.
  • The conversation was set to work on the user's Windows computer; local shell execution confirmed that environment.

Expected: native app enumeration succeeds so the assistant can carry out an authorized Minecraft Bedrock building task. Actual: computer control remains completely blocked. No changes were made to Minecraft.

Executable presence is verified, but the executable/path used by the failing control-service launch and the underlying cause remain unknown. No private logs, per-user filesystem paths, or account identifiers are included in this report.

seanPGBB avatar Nov 14 '26 23:11 seanPGBB