[Windows] Codex desktop app crashes / closes automatically on launch or during use
Resolved 💬 4 comments Opened May 29, 2026 by kgwhy Closed Jun 12, 2026
What version of the Codex App are you using (From “About Codex” dialog)?
26.506.3741.0
What subscription do you have?
api
What platform is your computer?
Microsoft Windows NT 10.0.19045.0 x64
What issue are you seeing?
The Codex desktop app (Windows version) closes/crashes automatically right after it finishes a task, without any manual action from me. No error message or crash dialog appears. The app just disappears.
What steps can reproduce the bug?
i dont know
What is the expected behavior?
_No response_
Additional information
_No response_
4 Comments
I recomend using the CLI , or the IDE, if the issue make CODEX unuseable , I noticed you say you use the API , know if you are an hobbist and amature there is a geneerous free tier you can just sign in with your chatgpt account
I understand antiviruses (even anti cheats , if you are a gamer)
those can get very aggressive?
because its UWP/ Widnows Store App --- debugging is a bit tricky (while I respect the idea of sandboxing or noveality - they arent perfect , and they are shipped to millions of windows computers this way )
do you have crash reports in
C:\ProgramData\Microsoft\Windows\WER\ReportArchive
also check %LOCALAPPDATA%\CrashDumps (I)
%LOCALAPPDATA%\Packages\OpenAI.Codex_????
(this user report it exist https://github.com/openai/codex/issues/24598#issuecomment-4546343937)
Windows Store type of apps are known to be very annoying to get crash reports from
likely im wrong but
Press Windows Key + R, type eventvwr.msc, and hit Enter.
Applications and Services Logs ➔ Microsoft ➔ Windows ➔ AppModel-Runtime
(should give you some logs for UWP style apps like OpenAI.codex)
(dont waste your time on this , this is for general ideas to see if there is a crash event --- but I dont see how can this help)
<img width="1157" height="606" alt="Image" src="https://github.com/user-attachments/assets/39b52ec2-c858-466e-8360-f3118fd503e9" />
<img width="979" height="440" alt="Image" src="https://github.com/user-attachments/assets/7dfc243b-b6b2-406d-9c53-fe850bfd9c56" />
alternativly you can use
WinDbg , and attach to proccess (reminder we want a crash log, so replicate the crash) (in hope Codex has debug symbols to better Root Cause the issue )
<img width="1099" height="806" alt="Image" src="https://github.com/user-attachments/assets/775b61d6-5d81-4f7c-8c06-cc26f0f777e9" />
I can reproduce a closely related silent-close failure on Windows with the current Codex desktop app.
Environment
OpenAI.Codex_26.715.10079.0_x64__2p2nqsd0c76g0Reproduction
https://dash.cloudflare.com/.This happened three consecutive times in the same task. Each restart created a new in-app-browser app session, but the same navigation reproduced the close again. No password, OTP, token, or other credential had been entered.
Additional evidence after the repeated closes
Unable to launch application ... (os error 15612).CreateProcessWithLogonW failed: 5.Expected
The Cloudflare login page should remain open in the in-app browser and the Codex desktop process should stay alive so the user can authenticate and hand control back to the agent.
Impact
This blocks browser-authenticated workflows and repeatedly interrupts active work. The target webpage itself appears to load; the failure occurs around presenting/handing off the in-app browser rather than during page navigation.
Usage-credit request
Because these repeated app-side failures consumed Codex usage while preventing the requested task from being completed, the user asks OpenAI to restore or credit the affected usage. Please direct this request to the appropriate private support workflow if the GitHub engineering tracker cannot handle account adjustments; no account identifiers will be posted publicly.
@hoyuen0121 i have the exact same issue using cloudfare API
Still reproducible on Windows build 26.721.4979.0
This issue is closed as completed, but the silent-close behavior is still present in a much newer Microsoft Store build. The issue was closed by the original reporter on 2026-06-12; I could not find evidence here that it was closed because of a product fix.
A sanitized current reproduction:
OpenAI.Codex_26.721.4979.0_x64__2p2nqsd0c76g026200Received turn/started for unknown conversationThis appears to be the same user-visible failure described here and is more specifically tracked in #31583. Please treat this as confirmation that the original symptom has not been resolved in
26.721.4979.0, or clarify which release is expected to contain the fix.