Repository navigation
Description
What version of the Codex App are you using?
Codex desktop app version: 26.930.61225 (build 13232, prod release channel), verified through the running app's information-only version check.
Windows Computer Use plugin version: 26.930.61225.
What subscription do you have?
Pro 100.
What platform is your computer?
Windows, OS version 10.0.26200.0.
What issue are you seeing?
When I use Windows Computer Use in a Cloud chat, it fails while listing apps after I grant approval:
failed to launch codex app-server: program not found
The same visible-desktop Notepad test succeeds when I run it in an "On my computer" chat on the same machine.
What steps can reproduce the bug?
- In the Windows desktop app, select Local approval policy → On request.
- Start a Cloud chat with local computer access and request Windows Computer Use to open Notepad on the visible desktop, type "hello world", verify the text, and leave it unsaved. Explicitly exclude launching Notepad through a shell command.
- Allow the requested tool calls once.
- The Windows-control library imports successfully and its local guidance/API documentation can be read.
- The first request to list apps fails with the error above. Notepad is not opened and no text is typed.
- Restart the desktop app and repeat in a fresh Cloud chat: the same failure occurs.
Observed failing operation:
const sky = await import("@oai/sky");
await sky.list_apps();This represents the observed import/list-apps sequence, rather than a standalone setup recipe.
What is the expected behavior?
After approval, Windows Computer Use should list the available desktop apps and perform the same visible Notepad test that works in a local chat. If an executable cannot be located, an actionable diagnostic identifying the attempted executable/path would help.
Additional information
- My local "On my computer" chat successfully opened visible Notepad and typed "hello world"; I verified the text on my desktop.
- Cloud browser access to Edge worked.
- A harmless calculation through the Cloud node execution tool returned 4 after I approved it.
- Before I selected On request, calls were rejected with "MCP tool call requires approval, but approval policy is never". On request resolved that earlier approval blocker. The remaining app-server launch failure is a separate result.
- I reproduced the launch failure before and after restarting the app, including in a fresh Cloud chat.
- The Codex executable is locally resolvable. I have not established the executable path the Cloud Windows-control helper attempted to launch, or the root cause.
- No shell-launch fallback was used for the confirmed failing Computer Use test.
- I've omitted private account details and conversation identifiers. Reproduced October 7, 2026.
Activity
aerethiel commentedon Oct 10, 2026
Follow-up: reproduced October 10, 2026.
Cloud connected to the same Windows PC still fails Windows Computer Use, while an “On my computer” chat succeeds. This is not a fully remote Cloud task: local file access, Node execution and the Obsidian connector work in the failing Cloud chat.
Environment
Reproduction and comparison
Keep Obsidian open on the unlocked Windows desktop.
In a Cloud chat connected to this PC, follow the bundled Computer Use SKILL.md and import @oai/sky in Node REPL.
Call sky.list_apps(). Import succeeds, but list_apps fails with:
failed to launch codex app-server: program not foundResetting Node REPL does not remove the failure. An additional test explicitly using the local MCP tool mcp__node_repl__js reports the same error. No window is returned, so no screenshot can be requested.
In an “On my computer” chat in the same running Desktop application, the official import/list_apps/get_window/get_window_state sequence succeeds and captures Obsidian.
The codex.exe referenced by [mcp_servers.node_repl.env].CODEX_CLI_PATH exists and returns the CLI version above. Terminal environment differences alone were not used to infer the helper environment.
Direct process observations
Read-only inspection of the process tree and selected environment fields distinguished these two helpers.
Successful local route:
Failing Cloud route, correlated with the repeated test:
The local app-server receives CODEX_CLI_PATH and a PATH containing the copied CLI directory. The Cloud exec-server receives neither.
Some other Node processes receive the configured CLI and native-pipe settings. This is therefore a propagation difference between execution routes.
Installed launcher-code evidence
Read-only inspection of the installed application found:
Interpretation and limits
The missing CLI-path propagation is directly observed in the failing Cloud helper and is a strong explanation for the launch failure.
However, the exact attempted app-server executable/argv and the helper’s fallback resolution logic have not been directly observed. No intervention has yet demonstrated that supplying CODEX_CLI_PATH resolves the failure. An obsolete configured executable has not been found.
Alci8 commentedon Oct 11, 2026
Additional reproduction in ChatGPT Work on Windows, 11 October 2026.
failed to launch codex app-server: program not found.Browser is not available: iab; browser discovery returns only the mcpapps backend.No helper process environment was inspected, no CODEX_CLI_PATH override was applied, and an "On my computer" comparison has not yet been tested in this reproduction. The environment-propagation explanation reported above is therefore a hypothesis for this machine, not a confirmed root cause. No screenshots, account identifiers, or private local paths are included.
ericwang8688 commentedon Oct 14, 2026
Additional reproduction on 14 October 2026 in ChatGPT Work on Windows.
Environment:
Observed behavior:
failed to launch codex app-server: program not foundImpact: native desktop automation cannot begin, blocking an application-installation workflow.
An "On my computer" comparison has not yet been performed on this machine. No helper environment inspection, PATH changes, CODEX_CLI_PATH overrides, or internal executable replacements were performed. The environment-propagation explanation discussed above remains unconfirmed for this machine.
Please investigate the Windows Computer Use launch path in Work/Cloud-connected execution and, if executable resolution fails, provide an actionable diagnostic identifying the attempted executable.
garrick-atkinson commentedon Oct 14, 2026
Windows Cloud Computer Use — Codex App-Server Fix
Resolution date: October 14, 2026
Status: Resolved — User-verified workaround
Related issue: [OpenAI Codex GitHub #51867](#51867)
Original Error
failed to launch codex app-server: program not foundAffected environment:
Root Cause Assessment
The Codex CLI was installed and functioning, but its executable directory was not included in the saved Windows User PATH.
The missing PATH entry was the likely cause of the Cloud Computer Use app-server launch failure on this machine.
Successful Resolution
Step 1 — Identify the Codex executable
Located
codex.exeunder:%LOCALAPPDATA%\OpenAI\Codex\bin\9614f1d9b40d9c4f\Step 2 — Update Windows User PATH
Path.C:\Users\garri\AppData\Local\OpenAI\Codex\bin\9614f1d9b40d9c4fStep 3 — Verify Windows recognizes Codex
Open a new PowerShell session and run:
Get-Command codex | Select-Object Name, SourceResult: Windows successfully located
codex.exe.Step 4 — Restart ChatGPT
Fully quit and relaunch the ChatGPT Windows desktop application to load the updated PATH environment.
Step 5 — Verify Cloud Computer Use
Result: SUCCESS
Cloud Computer Use successfully opened Notepad on the local Windows computer.
Additional Findings
Conclusion
For this Windows installation, adding the actual Codex CLI executable directory to User PATH and fully restarting ChatGPT resolved the error.
This is a verified workaround for the affected machine, not proof that every instance of GitHub issue #51867 has the same cause.
Joker58th commentedon Oct 16, 2026
Retested on October 16, 2026. The CLI PATH workaround described in #51867 (comment) worked for a fresh Work → Cloud conversation with access to my Windows PC.
Versions:
I added the directory containing the actual CLI to my User PATH:
%LOCALAPPDATA%\OpenAI\Codex\bin\e78bad9887fa50cfAfter opening a fresh PowerShell session,
Get-Command codex | Select-Object Name, Sourceresolved to that CLI. I then fully quit/reopened the desktop app and created a fresh Work → Cloud conversation. Windows Computer Use successfully opened a new Notepad tab, typed "hello world", and verified it visually, leaving it unsaved without using a shell command to launch Notepad.Important distinction: initially I added the WindowsApps package's
appdirectory, which also contains a different Codex.exe. That attempt still failed withcodex app-server exited before returning response 1. Replacing that PATH entry with the per-user CLI directory above was followed by the successful test.This confirms the workaround for this test on my machine; I have not yet retested the separate dot-created task route. I am not treating this as a verified product fix.
Junxi8167 commentedon Oct 16, 2026
Additional reproduction on October 16, 2026: the exact same native Computer Use error occurs in a ChatGPT project session, while an existing local Codex project works on the same Windows computer.
Posted with the account owner's explicit authorization and AI assistance. Private project names, paths, session IDs, and work messages are omitted.
Environment
OpenAI.Codex_26.1013.3656.0_x64__2p2nqsd0c76g0; About-dialog version was not independently collected.codex-cli 0.163.0-alpha.10.2.26.1013.31256.@oai/skyversion0.7.8and Cua Node24.21.0.Controlled comparison
2 + 2)@oai/skysky.list_apps()failed to launch codex app-server: program not foundA fresh conversation in the same affected ChatGPT project produces the same failure. The local project is backed by a user-selected folder; the affected project uses
%USERPROFILE%\\.codex\\.chatgpt-projects\\<project-id>. Workspace location alone is not established as causal.Minimal failing sequence
Executed as separate node_repl calls:
Read-only findings
nodeRepl.rpc("sky", ...)during setup and catches setup errors, which can be returned by subsequent operations. Successful import therefore does not establish successful trusted-service setup.[mcp_servers.node_repl.env]already sets an absoluteCODEX_CLI_PATHto%LOCALAPPDATA%\\OpenAI\\Codex\\bin\\e78bad9887fa50cf\\codex.exe.Get-Command codexresolves in the working session but not the affected session. The working shell includes per-user Codex bin directories in PATH.CODEX_ELECTRON_RESOURCES_PATHandNODE_REPL_NODE_MODULE_DIRSset; the working shell reports them unset.Recovery attempts
Retrying, resetting node_repl and reimporting, fully quitting/reopening the desktop app (owner-reported), and a fresh conversation in the affected project did not resolve native Computer Use. No configuration, PATH, security, permission, or binary changes were made.
Separate browser-control observation
At approximately 15:25 EDT, the supported initial browser inventory call
await cua.getState();also failed, before any inventory or page access, with:This is a separately observed error; a shared root cause with native Sky's app-server error has NOT been established. It provides a specific environment-related diagnostic for the browser route, not proof of the native launcher's missing variable.
Requested engineering investigation
Please identify the actual attempted executable, arguments, working directory, and underlying launch error at Sky trusted-service setup; verify whether the downstream launcher receives/honors
CODEX_CLI_PATH; and compare the local-project versus ChatGPT-project execution routes. Please also investigate the separate explicit SystemDrive error in the browser launcher and provide a supported fixed desktop/runtime combination or recovery procedure.No raw logs, transcripts, screenshots, credentials, or private work-chat content are attached.
Junxi8167 commentedon Oct 17, 2026
Update (Windows 11, Codex app 26.1013.31256, CLI 0.163.0-alpha.10.2)
What worked: I added the Codex
bin\<hash>folder to the user PATH, as suggested above. After that,list_appsandlist_windowswork.Remaining problems:
get_window_statewith a screenshot on the Teams window (MSTeams_8wekyb3d8bbwe!MSTeams) returns a capture of the ChatGPT app, and accessibility comes back null.activate_windowdoesn't help, and no error is returned.cua.getState()failed with "failed to prepare MXC sandbox: MXC requires nonempty Unicode host SystemDrive". Codex had also created a literal folder named%SystemDrive%\ProgramData\Microsoft\Windows\Cachesinside the project folder, so the variable wasn't being expanded. As a workaround, I setSystemDrive=C:as a user environment variable..codex\.chatgpt-projects\g-p-..., reports "Chrome connection tool isn't available", even after a full restart. The extension is installed, the native host is registered and present, and the project is markedtrust_level = "trusted".Is there any way to give web-created projects and general chats the full local toolset, and are fixes planned for 1 and 2?
Junxi8167 commentedon Oct 18, 2026
Correction to my point 4 above: It isn't web-created versus local projects. Another ChatGPT web project (with a local mirror) controls Chrome fine on the same PC. The difference is how each chat runs: the failing CoE chat ran in a remote cloud environment, with no Chrome connection, while the working chats ran locally. The new-chat screen shows no Local/Cloud selector, so I can't control which one a chat gets. Typing
@chromedidn't bring up Chrome in the working chat either, yet it still controlled Chrome. How does Codex decide whether a chat runs locally or in the cloud, and can users choose?Junxi8167 commentedon Oct 18, 2026
More data on local vs cloud: In the same ChatGPT project (Homework-J), one earlier chat controls Chrome on my PC fine, but a new chat started later in that same project says "the browser control connection isn't available." So the difference is per chat, not per project. Each chat seems to get its own execution environment, local or cloud, with no visible selector. Is there a way to force a new chat to run locally?
Junxi8167 commentedon Oct 19, 2026
Clarification on point 2 ("Always allow" for Teams): The setting does save. Microsoft Teams is listed under Settings > Computer use > Always-allowed apps in the ChatGPT desktop app. Computer Use still asks for Teams approval anyway, so the bug is that the saved allowlist isn't honored, not that it fails to save.
Junxi8167 commentedon Oct 19, 2026
Submitted in-app feedback for the issues above (Chrome per-chat access, Teams capture mismatch, Always-allow not honored). Feedback ID:
no-active-thread-01a15205-b5fe-7b02-acca-592b0e406904Junxi8167 commentedon Oct 20, 2026
Update: Chrome control and Windows Computer Use show different failure patterns after enabling local chats in a web-created project
Test date: October 19, 2026, Eastern Time
Environment: ChatGPT desktop app on Windows; Google Chrome with Teams web; Microsoft Teams desktop; Grok Bot desktop.
My earlier reports described failures and mixed success with Chrome control and Computer Use across different projects. Today's testing revealed a potentially useful distinction between a project's cloud origin and its local configuration, while also exposing separate problems with desktop app control.
My work project was originally created on the ChatGPT website, without a user-linked local folder. Today, I selected "New local chat" from the menu beside its project title in the desktop app.
Afterward:
This suggests that the action established a persistent local association for the project on this computer, rather than merely creating one isolated local conversation. However, we have not established whether every subsequent chat automatically receives identical local capabilities, or how this affects the project on other devices.
In this conversation, the assistant successfully:
This demonstrated actual browser navigation and interaction, rather than only access to whichever page I had manually opened.
A later conversation in the same project, started the same day, behaved differently.
Initially, the assistant reported:
"Chrome control isn't available through the browser connection in this session…"
It could not review the relevant Teams group chat or update the trackers.
I subsequently quit and reopened the desktop app. On the next attempt, the assistant reported success: it reviewed the Teams discussion through a colleague's October 19 evening update and updated both trackers.
The restart was associated with recovery, but we have not proven that it caused the recovery or identified what changed internally.
One Grok Bot navigation attempt returned "coordinate input geometry is unavailable." Refreshing the window state and retrying allowed the chat switch to succeed.
When targeting Teams or Grok Bot, Computer Use repeatedly returned screenshots showing the ChatGPT window, sometimes with part of the underlying app visible.
For Grok Bot, the accessibility text nevertheless belonged to the correct app, and navigation/scrolling changed the returned messages appropriately. For Teams, neither usable text nor a correct screenshot was obtained.
This means screenshot capture, accessibility retrieval and input handling did not fail uniformly. Describing Computer Use as simply "working" or "unavailable" misses the distinction.
Throughout the desktop Computer Use tests, I repeatedly selected "Always allow this app." Nevertheless, subsequent actions—including individual scrolling actions—continued to request approval.
The assistant issued discrete actions and checked the result afterward. That explains the stepped interaction, but it does not explain why permission was requested again each time.
The assistant did not deliberately ask me to reconfirm each scroll in conversation; the prompts appeared through the app/tool approval interface. The repeated interruptions made otherwise successful Grok Bot navigation slow and impractical.
What today's results establish
Questions for investigation
The local-chat discovery is a substantial improvement over my earlier results, but it has not resolved the inconsistent browser connection or the separate Windows Computer Use issues.
ChatGPT app feedback ID: 1f1370f3-b5bc-4961-8272-d9c093f20197
olsto commentedon Oct 21, 2026
Additional reproduction on 21 October 2026 in ChatGPT Work on Windows.
26.1016.51333.codex-cli 0.163.0-alpha.11, verified by running the configured executable with--version.@oai/skyimport succeeds.await sky.list_apps()then fails withfailed to launch codex app-server: program not found, before returning any window inventory.[mcp_servers.node_repl.env].CODEX_CLI_PATHexists and runs. The configurednode.exe,node_repl.exe, andcua-repl.mjsalso exist.Failed to discover app toolsforunified-computer-use@openai-bundled, servercua_repl, withMCP startup failed: Das System kann den angegebenen Pfad nicht finden. (os error 3). Whether this separate startup error has the same cause is unknown.We have not inspected the failing helper's actual inherited environment or performed an explicit local-chat versus cloud-chat comparison on this machine. The environment-propagation explanation reported above is a useful lead, not a confirmed root cause for this reproduction. No configuration edits, executable replacements, or PATH overrides were applied.
This has blocked desktop automation for several days, with repeated unsuccessful attempts consuming usage allowance. Please investigate the launch environment and expose the attempted executable/path in the error to make diagnosis actionable.
Personal paths, account details, and full logs have been omitted.
Junxi8167 commentedon Oct 22, 2026
Update (Oct 21–22, 2026): Chrome control is decided per chat, and the cloud icon doesn't explain it
Windows, ChatGPT/Codex desktop app, Chrome with the ChatGPT extension enabled. All three projects below have a local folder attached.
In the failing chats the agent says the browser-control instructions are available, but the actual Chrome connection tool isn't exposed. So the skill loads, but the Chrome tool isn't in that chat's tool list.
Observations:
Possibly related: #53498 (session tool inventory has no browser-control execution tool even though the Chrome skill is installed), #51659 (an existing task lost its browser controllers while a separate task controlled Chrome), #52348 (browser works in one chat, another chat says it isn't configured), #55018 / #55814 / #54968 (Windows: Chrome unavailable to the agent despite a working extension).
Request: when Chrome control isn't attached to a chat, could the app show why, and offer a way to re-attach it to an existing chat?
Junxi8167 commentedon Oct 22, 2026
In-app feedback for the Oct 21–22 per-chat Chrome control update above has been submitted. Feedback ID: c83480e0-16c1-4d50-8f41-916a5e73b1f8
Junxi8167 commentedon Oct 23, 2026
Update (Oct 23, 2026): Chrome control works from the Chrome extension sidebar, but not from a desktop app chat in the same project
Same Windows PC, same Project C:
This suggests the browser tool works and Chrome is reachable, but desktop app chats often aren't given the tool that the sidebar gets. Workaround for now: use the Chrome sidebar for anything that needs Chrome control.
Junxi8167 commentedon Oct 26, 2026
Update (Oct 26): New finding on a second Windows machine that has no ChatGPT/Codex desktop app installed. Opening ChatGPT in the Chrome extension sidebar let it list and control Chrome tabs. It then also worked from ChatGPT open as a regular Chrome tab, including after I closed the sidebar and after a full Chrome restart, when it got fresh tab IDs. So browser control through the extension seems to work from ChatGPT web without the desktop app on that machine. I haven't confirmed how the extension got installed there (possibly Chrome sync), or whether a brand-new connection needs the sidebar first. The desktop app chats from my earlier comments still fail.
Junxi8167 commentedon Oct 27, 2026
Update (Oct 27): Chrome control broke a day after working, with two different failure modes
Yesterday (comment above), Chrome control worked on my second Windows machine, which has no desktop app installed. It worked from the extension sidebar, from ChatGPT in a regular Chrome tab after the sidebar was closed, and after a full Chrome restart. Today it fails everywhere I tried: the ChatGPT/Codex desktop app on my main machine, the extension sidebar, a regular ChatGPT tab, and new chats, on both machines.
Failure 1: the tool is missing. In the desktop app, the sidebar, and a regular ChatGPT tab, the assistant reported that no browser-control tool was available. Typing
@Chromedoesn't show Chrome in the list, and it hasn't for a long time, even on days when control worked.Failure 2: the tool is present, but the connection fails. After I picked Chrome through the chat's + menu, the tool became available, but every call returned:
Browser access requires the originating browser context. Open ChatGPT in the browser with the connected extension and try again.That error came back in these cases:
So the error shows up even when ChatGPT is open in the browser with the connected extension, which is exactly what its own fix says to do.
What else I tried, with no change: I confirmed the extension was enabled, turned it off and on, uninstalled it and reinstalled the official ChatGPT extension from the Chrome Web Store, and restarted the computer.
To recap the week, control is decided per session and changes from day to day. A setup that worked on Oct 26 failed on Oct 27 with nothing changed on my side. The difference between the tool being missing and the tool being present but failing with the context error may help narrow this down.
Junxi8167 commentedon Oct 29, 2026
Update (Oct 28): a clean reinstall mostly fixed it on Windows, but older chats are still inconsistent.
%USERPROFILE%\.codexto.codex.old, and deleted older.codexbackup folders and.codex-self-evolutionleftovers.winget install --id 9PLM9XGG6VKS -s msstore. In Settings, Computer use, "Any App" and Google Chrome (extension installed) were already enabled.Results:
@Chromeworks and lists my tabs.So new chats seem reliable after a clean reinstall, but chats that existed before it behave unpredictably, even in the same sidebar on the same tab. The workaround for now is to start a new chat.
Junxi8167 commentedon Oct 29, 2026
Update (Oct 29): Today Chrome control works again, but only in new chats, all in a Chrome tab on a second laptop where the ChatGPT/Codex desktop app is not installed:
So new chats work and older chats stay broken, whether or not the desktop app is installed. Given how this behaved over the past few weeks, I'm not sure it will keep working.
Also: when I start a "New local chat" for a project in ChatGPT mode of the desktop app (on the computer where it's installed), that project automatically shows up in Codex mode too. Only the chats created after "New local chat" was turned on carry over. Older chats in the project don't.
Junxi8167 commentedon Oct 30, 2026
Update (Oct 30): The same chat behaves differently depending on where it's opened:
So whether the Chrome tool is available seems to depend on where the chat is currently opened, or on switching it between the web and the desktop app. It may also depend on where the chat was first started. I can't tell those apart yet.