You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows Codex Desktop 26.707.9981.0 exits during startup without reporting a crash #33119
Behavior:
The app opens, displays “Thinking,” and then closes after several seconds.
Windows Event Viewer records the AppX process/container being created and
destroyed but does not record an Application Error or crash.
Troubleshooting completed:
Repaired, reset, uninstalled and reinstalled the Store application
Restarted Windows
Renamed/backed up %USERPROFILE%.codex
Cleared and rebuilt the application cache
Signed out and authenticated again
Confirmed that no newer Microsoft Store package is available
Windows ARM64 Codex desktop app exits 7-12 seconds after launch after primary runtime manifest 404
Description
The standalone Codex desktop app briefly opens and then exits completely after approximately 7-12 seconds on Windows 11 ARM64. The Codex terminal CLI continues to work normally on the same machine.
The desktop log shows that the packaged app launches successfully, starts the app-server transport, completes the initialization handshake, initializes the bundled Codex CLI, and reaches window ready-to-show. WSL detection reports that WSL is not installed. Shortly afterward, the primary runtime update check fails with 404 Not Found.
The runtime configuration logged for the selected primary runtime includes windows-x86_64, but no windows-aarch64 platform entry. Because the installed desktop package is ARM64, this may indicate a Windows ARM64 runtime packaging or platform-selection problem. This is a suspected correlation, not a confirmed root cause: the log contains no explicit fatal exception or exit reason.
The process disappears completely rather than leaving a blank or unresponsive window. No matching Windows Application Error event is recorded.
Reproduction steps
On a Windows 11 ARM64 computer, install the Microsoft Store ARM64 package OpenAI.Codex 26.707.9981.0.
Authenticate with ChatGPT.
Launch the standalone Codex desktop app.
Wait approximately 7-12 seconds.
Observe that the window closes and the desktop process exits completely.
Launch Codex from Windows Terminal and observe that the CLI continues to work normally.
Expected behavior
The Codex desktop app should remain open and usable on Windows ARM64. A missing or unavailable optional primary runtime update should not cause the desktop process to exit without an error message.
Actual behavior
The main window appears briefly, then the entire Codex desktop process exits after approximately 7-12 seconds. There is no visible error dialog and no Windows Application Error event. The terminal CLI remains functional.
Tested with the unrelated workspace temporarily renamed; behavior was unchanged.
Disabled WSL execution.
Switched to the unelevated Windows sandbox.
Removed a UTF-8 BOM that previously made config.toml invalid.
Verified the corrected configuration with codex doctor.
Confirmed that the terminal CLI works while the desktop app still exits.
Checked Windows events; no matching Windows Application Error event was present.
Sanitized desktop log excerpt
The originally identified t1 log contains only Git-origin worker messages. The relevant startup events are in the same session's matching t0 companion log. Identifiers and unrelated fields have been omitted.
2026-07-15T16:39:51.148Z info [AppServerConnection] Initializing app-server transport
2026-07-15T16:39:51.148Z info [AppServerConnection] Starting app-server connection hostId=local transport=stdio
2026-07-15T16:39:53.093Z info [AppServerConnection] Transport start success connectionId=1 hostId=local transport=stdio
2026-07-15T16:39:53.259Z info [AppServerConnection] initialize_handshake_result durationMs=165 outcome=success transportKind=stdio
2026-07-15T16:39:53.259Z info [AppServerConnection] Codex CLI initialized
2026-07-15T16:39:53.500Z info [window-manager] window ready-to-show appearance=primary hostId=local startupElapsedMs=160
2026-07-15T16:39:54.981Z error [wsl] error retrieving eligible distro error="Windows Subsystem for Linux is not installed"
2026-07-15T16:39:55.555Z info [electron-message-handler] Codex runtime config selected artifact=codex-primary-runtime
latest platforms: linux-x86_64, macos-aarch64, macos-x86_64, windows-x86_64
windows-aarch64 entry: absent
2026-07-15T16:39:55.683Z warning [install-primary-runtime] primary_runtime_update_poll_failed errorMessage="Failed to download primary runtime manifest (404 Not Found)."
The log ends without an explicit fatal exception, shutdown reason, or process-exit event.
Possible duplicate issues
Codex Desktop closes immediately after launch on Windows #16502 - very similar Windows symptom: desktop opens and closes after a few seconds, CLI works, WSL is absent, and no Windows crash event is recorded. That report is x64 and points toward sandbox/ACL behavior rather than an ARM64 runtime-manifest mismatch.
Windows ARM64 running Codex App in Emulation #17491 - Windows ARM64 desktop support issue. It concerns x64 emulation, freezes, and lag; it does not report this silent startup exit or the missing windows-aarch64 runtime entry. It is closed.
I can provide a longer, manually reviewed and sanitized excerpt if maintainers need more context. I will not upload the complete unreviewed log because it may contain private account, conversation, or local-environment data.
Windows 11 ARM running in Parallels Desktop on Apple Silicon
OpenAI.Codex 26.707.9981.0 ARM64
Same physical Mac also running the macOS Chatgpt Work (codex) desktop app successfully
Behavior:
Codex launches and displays the main UI ("What should we work on?")
After approximately 1-2 seconds, the entire process exits without an error dialog
Windows records AppX container creation/destruction only; no Application Error event or crash dump is generated
Launching ChatGPT.exe directly exits with 0xC06D007F
Troubleshooting performed:
Reinstalled Codex
Reset application state
Rebuilt %USERPROFILE%.codex
Tested with a completely different OpenAI account
Removed all local projects and Git repositories from the machine
Tested with and without Windows sandbox (elevated and unelevated)
Disabled GPU
Removed Windows update KB5101650 (this resolved unrelated Teams/Outlook authentication issues but had no effect on Codex)
Control comparison:
The same ChatGPT account works correctly in the macOS Codex desktop application on the same physical computer.
ChatGPT Classic also works correctly in the Windows VM.
Browser access works normally.
This strongly suggests the issue is specific to the Windows ARM64 desktop application rather than my account, local projects, Git repositories, or the underlying Apple Silicon hardware.
Logs confirmed available=false browserPane=false reason=browser-pane-disabled and no IAB backend startup; the exit persisted.
Restored the browser feature settings after the test.
Windows version satisfies the package manifest minimum requirement.
Remaining log signal
A nonfatal-looking request sometimes returns:
fs/readFile: 系统找不到指定的路径。 (os error 3)
Initialization otherwise succeeds: the local app-server connects, account/config/model/thread reads complete, and the log ends without a fatal entry.
This looks like a clean application-initiated or window-lifecycle exit rather than a conventional native crash. I can provide targeted sanitized log excerpts if useful.
Additional ARM64 evidence on a newer August build that may help separate the primary-runtime 404 from the startup-exit issue.
Environment:
Windows 11 ARM64
Current Codex Desktop package: OpenAI.Codex_26.818.8289.0_arm64
Codex is currently remaining open and functioning normally
The current desktop t0 log repeatedly records:
[install-primary-runtime] primary_runtime_update_poll_failed errorMessage="Failed to download primary runtime manifest (404)"
The failure repeats approximately every 30 seconds while Codex continues to remain open and usable.
On the previous OpenAI.Codex_26.810.7004.0_arm64 build, the logged primary-runtime configuration contained a windows-x86_64 platform entry but no windows-aarch64 entry. The newer 26.818.8289.0_arm64 build continues to produce the primary-runtime manifest 404.
This appears to show two things:
The primary-runtime 404 / Windows ARM64 runtime-selection issue is still present in a substantially newer August build.
The 404 alone does not appear sufficient to cause the Codex desktop process to exit, because the current ARM64 app continues operating normally while these failures repeat.
This may help distinguish the primary-runtime packaging/selection issue from the separate silent process-exit/startup failure being investigated in this thread.
Activity
github-actions commentedon Jul 14, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
drewjackl commentedon Jul 14, 2026
codex-desktop-3a71d1a4-51c6-4294-afa9-a68a0ad95663-37996-t0-i1-174530-0.log
paulgriggs commentedon Jul 15, 2026
Additional confirmation from a Windows 11 ARM64 install:
OpenAI.Codex_26.707.9981.0_arm64__2p2nqsd0c76g0app\\resources\\codex.exestarts about five seconds later.0x00000000after 9.83 seconds; Windows destroys the AppX container shortly afterward.This demonstrates the regression is not x64-specific. The duplicate report is #33376; closing it in favor of this issue.
jamesp-alt commentedon Jul 15, 2026
Issue title
Windows ARM64 Codex desktop app exits 7-12 seconds after launch after primary runtime manifest 404
Description
The standalone Codex desktop app briefly opens and then exits completely after approximately 7-12 seconds on Windows 11 ARM64. The Codex terminal CLI continues to work normally on the same machine.
The desktop log shows that the packaged app launches successfully, starts the app-server transport, completes the initialization handshake, initializes the bundled Codex CLI, and reaches
window ready-to-show. WSL detection reports that WSL is not installed. Shortly afterward, the primary runtime update check fails with404 Not Found.The runtime configuration logged for the selected primary runtime includes
windows-x86_64, but nowindows-aarch64platform entry. Because the installed desktop package is ARM64, this may indicate a Windows ARM64 runtime packaging or platform-selection problem. This is a suspected correlation, not a confirmed root cause: the log contains no explicit fatal exception or exit reason.The process disappears completely rather than leaving a blank or unresponsive window. No matching Windows Application Error event is recorded.
Reproduction steps
OpenAI.Codex 26.707.9981.0.Expected behavior
The Codex desktop app should remain open and usable on Windows ARM64. A missing or unavailable optional primary runtime update should not cause the desktop process to exit without an error message.
Actual behavior
The main window appears briefly, then the entire Codex desktop process exits after approximately 7-12 seconds. There is no visible error dialog and no Windows Application Error event. The terminal CLI remains functional.
Environment
OpenAI.Codex 26.707.9981.0 ARM640.144.20.144.4 aarch64-pc-windows-msvc2.55.0.windows.2codex doctor: 17 ok, 1 idle, 1 note, 0 warnings, 0 failuresconfig.toml: loads successfullyTroubleshooting performed
config.tomlinvalid.codex doctor.Sanitized desktop log excerpt
The originally identified
t1log contains only Git-origin worker messages. The relevant startup events are in the same session's matchingt0companion log. Identifiers and unrelated fields have been omitted.The log ends without an explicit fatal exception, shutdown reason, or process-exit event.
Possible duplicate issues
windows-aarch64runtime entry. It is closed.WindowsApps. The current report uses the unelevated sandbox and the reviewed desktop excerpt does not show the reported ACL failure signature.Additional note
I can provide a longer, manually reviewed and sanitized excerpt if maintainers need more context. I will not upload the complete unreviewed log because it may contain private account, conversation, or local-environment data.
PAULJ-CLOUD commentedon Jul 16, 2026
Additional confirmation from my environment
Environment:
Windows 11 ARM running in Parallels Desktop on Apple Silicon
OpenAI.Codex 26.707.9981.0 ARM64
Same physical Mac also running the macOS Chatgpt Work (codex) desktop app successfully
Behavior:
Codex launches and displays the main UI ("What should we work on?")
After approximately 1-2 seconds, the entire process exits without an error dialog
Windows records AppX container creation/destruction only; no Application Error event or crash dump is generated
Launching ChatGPT.exe directly exits with 0xC06D007F
Troubleshooting performed:
Reinstalled Codex
Reset application state
Rebuilt %USERPROFILE%.codex
Tested with a completely different OpenAI account
Removed all local projects and Git repositories from the machine
Tested with and without Windows sandbox (elevated and unelevated)
Disabled GPU
Removed Windows update KB5101650 (this resolved unrelated Teams/Outlook authentication issues but had no effect on Codex)
Control comparison:
The same ChatGPT account works correctly in the macOS Codex desktop application on the same physical computer.
ChatGPT Classic also works correctly in the Windows VM.
Browser access works normally.
This strongly suggests the issue is specific to the Windows ARM64 desktop application rather than my account, local projects, Git repositories, or the underlying Apple Silicon hardware.
sgniws commentedon Jul 18, 2026
I can reproduce the same silent startup exit on a newer integrated ChatGPT/Codex Windows build.
Environment
OpenAI.Codex_26.715.3651.0_x64__2p2nqsd0c76g026.715.3651.0190450.144.510.0.19041.0Behavior
The app window appears, initializes for roughly 10–15 seconds, and then all
ChatGPT.exeprocesses disappear. This reproduces on every launch.0x00000000Diagnostics and mitigations tested
26.715.12143382,909,956bytesb9f2234ec901bf58ec14279d5dfa7304622fd0aeda975eb472fa9b64760063ed%USERPROFILE%\.cache\codex-runtimes\codex-primary-runtimeconnectionCount=0andhostId=local; the exit persisted.--disable-gpu; the exit persisted.available=false browserPane=false reason=browser-pane-disabledand no IAB backend startup; the exit persisted.Remaining log signal
A nonfatal-looking request sometimes returns:
Initialization otherwise succeeds: the local app-server connects, account/config/model/thread reads complete, and the log ends without a fatal entry.
This looks like a clean application-initiated or window-lifecycle exit rather than a conventional native crash. I can provide targeted sanitized log excerpts if useful.
globaljpq commentedon Aug 25, 2026
Additional ARM64 evidence on a newer August build that may help separate the primary-runtime 404 from the startup-exit issue.
Environment:
OpenAI.Codex_26.818.8289.0_arm64The current desktop
t0log repeatedly records:[install-primary-runtime] primary_runtime_update_poll_failed errorMessage="Failed to download primary runtime manifest (404)"The failure repeats approximately every 30 seconds while Codex continues to remain open and usable.
On the previous
OpenAI.Codex_26.810.7004.0_arm64build, the logged primary-runtime configuration contained awindows-x86_64platform entry but nowindows-aarch64entry. The newer26.818.8289.0_arm64build continues to produce the primary-runtime manifest 404.This appears to show two things:
This may help distinguish the primary-runtime packaging/selection issue from the separate silent process-exit/startup failure being investigated in this thread.