Skip to content

ChatGPT Desktop Work on Windows 11 fails to launch codex app-server: program not found #56203

Open

Description

@mrsantafe-boop

What issue are you seeing?

ChatGPT Desktop Work mode fails to initialize the Codex app-server when attempting to access an open Adobe Premiere Pro window.

The following error is consistently returned:

failed to launch codex app-server: program not found

The error occurs before the application can inspect or interact with the Premiere window. No changes are made to Premiere.

The issue persists after restarting ChatGPT Desktop and verifying that the external Codex CLI works correctly.

What steps can reproduce the bug?

  1. Launch ChatGPT Desktop on Windows 11.
  2. Select Work mode.
  3. Open Adobe Premiere Pro.
  4. Ask ChatGPT to identify the open Premiere window without clicking or modifying anything.
  5. Wait for the computer access operation.

Actual result:

failed to launch codex app-server: program not found

The same error occurs repeatedly.

What is the expected behavior?

ChatGPT Desktop Work should successfully launch its Codex app-server and initialize computer access.

It should then attempt to identify the open Adobe Premiere Pro window without making any changes to the application, files, or timeline.

Additional information

Environment

  • Windows 11
  • ChatGPT Desktop version: 26.1016.61520
  • Installation source: Microsoft Store
  • Feature: ChatGPT Work
  • Agent environment: Windows native
  • Integrated shell: PowerShell
  • External Codex CLI version: 0.163.0-alpha.11.1

Troubleshooting completed

  • Verified the external Codex executable exists.
  • Confirmed codex --version works.
  • Confirmed codex app-server --help works.
  • Added the external Codex directory to the user PATH and restarted ChatGPT Desktop.
  • Confirmed Windows native is selected rather than WSL.
  • The integrated terminal option is disabled.
  • The default %USERPROFILE%\.codex\sessions directory does not exist.
  • No CODEX_HOME environment variable is configured at the User or Process level.
  • The error persists.

The external CLI works, but ChatGPT Desktop may be using a different bundled version or execution environment.

Please investigate the Codex app-server launch mechanism used by ChatGPT Desktop Work on Windows.

Activity

  1. added
    bug
    on Oct 22, 2026
  2. added
    windows-os
    app-server
    on Oct 22, 2026
  3. github-actions commented on Oct 22, 2026

    @github-actions
    Contributor
  4. DooGieGA commented on Oct 23, 2026

    @DooGieGA

    I'm experiencing the same issue with ChatGPT Desktop Work on Windows 11.

    Environment

    • Windows 11 x64, build 26300
    • ChatGPT desktop app: 26.1016.62342
    • Installed Codex package: OpenAI.Codex_26.1016.8622.0
    • Native Windows computer, not WSL

    Steps to reproduce

    1. Open ChatGPT Desktop and select Work.
    2. Ask ChatGPT to open Windows Notepad without modifying anything.
    3. Approve the requested one-time tool access.

    Actual result

    failed to launch codex app-server: program not found

    Notepad never opens. No files or settings are changed.

    Diagnostics

    • Confirmed that codex.exe exists in the application's packaged resources and cached runtime bin directory.
    • The codex command is not on the shell's PATH, but it is not confirmed that the failing launcher relies on that PATH.
    • Local Windows commands execute successfully through Work.
    • Package inventory and diagnostic-log access were blocked.
    • Restarting the desktop application did not resolve the error.
    • The task's Local-versus-Cloud classification could not be conclusively retrieved.

    Request

    Could the maintainers confirm how this version resolves the bundled Codex app-server executable and whether a supported fix or update is available?

    I have not modified PATH, copied executables, or reinstalled the application.

  5. dwong0411-a11y commented on Oct 25, 2026

    @dwong0411-a11y

    I’m also experiencing this when asking @Computer List my open Windows apps.

    • Windows 11 Pro build 26300, x64
    • App package: OpenAI.Codex 26.1021.3705.0
    • Bundled CLI: 0.164.0-alpha.11.1

    The bundled codex.exe exists and successfully runs --version and app-server --help, but Computer Use fails with:
    “failed to launch codex app-server: program not found.”

    App Repair, full restarts, fresh Work chats, a temporary PATH test, and renaming the generated codex-app-tools folder for regeneration did not resolve it.

    Desktop logs additionally show ENOENT copy/unlink failures involving codex-app-tools/.codex-plugin/plugin.json and scripts/launch_codex_app_tools_mcp.cmd. I haven’t confirmed whether these are related.

    Submitted in-app feedback with diagnostics:
    de295e4d-c9af-43c7-b998-691c3c01748d

  6. rafacrt commented on Oct 29, 2026

    @rafacrt

    I’m experiencing the same issue with ChatGPT Desktop Work on Windows. Computer control used to work, but it now fails before it can list or interact with open windows.

    Exact error:

    failed to launch codex app-server: program not found
    

    I repaired the app and tested again in a new Work conversation, but the error persists.

    The same session also failed to access the internet through the terminal:

    curl.exe -I https://www.microsoft.com

    Result:

    curl: (6) Could not resolve host: www.microsoft.com
    

    Reading the skill documentation initially returned:

    skill environment is not available for this callback
    

    However, reading it through the terminal subsequently worked.

    File writes outside the session’s allowed directories are also blocked, and requests to expand access are rejected automatically without showing me an approval prompt. I’m not sure whether these restrictions and the network failure are related to the computer-control issue.

    The diagnostic tests did not modify any files or settings.

    Is there a supported fix or a way to collect logs that would help identify why Work cannot launch its app-server?

  7. rambadorrey-hue commented on Nov 2, 2026

    @rambadorrey-hue

    I can reproduce this issue in ChatGPT Desktop Work on Windows 10, build 19045.

    App version: 26.1027.30824, build 22943.
    @oai/sky: 0.7.13.
    Bundled CLI: codex-cli 0.166.0-alpha.5.1.

    In a fresh local project, Get-Location succeeds, but Computer Use fails before listing windows:

    failed to launch codex app-server: program not found

    Checks performed from node_repl through a child process:

    • CODEX_CLI_PATH and CODEX_WINDOWS_REGISTERED_CORE are unset.
    • where.exe codex returns exit code 1.
    • The installed codex.exe exists and --version succeeds using its absolute path.

    Resetting the JavaScript session did not resolve the issue.

    In-app feedback ID:
    e2b83e9c-0f19-471a-858d-aca19ff69212

    Please advise on a supported diagnostic or official fix.

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

    app-serverbugcomputer-usewindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions