Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.917.8451.0 (Windows package version; Codex UI does not open, so the “About Codex” dialog is inaccessible)
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Windows 11 x64, build 10.0.26200
What issue are you seeing?
The Codex UI inside the ChatGPT desktop app does not open on Windows 11.
Steps to reproduce
- Launch the ChatGPT desktop app.
- Select Codex from the app.
- A Codex process starts, but no Codex UI/window appears.
- The process remains running, but
MainWindowHandle = 0. - Windows Error Reporting records a
MoAppHang.
Expected behavior
The Codex desktop UI should open normally after selecting Codex.
Actual behavior
No Codex window is created. The Codex process starts, but the UI never appears.
PowerShell shows:
MainWindowHandle = 0
Windows Error Reporting:
- Event ID:
1001 - Event name:
MoAppHang - Time:
2026-09-24 02:27:57 - Package:
OpenAI.Codex_26.917.8451.0_x64__2p2nqsd0c76g0 - P2:
praid:App - P3:
153.0.8010.53 - P4:
6aab63c8 - P5:
4e21 - P6:
67246080 - Report ID:
8e198255-fca5-441b-9d57-9dcf7ad18eba
CLI behavior
Codex CLI 0.156.1 works and GPT-6 Astra responds successfully.
However, codex-tui.log contains:
ChatGPT account ID not available, please re-run codex login (code -32603)
The warning still occurs after a successful codex logout / codex login and after changing:
cli_auth_credentials_store = "keyring"
Despite this warning, GPT-6 Astra continues to work normally from the CLI.
The log around the warning also shows the GPT-6 Astra /responses WebSocket initialization proceeding normally.
Troubleshooting already tried
- ChatGPT desktop app Repair
- ChatGPT desktop app Reset
- Reinstallation
- PC restart
- Check for Updates
codex doctorcodex logout/codex login- Successful ChatGPT OAuth login
cli_auth_credentials_store = "keyring"[windows] sandbox = "unelevated"- Confirmed
approval_policy = "untrusted"is not present - Tested on a different network using iPhone/NTT Docomo tethering
- The desktop Codex UI still fails to open on both networks
The CLI works, but the Windows desktop Codex UI does not.
I cannot obtain a /feedback session ID because the Codex UI never opens.
I have not included auth.json or any authentication tokens.
What steps can reproduce the bug?
- Start the ChatGPT desktop app on Windows 11.
- Open the model/view selector and select Codex.
- The Codex process starts in Task Manager.
- No Codex window or UI appears.
- The Codex process remains running, but PowerShell reports
MainWindowHandle = 0. - Windows Error Reporting records a
MoAppHangevent.
This reproduces consistently after app restart and PC restart.
I also reproduced the same desktop UI failure while using a different network connection (iPhone / NTT Docomo tethering).
The Codex CLI itself works and GPT-6 Astra responds normally, so the issue appears specific to the Windows desktop Codex UI.
What is the expected behavior?
After selecting Codex in the ChatGPT desktop app, the Codex UI/window should open normally and become usable.
The Codex process should create a visible window instead of remaining headless with MainWindowHandle = 0.
The app should not generate a Windows Error Reporting MoAppHang event during startup.
Additional information
Additional diagnostics:
- Codex CLI version:
0.156.1 - CLI authentication status:
Logged in using ChatGPT - GPT-6 Astra works successfully from the CLI.
- The desktop Codex process starts, but no visible window is created and
MainWindowHandle = 0.
Windows Error Reporting:
- Event ID:
1001 - Event:
MoAppHang - Time:
2026-09-24 02:27:57 - Package:
OpenAI.Codex_26.917.8451.0_x64__2p2nqsd0c76g0 - Report ID:
8e198255-fca5-441b-9d57-9dcf7ad18eba
With log_dir explicitly configured, codex-tui.log contains:
ChatGPT account ID not available, please re-run codex login (code -32603)
This warning persists after:
codex logout/codex login- successful ChatGPT OAuth authentication
- changing
cli_auth_credentials_storeto"keyring"
I also tested a separate network connection (iPhone / NTT Docomo tethering), and the desktop Codex UI still did not open.
The Agent environment setting is not accessible in my desktop app: codex://settings opens Settings, but I cannot switch between Windows native and WSL.
Because the Codex UI never appears, I cannot use /feedback to obtain a session ID.
I can provide the relevant redacted codex-tui.log excerpt if needed. I have not shared auth.json, OAuth tokens, or other credentials.
Activity
github-actions commentedon Sep 24, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
newtaro0506 commentedon Sep 24, 2026
Additional diagnostic regarding the suggested duplicate #47724:
I checked the local
cua_noderuntime.There are no
.staging-*directories under:%LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_nodeThe finalized runtime directory exists:
7f75cff94511d5f8Both required executables are present:
bin\node.exe— 93,381,936 bytesbin\node_repl.exe— 33,806,512 bytesSo this does not appear to match the incomplete
cua_nodestaging / missingnode_repl.exefailure described in #47724.The symptoms appear closer to #46764, where the runtime is complete but the app still launches headlessly with
MainWindowHandle = 0.My case additionally has a Windows Error Reporting
MoAppHangevent and the CLI warning:ChatGPT account ID not available, please re-run codex login (code -32603)newtaro0506 commentedon Sep 25, 2026
Additional installation verification from OpenAI Support:
winget list "ChatGPT"returns:ChatGPT9PLM9XGG6VKS26.917.8451.0msstorewinget list "Codex"returns:MSIX\OpenAI.Codex_26.917.8451.0_x64__2p2nqsd0c76g026.917.8451.0OpenAI Support confirmed that this indicates the expected Microsoft Store ChatGPT app with the Codex package installed.
Environment:
10.0.26200MoAppHang10018e198255-fca5-441b-9d57-9dcf7ad18ebaRelevant non-secret config currently includes: