Windows ChatGPT/Codex Desktop 26.820.9563.0 can hang ~8 minutes before creating its main window
Summary
On Windows, the current ChatGPT/Codex Desktop package 26.820.9563.0 does not create any visible window. Multiple ChatGPT.exe processes remain running and responsive, but every process has MainWindowHandle = 0.
This started after an earlier startup failure that showed:
Unable to locate the Codex CLI binary
The bundled/local Codex CLI itself is present and works correctly.
App / CLI versions
Installed AppX package:
Name: OpenAI.Codex
Version: 26.820.9563.0
InstallLocation: C:\Program Files\WindowsApps\OpenAI.Codex_26.820.9563.0_x64__2p2nqsd0c76g0
Status: Ok
Local Codex CLI:
C:\Users\CC\AppData\Local\OpenAI\Codex\bin\d5f4c71927a04589\codex.exe
codex-cli 0.150.0-alpha.8
Running codex.exe --version succeeds.
Observed behavior
Launching the desktop app from the Start menu produces no visible window and no user-facing error.
The latest desktop log contains only:
2026-08-27T05:18:12.542Z info Launching app agentRunId=null allowDebugMenu=false allowDevtools=false allowInspectElement=false buildFlavor=prod enableSparkle=false enableUpdater=true nodeEnv=undefined packaged=true platform=win32
2026-08-27T05:18:12.602Z info Appshot hotkey inactive configured=true enabled=false platform=win32
No further log lines are written.
After launching with an isolated profile plus GPU/sandbox flags, the processes remain alive, but no BrowserWindow is created:
Get-Process ChatGPT | Select-Object Id,Responding,MainWindowTitle,MainWindowHandle
Output:
Id Responding MainWindowTitle MainWindowHandle
-- ---------- --------------- ----------------
6676 True 0
7760 True 0
9588 True 0
15300 True 0
So this is not an off-screen/hidden window; the processes are responsive but have no main window handle.
Reproduction / troubleshooting already tried
- Uninstalled and reinstalled the Windows app.
- Rebooted Windows multiple times.
- Verified AppX package status is
Ok. - Verified the Codex CLI binary exists and runs (
codex-cli 0.150.0-alpha.8). - Temporarily set
CODEX_CLI_PATHto the workingcodex.exe, then removed it again for a clean test. - Tested launching with a dummy argument.
- Tested:
--disable-gpu --disable-gpu-compositing --disable-software-rasterizer
No window appears.
- Tested with a fresh profile and sandbox disabled:
--no-sandbox --disable-gpu --disable-software-rasterizer --user-data-dir=<fresh temp dir>
With these flags the ChatGPT processes stay running, but still no window is created (MainWindowHandle=0).
- Checked Crashpad reports directory; no new
.dmpwas produced for these attempts. - Disabled
OrayIddDriver Device, uninstalled the Sunlogin/Oray remote desktop software, and rebooted. No change. - Verified Windows
Nullkernel driver:
SERVICE_NAME: Null
TYPE: 1 KERNEL_DRIVER
STATE: 4 RUNNING
- Verified
NULredirection works (NUL_OK).
GPU / display environment
NVIDIA GeForce RTX 5070 Laptop GPU
DriverVersion: 32.0.15.7712
Intel(R) Arc(TM) 140T GPU (16GB)
DriverVersion: 32.0.101.7026
A third-party virtual display driver (OrayIddDriver Device) was present originally, but disabling it, uninstalling the associated software, and rebooting did not resolve the issue.
Expected behavior
The ChatGPT/Codex Windows desktop app should create and display its main window normally.
If startup fails before BrowserWindow creation, the app should surface an actionable error rather than silently leaving responsive background processes with MainWindowHandle=0.
Additional context
The failure signature resembles several existing Windows startup issues where logs stop after Launching app / Appshot hotkey inactive, but this report is for the newer 26.820.9563.0 package and differs in that the processes can remain alive and responsive while no main window is ever created.
4 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Update after additional observation/log capture:
The app eventually created its main window after a long delay rather than remaining permanently windowless.
ChatGPT.exeprocess start time: approximately 13:41:56 local (05:41:56Z)MainWindowHandleand the log reportedrendererWindowVisible=true.The later startup log contains repeated bundled plugin marketplace copy failures such as:
These errors repeat during
bundled_plugins_reconcile, although reconciliation continues afterward, so I cannot say they are the direct cause of the initial hang.The same session also performed a missing primary-runtime install:
However, this install completed after the window was already visible, so it does not by itself explain the full ~7m40s pre-window delay.
There is also a later recoverable plugin status error corresponding to
The system cannot find the path specified (os error 3), after which thespreadsheetsplugin is installed successfully.The bot suggested #40972 as a possible duplicate. That issue is notably similar because it reports a
ChatGPT.exeprocess withMainWindowHandle=0that is suspended and later becomes healthy after resume. I did not capture thread state /WaitReasonwhile this machine was in the stuck state, so I cannot yet confirm whether the same suspended-process mechanism is occurring here. If the hang reproduces, I can capture thread count, working set, and threadWaitReasonbefore the window appears.Withdrawn.
Additional reproduction on 26.825.4187.0 — repeated
.staging-*runtime extractionI reproduced the long/no-window startup behavior on another Windows 11 x64 machine after the Microsoft Store package updated through
26.825.3734.0to:The installed MSIX app starts multiple
ChatGPT.exebackground processes, but the visible window can remain absent for a long time.New runtime-cache observation
The relevant runtime root is:
A completed runtime from an earlier build exists:
For the current build, the expected completed directory never appeared:
Instead, each separate failed/aborted launch attempt created a new randomly suffixed staging directory, for example:
Later launches did not continue writing to the earlier staging directories. They started a fresh staging directory instead. The six incomplete directories accumulated approximately 1,276.9 MB before being removed after recording the evidence.
After cleanup, the state was:
Control test
As a diagnostic control, the complete packaged
appdirectory was copied to a normal user-writable folder under%LOCALAPPDATA%and launched directly. That unpackaged copy opens quickly and reliably:This manual copy is only a diagnostic control, not a recommended workaround. It suggests the machine, GPU, and Electron renderer can initialize normally, while the Store/MSIX launch path repeatedly enters or restarts runtime preparation.
Questions for maintainers
Could the Windows runtime installer:
e4d75eceaa042f20is never promoted from staging,No full logs are attached here because they may contain local paths or session data, but sanitized excerpts can be provided if useful.