Repository navigation
Description
What happened?
The Codex Windows desktop app installs successfully, but it exits immediately after launch. No window remains open.
This started after a recent Codex desktop app update. Reinstalling newer builds did not fix it.
Environment
- OS: Windows 10 Pro 22H2
- OS build: 19045.6456
- Architecture: x64
- Codex app versions tested:
- 26.609.3341.0
- 26.609.4994.0
- Install source:
- Microsoft Store / Codex Installer from chatgpt.com/codex/open-app
- Microsoft Edge WebView2 Runtime: 149.0.4022.62
- Microsoft Desktop App Installer / winget: 1.28.240.0
- ChatGPT Desktop app works on the same machine
- Codex CLI works on the same machine:
- codex-cli 0.139.0
Steps to reproduce
- Install Codex Windows desktop app from the official installer / Microsoft Store.
- Launch Codex from Start Menu, Microsoft Store, or
chatgpt.com/codex/open-app. - The app starts briefly, then exits within a few seconds.
- No usable Codex window appears.
Expected behavior
Codex desktop app should open and stay running.
Actual behavior
Codex process starts and exits immediately. After 5 seconds and 30 seconds, there is no Codex.exe process running.
Troubleshooting already attempted
- Reinstalled Codex using the latest installer.
- Removed the existing AppX package and reinstalled.
- Re-registered the AppX package manifest.
- Cleared / backed up Codex local app data:
%LOCALAPPDATA%\Packages\OpenAI.Codex_2p2nqsd0c76g0
- Cleared / backed up Codex home data:
%USERPROFILE%\.codex
- Reset Microsoft Store cache with
wsreset.exe. - Updated Microsoft Desktop App Installer / winget.
- Forced reinstall through winget / Microsoft Store.
- Verified WebView2 and VC++ runtimes are installed.
- Checked Defender / Code Integrity logs; no clear block found.
- Verified ChatGPT Desktop launches correctly.
Relevant Windows event behavior
AppModel Runtime shows that Windows successfully creates the AppContainer and launches Codex.exe, then terminates the package shortly after.
Observed AppModel event IDs include:
- 210
- 211
- 201
- 217
Example behavior:
OpenAI.Codex_26.609.4994.0_x64__2p2nqsd0c76g0OpenAI.Codex_2p2nqsd0c76g0!AppCodex.exeis launched- package is terminated a few seconds later
No new clear Application Error crash entry appears for the latest launch attempts.
Notes
This appears specific to the Codex Windows desktop app on this Windows 10 environment. The same machine can run:
- ChatGPT Desktop app
- Codex CLI
Activity
github-actions commentedon Jun 13, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
FerPdd0066 commentedon Sep 2, 2026
Additional current reproduction on Windows 10 Pro 22H2 build 19045 (x64), observed 2026-09-01, with strong A/B evidence across desktop builds.
Environment / current package:
Current stable symptom:
Controlled tests already ruled out:
Important A/B across desktop builds on the same machine/state:
However, 26.527 is too old to be a usable workaround against the current service/runtime contract: its bundled/runtime side reports OpenAI Codex v0.135.0-alpha.1, logs model-catalog parse errors such as
unknown variant max(expects only none/minimal/low/medium/high/xhigh), and the old UI fails when submitting normal prompts.Backend/auth/network are healthy enough to execute a real Codex turn outside the old desktop UI: a direct
codex exec --ephemeral --skip-git-repo-check "Responda somente com a palavra OK"completed successfully, returnedOK, and exited with code 0. The active config ismodel = "gpt-5.5",model_reasoning_effort = "high",service_tier = "default".One additional lifecycle observation: launching the retained 26.527 desktop caused the shared
%LOCALAPPDATA%\OpenAI\Codex\binruntime inventory to change from the previously observed current runtime to older 0.130.0-alpha.5 / 0.135.0-alpha.1 entries, so desktop versions may be rewriting shared local runtime state when launched. This may be relevant to cross-version state/race behavior.This reproduction also closely matches #35560 (visible UI, ~30s lifetime, clean AppX Event 217 teardown with no crash evidence).
Request to maintainers: