Repository navigation
Codex Desktop for Windows crashes immediately after launch (26.527.3686.0) #25501
Description
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\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\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
Activity
github-actions commentedon Jun 1, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
billwang2 commentedon Jun 2, 2026
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.
shaneintheuk commentedon Jun 2, 2026
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.
TinyFatty commentedon Jun 2, 2026
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.
peikgabriel commentedon Jun 3, 2026
Same failure. It's laggy, freezes almost instantly after launching the app. Entirely unusable at the current state.
wvdweij commentedon Jun 3, 2026
Same problem here, Codex-Cli narrowed it down to chrome.dll, tried all the things to that TS did
leiyan commentedon Jun 6, 2026
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.
billwang2 commentedon Jun 7, 2026
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:
wvdweij commentedon Jun 7, 2026
Thank you! Solved!