Windows app won't open after update, background process exists but no GUI window
What version of the Codex App are you using (From “About Codex” dialog)?
Latest Windows version
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
After updating Codex on Windows, the desktop application no longer opens.
Symptoms:
- Codex worked normally before the update.
- After the update, launching Codex creates background processes only.
- No GUI window appears.
- Task Manager shows two Codex processes running.
- Memory usage is only a few MB.
- No CPU or network activity.
Troubleshooting already attempted:
- Deleted .codex directory.
- Deleted AppData cache.
- Renamed Local\OpenAI\Codex directory.
- Reinstalled the latest version.
- Restarted Windows.
Additional information:
- Running codex.exe directly launches the CLI successfully.
- CLI works normally.
- The issue only affects the desktop GUI.
What steps can reproduce the bug?
- Install or update Codex Desktop on Windows.
- Launch Codex from:
- Start Menu
- Desktop shortcut
- Codex Installer
- The application starts a background process, but no GUI window appears.
- Task Manager shows two Codex processes running.
- Memory usage remains very low (approximately 1-5 MB per process), with no CPU or network activity.
- Running codex.exe directly from:
C:\Users<user>\AppData\Local\OpenAI\Codex\bin\codex.exe
launches the CLI successfully, but the desktop GUI still does not appear.
The issue started immediately after updating to the latest version. The application worked normally before the update.
What is the expected behavior?
Codex Desktop should open its graphical user interface normally after launch.
After starting the application, a visible desktop window should appear, allowing the user to sign in and interact with Codex.
No background-only process should remain without displaying the GUI.
Additional information
Environment:
- Windows 11 x64
- ChatGPT Plus subscription
Troubleshooting already attempted:
- Deleted the .codex directory
- Deleted AppData cache
- Renamed the Local\OpenAI\Codex directory
- Reinstalled the latest version
- Restarted Windows
Results:
- The issue persists after a clean reinstall.
- CLI mode works correctly.
- Only the desktop GUI fails to launch.
Additional observation:
- Before the update, Codex Desktop worked normally.
- The problem appeared immediately after updating.
6 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Same symptoms here, confirming this is not machine-specific.
Environment
Behavior
Launching the app spawns the full Electron process tree —
main+gpu-process+crashpad-handler+ two utilities (network.mojom.NetworkService,storage.mojom.StorageService) — which all live for ~2.8–3.3s and then exit together. A renderer process is never created, so no window ever appears. The Rust CLI works fine.Crucially this is a clean exit, not a crash: no WER report, no Crashpad dump, no Application/AppHost error in Event Viewer. The desktop log just stops at:
i.e. the main process quits before it ever builds the window/renderer.
Already tried (all ineffective):
Reset-AppxPackage(full reset to fresh-install state) — still exits at +3.3s with no rendererExtra data point that may help isolate it: on this machine a Windows cumulative update (KB5094126, build 26200.8655) had separately made the bundled
node.exebackend fail-fast withc0000409. Removing that KB eliminated thec0000409crash entirely — but the GUI still won't open, with the clean-exit behavior above, on a known-good build (26200.8524) without KB5094126. So the "no window" problem is independent of the node crash and reproduces without that KB.Happy to provide logs.
Adding another repro on the current Microsoft Store/MSIX build. This appears to be the same symptom, but on a newer package version and on an ASCII-only Windows user profile path.
Environment
OpenAI.Codex_26.616.4196.0_x64__2p2nqsd0c76g0Okcodex-cli 3.2.0C:\Users\<redacted>) — no CJK/non-ASCII characters in the profile directory.Reproduction
``
powershell
``Start-Process "shell:AppsFolder\OpenAI.Codex_2p2nqsd0c76g0!App"
Actual behavior
The app starts a Codex process tree, but no GUI window is created.
Observed immediately after launch:
A direct Win32 enumeration over all
Codex.exePIDs also finds no top-level windows:So this is not just an off-screen or hidden main window: there is no top-level BrowserWindow / Win32 window associated with the Codex processes.
codex appalso exits after printing the desktop handoff message, but the desktop GUI never appears.Expected behavior
Codex Desktop should create and show the main GUI window.
What still works
The CLI is healthy and usable:
codex doctor --summaryreports the local install/auth/state/connectivity as healthy overall:Notes
Codex.exeprocess tree and relaunching does not restore the GUI.26.616.4196.0) and did not change the behavior.Follow-up: I also tested after explicitly disabling WSL mode in
config.tomland switching the integrated terminal back to PowerShell.Changed settings:
After killing all
Codex.exeprocesses and relaunching the MSIX app, the behavior is unchanged:Final process snapshot:
The latest logs no longer show the previous repeated WSL spawning pattern; app/plugin/list calls return, but the desktop app still creates no visible/top-level window.
I hit the same issue on Windows after a clean/first install of the Codex desktop app: opening Codex Desktop created several background
Codex.exeprocesses, but no UIever appeared.
I asked Codex-CLI to find the issue for me and it got it running. Below is what Codex-CLI did to fix the issue for me, I asked it write down the steps so this is a copy/paste of that:
Confirmed another recovery path for this exact no-GUI/no-renderer symptom on the current Microsoft Store build.
Environment and failure signature
OpenAI.Codex_26.715.2305.0_x64__2p2nqsd0c76g0codex.exe app-serverinitialized and reachedconnected.--type=rendererprocess was created and no top-level window existed.Restart, Store update, AppX re-registration, GPU-disabled launch, and rotating GPU/Dawn/Code caches did not help.
The
cua_noderuntime was already finalized and healthy (v24.14.0), with no.staging-*directory, so the July 7 staging-directory workaround above did not apply.Root cause indicator
The shared Codex log database was unusually large:
state_5.sqliteand the auth/state files were left untouched.Reversible recovery
After resolving and stopping only the packaged Codex process tree, I moved these three files into a timestamped backup directory under
~/.codex/maintenance-backups/:Then I relaunched the Store app and allowed it to create a fresh log DB.
Result
Before:
After the log DB rotation:
The UI appeared immediately and remained visible/responding on a follow-up check. The fresh
logs_2.sqlitewas recreated normally. The 5.15 GB database and sidecars remain available for rollback/private diagnostic collection.This suggests startup should detect or tolerate an oversized/problematic
logs_2.sqlite, and a supported doctor/recovery path could rotate only the log DB after confirming no relevant Codex processes are active. A broadReset-AppxPackageor reinstall was not needed in this case.