Skip to content

[Windows] Desktop app launches background processes but never shows a window after update (26.903.8094.0) #54322

Open

Description

@saiarc

Summary

Codex Desktop on Windows worked normally until an application update in early September 2026. Since that update, the desktop app has repeatedly started background processes without displaying any usable window. The issue has recurred across updates and resisted multiple troubleshooting attempts.

Environment

  • OS: Windows 11 x64 (exact build not recorded)
  • Application package: OpenAI.Codex (MSIX)
  • Latest confirmed affected version: 26.903.8094.0
  • Earlier versions observed during troubleshooting: 26.901.1978.0, 26.901.6511.0 (not confirmed as the first faulty version)
  • Separately functioning Codex CLI: 0.153.4
  • First observed: early September 2026
  • Reproduced: October 15, 2026
  • Last known good desktop version: unknown

Reproduction

  1. Launch Codex from the Windows Start menu.
  2. Wait for startup.
  3. Observe several ChatGPT.exe background processes but no visible desktop window.
  4. Alt+Tab shows no Codex window.

Expected

A usable Codex window appears on startup and continues to work across updates.

Actual

In one captured session, five ChatGPT.exe processes were running and each returned MainWindowHandle = 0 in PowerShell:

Get-Process ChatGPT -ErrorAction SilentlyContinue | Select-Object Id,ProcessName,MainWindowHandle

The command-line inspection below showed a primary process and child processes including a GPU process:

Get-CimInstance Win32_Process -Filter "name='ChatGPT.exe'" | Select-Object ProcessId,ParentProcessId,CommandLine | Format-List

These observations do not by themselves prove a renderer failure or the exact root cause.

The CLI executable separately responded with codex-cli 0.153.4.

A Windows Application error-event query limited to the preceding two hours did not find matching error-level entries for ChatGPT/Codex/OpenAI; this does not rule out failures elsewhere.

Troubleshooting attempted

  • Terminated background processes and relaunched from Start menu.
  • Restarted Windows Explorer.
  • Attempted GPU-disabled startup (--disable-gpu) and other Chromium startup arguments.
  • Re-registered the MSIX package. The first attempt returned 0x80073D02 (package resources in use); after closing processes, re-registration did not restore the window.
  • Reset the application package.
  • Renamed the identified app web-data directory to force fresh initialization (original data preserved).
  • Inspected process command lines, window handles, and Windows reliability/error records.
  • Ultimately uninstalled the affected package pending clean reinstall.

None of the above provided a reliable lasting fix. Some earlier sessions temporarily recovered, but the failure returned.

Impact

The Windows GUI has repeatedly been unusable for over a month after an update, disrupting development workflows. This appears to be a startup/window initialization regression, but the exact cause remains unconfirmed.

Request

Please investigate the Windows startup and window-visibility path, runtime initialization following updates, and logging for this failure mode. A supported recovery procedure that preserves local Codex configuration, conversations, and project data would be particularly helpful.

Privacy note: This report intentionally excludes local usernames, full filesystem paths, account information, project names, and unredacted screenshots.

Activity

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

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. zhankuian commented on Oct 17, 2026

    @zhankuian

    Same symptom — root cause is a mangled (ANSI/GBK) user-profile path, and there is a working workaround

    Confirming on a second machine (Windows 11 Pro 10.0.26300, MSIX stable
    OpenAI.Codex_26.1013.3656.0_x64__2p2nqsd0c76g0, Store product 9PLM9XGG6VKS):
    launching from the Start menu spawns ChatGPT.exe but never shows a window.

    With logging enabled the app reports:

    error Desktop network requirements prevented startup
          errorMessage="Failed to get 'appData' path"
          at <app>\app.asar\.vite\build\bootstrap-cdWF4rWM.js:144:21215   // app.getPath('appData')
    

    Root cause: on this machine the Windows user profile directory name contains
    non-ASCII characters, and the app resolves the profile through an ANSI
    (CP936/GBK) round-trip
    . The result is a mojibake path, and the app then creates and
    uses directories under <mangled> instead of the real profile.

    • The mangled name in the app's logs is byte-for-byte what you get by encoding the real
      name to GBK and decoding those bytes as UTF-8.
    • <mangled>\.codex\.desktop-created and <mangled>\AppData\Local\OpenAI\Codex\bin\<hash>\codex.exe
      really exist on disk — the app created them.
    • That tree inherits the C:\Users ACL (read+execute only), so mkdir inside it returns
      WinError 5 / EPERM. That is also why the beta build fails with
      EPERM: operation not permitted, mkdir '<mangled>\.codex\automations\3'.

    Workaround that worked here (elevated PowerShell) — point the mangled name at the real
    profile with a directory junction:

    Rename-Item -LiteralPath "C:\Users\<mangled>" -NewName "<mangled>.bak"
    New-Item -ItemType Junction -Path "C:\Users\<mangled>" -Target $env:USERPROFILE

    After that the stable build opens its main window normally — including after a full
    machine reboot. Reinstall / re-register / deleting the package data directory never
    helped, precisely because nothing on disk is broken — the path string is.

    Full byte-level evidence and the list of things ruled out:
    #53985

    No account identifiers, credentials or raw logs included.

  4. saiarc commented on Oct 17, 2026

    @saiarc
    Author

    Update — recurrence on 26.1007.71326 (October 17, 2026)

    The application was observed working normally on version 26.1007.71326 without any deliberate repair action. Later, the same version again failed to display a window: the app appeared only as background processes in Task Manager, with no usable GUI.

    This is an intermittent regression on the same installed build, not merely a permanently broken installation or a failure limited to the previously reported 26.903.8094.0 release. No new process-handle measurements or diagnostic logs were collected for this recurrence, so the precise failure stage remains unknown.

    No personal paths, usernames, or screenshots are included in this update.

  5. zhankuian commented on Oct 17, 2026

    @zhankuian
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

    appbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions