Codex Desktop for Windows crashes immediately after launch (26.527.3686.0)
What version of the Codex App are you using (From “About Codex” dialog)?
Windows 11 24H2 (Build 26100.8457) Codex Desktop version: 26.527.3686.0 Installed from Microsoft Store ChatGPT Plus account
What subscription do you have?
Codex Desktop cannot be launched.
What platform is your computer?
_No response_
What issue are you seeing?
AppX container is successfully created.
Codex process is successfully created.
AppX container is immediately destroyed.
No window appears.
Crashpad generates a new .dmp file every launch.
Observed behavior:
AppModel Runtime logs show:
AppX container created successfully.
Codex process launched successfully.
AppX container destroyed immediately afterwards.
No Codex-related Application Error event is recorded.
New crash dump is generated on every launch:
Crashpad/reports/*.dmp
Troubleshooting already performed:
Reinstalled Codex multiple times.
Removed all local Codex data.
Removed Codex sandbox users.
Tested with a brand new Windows user account.
Enabled Hyper-V.
Enabled Containers.
Enabled HypervisorPlatform.
Verified vmcompute and hns services are running.
Ran SFC /scannow.
Ran DISM /RestoreHealth.
Disabled GPU acceleration using:
ELECTRON_DISABLE_GPU=1
LIBGL_ALWAYS_SOFTWARE=1
Disabled Microsoft Defender Controlled Folder Access.
Verified WebView2 is functioning.
Result:
The issue persists.
Crash dump location:
C:\Users<user>\AppData\Local\Packages\OpenAI.Codex_*\LocalCache\Roaming\Codex\web\Codex\Crashpad\reports
Latest dump:
b7b56248-2e35-4824-9b6a-152118960d73.dmp
Expected behavior:
Codex Desktop should open normally.
Actual behavior:
The process exits immediately and a crash dump is generated.
What steps can reproduce the bug?
AppX container is successfully created.
Codex process is successfully created.
AppX container is immediately destroyed.
No window appears.
Crashpad generates a new .dmp file every launch.
Observed behavior:
AppModel Runtime logs show:
AppX container created successfully.
Codex process launched successfully.
AppX container destroyed immediately afterwards.
No Codex-related Application Error event is recorded.
New crash dump is generated on every launch:
Crashpad/reports/*.dmp
Troubleshooting already performed:
Reinstalled Codex multiple times.
Removed all local Codex data.
Removed Codex sandbox users.
Tested with a brand new Windows user account.
Enabled Hyper-V.
Enabled Containers.
Enabled HypervisorPlatform.
Verified vmcompute and hns services are running.
Ran SFC /scannow.
Ran DISM /RestoreHealth.
Disabled GPU acceleration using:
ELECTRON_DISABLE_GPU=1
LIBGL_ALWAYS_SOFTWARE=1
Disabled Microsoft Defender Controlled Folder Access.
Verified WebView2 is functioning.
Result:
The issue persists.
Crash dump location:
C:\Users<user>\AppData\Local\Packages\OpenAI.Codex_*\LocalCache\Roaming\Codex\web\Codex\Crashpad\reports
Latest dump:
b7b56248-2e35-4824-9b6a-152118960d73.dmp
Expected behavior:
Codex Desktop should open normally.
Actual behavior:
The process exits immediately and a crash dump is generated.
What is the expected behavior?
_No response_
Additional information
_No response_
9 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Update:
I tested Codex-win-x64-26.519.81530 on the same machine.
26.519.81530 launches successfully.
OpenAI.Codex_26.527.3686.0 crashes immediately on startup and generates Crashpad dumps.
Same Windows installation.
Same user account.
Same hardware.
This appears to be a regression introduced between 26.519 and 26.527.
I am seeing the same failure.
My current Store version is:
OpenAI.Codex_26.527.7698.0_x64__2p2nqsd0c76g0
Originally the issue started immediately after an in-app update. The app said it would restart, but never came back. Since then:
Crash dump path:
%LOCALAPPDATA%\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache\Roaming\Codex\web\Codex\Crashpad\reports
I also tried:
No change.
After updating from the Microsoft Store today, I am now on 26.527.7698.0 and the issue still persists.
Given the comment above that 26.519.81530 launches successfully on the same machine, this looks like a regression in the 26.527 Windows desktop builds.
I was able to work around this by downgrading to an older MSIX package.
For anyone really urgent to use, here is the old version link.Just choose any version before 527 and manually install.
Old Version Codex
My findings
Affected Store versions on my machine
OpenAI.Codex 26.527.7698.0Behavior
Beta build
The Beta build crashed at the same place as well:
Things I tried that did not help
--no-sandbox,--disable-gpu,--disable-gpu-sandbox, and related Chromium flagsAppInit_DLLs, IFEO, andAppCompatFlagsInteresting comparison
The new Codex version works fine on another PC at my home with the same Windows version and same hardware.
Same failure. It's laggy, freezes almost instantly after launching the app. Entirely unusable at the current state.
Same problem here, Codex-Cli narrowed it down to chrome.dll, tried all the things to that TS did
You can check whether your system has this environment variable set:
NODE_OPTIONS=--openssl-legacy-provider
If it exists, try deleting it and then see if Codex launches normally.
Update: I found the root cause and a workaround.
Codex Desktop was crashing immediately after launch because my Windows machine had a machine-level environment variable set:
Thank you! Solved!