openai / openai/codex

[Windows] Computer Use cannot enumerate or launch desktop apps on one machine

Open
#37,932 5 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

Environment

  • Codex App: 26.803.10989.0 (Windows AppX package version)
  • Computer Use plugin: 26.803.81509
  • Platform: Microsoft Windows NT 10.0.26200.0 x64
  • Subscription: ChatGPT subscription; exact tier unknown

Issue

Computer Use in the Codex desktop app cannot see or control any desktop apps on this Windows PC. The same account and workflow work normally on other computers.

Observed errors/states:

  • Importing @oai/sky can fail with: EPERM: operation not permitted, lstat 'C:\Users\<redacted>\AppData\Local\OpenAI\Codex'.
  • On retries where the module loads, list_apps() and list_windows() both return zero items even while WeChat is open.
  • Launching C:\Program Files\Tencent\Weixin\Weixin.exe or Weixin.exe may fail with: failed to fetch shell:AppsFolder item: 找不到元素。 (0x80070490).

Result: Codex cannot open/control WeChat and cannot send a test message to File Transfer Assistant.

Reproduction

  1. Open the Codex desktop app on the affected Windows PC.
  2. Enable the Computer Use plugin/server and “Any App”, grant permissions, and unlock the session.
  3. Open WeChat manually.
  4. Ask Codex to use Computer Use to send a message to File Transfer Assistant.
  5. Computer Use either fails while loading @oai/sky, returns zero apps/windows, or fails to launch WeChat with error 0x80070490.

The same account and task work normally on other computers.

Expected behavior

Computer Use should enumerate the open desktop windows and interact with WeChat, as it does on the user's other computers.

Troubleshooting already attempted

  • Unlocked the session and granted all requested permissions.
  • Enabled “Any App”.
  • Restarted and retried the Computer Use plugin.
  • Reinstalled/retried the plugin.
  • Fully uninstalled and reinstalled the official Codex Windows app; the problem persists.

No raw logs, session ID, or other PII are attached.

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 failure in the Computer Use plugin around @oai/sky, list_apps(), list_windows(), and the Weixin.exe launch attempt. Compare the affected PC with a working Windows computer and gather the raw loading, enumeration, and 0x80070490 errors; done means desktop apps and windows enumerate and WeChat launches and can be controlled.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.