Codex desktop app immediately exits on Windows 10 Pro 22H2 after update, while CLI works
Environment
- OS: Windows 10 Pro
- Windows version: 22H2
- OS build: 19045.7417
- Region/UI language: Korean
- Codex desktop app version: OpenAI.Codex_26.608.1337.0_x64__2p2nqsd0c76g0
- Codex CLI version: 0.139.0
- Authentication: ChatGPT login
- CLI status: works
- Desktop app status: does not launch
Problem
After updating Codex, the desktop app no longer opens.
When launching from the Start Menu or using codex app, the process briefly appears in Task Manager and then exits. No visible error dialog is shown.
What I tried
- Rebooted Windows
- Reinstalled Codex from Microsoft Store
- Reinstalled Codex using
winget install Codex -s msstore - Removed the AppX package with
Remove-AppxPackage - Cleared/renamed:
%APPDATA%\Codex%LOCALAPPDATA%\Codex%LOCALAPPDATA%\Packages\OpenAI.Codex_2p2nqsd0c76g0- Reinstalled after cleanup
- Installed and logged into Codex CLI
- Verified
codex login status - Ran Codex CLI successfully
- Tried launching the desktop app again; same behavior
Observed behavior
The desktop app starts and exits immediately.
The latest desktop log only contains:
2026-06-10T09:11:11.319Z info Launching app agentRunId=null allowDebugMenu=false allowDevtools=false allowInspectElement=false buildFlavor=prod enableSparkle=false enableUpdater=true nodeEnv=undefined packaged=true platform=win32
2026-06-10T09:11:12.041Z info Appshot hotkey inactive configured=true enabled=true platform=win32
Then the app exits.
Windows AppX / TWinUI logs show that activation of OpenAI.Codex_2p2nqsd0c76g0!App was attempted and completed with status 0. AppX deployment/register logs also show successful registration with 0x0.
Additional issue
When using the Codex CLI, the CLI works, but elevated/admin sandbox setup fails. I can continue with the non-admin sandbox. The desktop app issue remains unchanged.
When selecting the elevated/admin sandbox setup option, Windows shows an error dialog saying:
'codex-windows-sandbox-setup.exe' cannot be found.
Please check if the name was entered correctly and try again.
Expected behavior
The Codex desktop app should open normally after launch.
Attachments
codex-doctor.txtcodex-desktop-latest.logcodex-sandbox.log- Screenshot of Windows version dialog
- Screenshot of
codex-windows-sandbox-setup.exeerror dialog
<img width="757" height="639" alt="Image" src="https://github.com/user-attachments/assets/89459b8c-b595-4ff6-9906-5635804c47e6" />
<img width="831" height="197" alt="Image" src="https://github.com/user-attachments/assets/c5fa9302-d6e9-4ab9-a9a4-9021e04eab2a" />
10 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
This looks identical to my environment as well, including version 26.608.1337.0 and the app exiting immediately after launch.
I can reproduce the same issue on Codex Windows Desktop App 26.608.1337.0.
Additional details from my environment:
%LOCALAPPDATA%\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache\Roaming\Codex\web\Codex\Crashpad\reports
WinDbg summary from the Crashpad dump:
Already tried:
I can provide the Crashpad .dmp privately if needed, but I am not attaching it publicly because it may contain memory contents.
The same happening on my end. What should I do?
Windows 10 22H2 (19045.6466)
Codex 26.608.1337.0
Worked until the update.
After updating, the app launches a process and exits after 2-3 seconds.
CLI works normally.
No Codex crash logs are generated.
<Korean>
Windows 11 최신 업데이트 이후, Codex Windows 데스크톱 앱이 실행되지 않습니다.
테스트해보니 Windows 계정명이 한글인 경우 사용자 프로필 경로에 한글이 포함됩니다.
예:
C:\Users\한국어 계정명
이 계정에서는 Codex를 실행하면 잠깐 시작되는 것처럼 보이지만, 창이 뜨지 않고 조용히 종료됩니다.
그런데 영어-only Windows 계정을 새로 만들었더니 Codex가 정상적으로 실행되었습니다.
따라서 제 테스트 결과로는 Windows 계정명 또는 사용자 프로필 경로에 포함된 한글/non-ASCII 문자와 관련된 문제로 보입니다.
<English>
After the latest Windows 11 update, the Codex Windows desktop app no longer launches for me.
I tested it on a Windows account where the username contains Korean characters, which makes the user profile path include Korean characters, for example:
C:\Users\한국어 계정명
In that account, Codex briefly starts, no window appears, and then it exits silently.
I then created a new Windows account with an English-only username, and Codex launched successfully.
So based on my test, this seems to be related to Korean/non-ASCII characters in the Windows account name or user profile path.
<img width="912" height="518" alt="Image" src="https://github.com/user-attachments/assets/4b64e775-cae7-4acd-9365-71bb864d8b30" />
일단, 이 옵션을 체크 후, 윈도우를 다시 시작하면 실행이 잘 됩니다.
감사합니다.. 해결되었습니다..ㅠㅠ
@baesangrae 마치 몇 년 전 stackoverflow, github issue 에서 모르는거 서로 물어보고, 구글링해서 해결책 찾던 갬성이 있네요. 해결책 제공 감사합니다.
Thanks for providing the solution. This has actually worked right away. Brings me back to the time when developers asked and answered issues on the internet, sharing knowledge without asking to the AI. Good times. Fond memories.
There’s another workaround for this issue. I applied the fix suggested in Issue #27506.
If a different issue occurs after enabling Unicode UTF-8, try this as well. That said, if Codex is updated, you may need to repeat the steps below.
After applying this method, Codex ran without any issues.
According to Issue #27506, the problem appears to occur when the execution path contains non-ASCII characters.
------------------------------------------------------------------------------------------------------------------------------------------
이 문제에 대한 다른 해결 방법이 있습니다. Issue #27506에서 제시된 해결책을 적용했습니다.
Unicode UTF-8 사용을 적용한 뒤 다른 문제가 발생한다면 이 방법도 시도해 보세요. 다만 Codex가 업데이트되면 아래 과정을 다시 진행해야 할 수도 있습니다.
이 방법을 적용한 뒤 Codex가 문제 없이 실행되었습니다.
Issue #27506의 보고 내용에 따르면, 실행 경로에 비 ASCII 문자가 포함되어 있을 때 이 문제가 발생하는 것으로 보입니다.
This bug appears to be affecting a lot of Codex users, so we're treating it as a high priority to get it fixed.