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
Codex app-server crashes on Windows 11 build 26200 (HW capability error) #12962
app-serverIssues involving app server protocol or interfacesbugSomething isn't workingregressionBehaviors that worked in previous versions but were broken due to an updatewindows-osIssues related to Codex on Windows systems
[CodexMcpConnection] Codex app-server process exited unexpectedly (code=3221226505, 0xc0000409)
Environment:
Windows 11 Home 10.0.26200
AMD Ryzen 7 5700X3D (AVX2 supported)
Secure Boot: Enabled
Hyper-V: Disabled
Virtualization-based Security: Not enabled
Codex version: 0.4.78 (Release)
VS Code latest stable
The CPU fully supports AVX2 and modern instruction sets.
This appears to be an incompatibility between the Codex native app-server binary and Windows 11 build 26200.
Not a repro — posting as a distribution + architecture isolation data point, since both existing reports in this thread are AMD Ryzen.
Environment
Windows 11 Home 10.0.26200.8246
Intel Core i9-13900HX
codex-cli 0.121.0 installed via npm — not the Microsoft Store app or the VS Code extension
Test: launched codex app-server directly over stdio and sent an initialize JSON-RPC request.
Result: valid InitializeResponse returned (platformOs: windows, platformFamily: windows), exit 0, no 0xc0000409, empty stderr. codex app-server generate-json-schema also succeeded cleanly.
Tentative take: both existing reports are AMD Ryzen on Win11 26200. A clean run on Intel on the same build line suggests the HW capability crash may be AMD-specific rather than a general Win11 26200 issue — though the standalone CLI binary may also differ from the bundled binary used by the Store app / VS Code extension, which is a separate variable. Happy to run additional probes if useful.
Hitting the same crash on Windows 11 build 26200 (OS build 10.0.26200). Confirmed it's not a corrupted install -- fully removed the Appx package (Get-AppxPackage OpenAI.Codex | Remove-AppxPackage) and reinstalled clean from the Microsoft Store; identical error afterward, same hex values.
Notable: bit 29 (0x20000000) in the "requested" mask maps to F16C in the standard CPUID leaf-1 ECX layout -- normally always present alongside AVX (bit 28, which is set in "found") on any CPU from the last ~13 years. That specific pattern -- AVX visible but F16C invisible to user-mode CPUID -- is a known symptom of Hyper-V CPUID masking, which activates whenever Memory Integrity (Core Isolation/VBS) is running. On this machine, Win32_DeviceGuard confirms VirtualizationBasedSecurityStatus: 2 (running) with SecurityServicesRunning: {2} (Memory Integrity active). Haven't disabled it to confirm since that's a real security trade-off for one app, but this looks like the actual root cause rather than a packaging issue.
app-serverIssues involving app server protocol or interfacesbugSomething isn't workingregressionBehaviors that worked in previous versions but were broken due to an updatewindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon Feb 26, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Murilo695 commentedon Mar 25, 2026
I’m seeing a very similar problem on Windows build 26200.
My Codex Windows app crashes immediately on launch.
Environment:
Windows Event Viewer shows:
What I already tried:
[windows]
sandbox = "unelevated"
The crash happens before ~/.codex logs/sessions are created.
apocalx commentedon Apr 19, 2026
Not a repro — posting as a distribution + architecture isolation data point, since both existing reports in this thread are AMD Ryzen.
Environment
codex-cli 0.121.0installed via npm — not the Microsoft Store app or the VS Code extensionTest: launched
codex app-serverdirectly over stdio and sent aninitializeJSON-RPC request.Result: valid
InitializeResponsereturned (platformOs: windows,platformFamily: windows), exit 0, no0xc0000409, empty stderr.codex app-server generate-json-schemaalso succeeded cleanly.Tentative take: both existing reports are AMD Ryzen on Win11 26200. A clean run on Intel on the same build line suggests the HW capability crash may be AMD-specific rather than a general Win11 26200 issue — though the standalone CLI binary may also differ from the bundled binary used by the Store app / VS Code extension, which is a separate variable. Happy to run additional probes if useful.
ShanireZ commentedon Apr 25, 2026
I guess the command
setx OPENSSL_ia32cap ~0x20000000maybe could solve this problem.Run it and don't forget restart the powershell.
rayanovelha commentedon Apr 27, 2026
Thanks this solved the problem for me
CodenameCookie commentedon May 1, 2026
Worked for me to get Codex CLI running and Codex App. Thank you
Just had to restart my machine after running that command and both were fine
Autokratoros commentedon Aug 23, 2026
Hitting the same crash on Windows 11 build 26200 (OS build 10.0.26200). Confirmed it's not a corrupted install -- fully removed the Appx package (
Get-AppxPackage OpenAI.Codex | Remove-AppxPackage) and reinstalled clean from the Microsoft Store; identical error afterward, same hex values.Notable: bit 29 (
0x20000000) in the "requested" mask maps to F16C in the standard CPUID leaf-1 ECX layout -- normally always present alongside AVX (bit 28, which is set in "found") on any CPU from the last ~13 years. That specific pattern -- AVX visible but F16C invisible to user-mode CPUID -- is a known symptom of Hyper-V CPUID masking, which activates whenever Memory Integrity (Core Isolation/VBS) is running. On this machine,Win32_DeviceGuardconfirmsVirtualizationBasedSecurityStatus: 2(running) withSecurityServicesRunning: {2}(Memory Integrity active). Haven't disabled it to confirm since that's a real security trade-off for one app, but this looks like the actual root cause rather than a packaging issue.