Windows desktop app crashes on launch with code=3221225477
Open 💬 2 comments Opened Apr 24, 2026 by baobaoxiaojingyu-a11y
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
Environment:
- Windows desktop app downloaded from the official Codex Windows download page
- Also reproduced with Microsoft Store version
- Windows account: local Administrator
- WSL is installed but no Linux distro is configured for use
- Tried both native sandbox modes:
[windows] sandbox = "elevated"[windows] sandbox = "unelevated"
Observed behavior:
- App crashes immediately on launch before usable UI appears
- Error shown:
code=3221225477- sometimes
Most recent error: None - previously also saw
Most recent error: write EPIPE
Additional evidence:
C:\Users\Administrator\.codexis created- files like
logs_2.sqliteandstate_5.sqliteexist - no
.sandboxdirectory is created, so there is nosandbox.log
Reproduction:
- Install Codex Windows desktop app from official website or Microsoft Store
- Launch app
- Crash happens immediately
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
If you want to rule out an outdated/broken Microsoft Store package by manually trying the latest official MSIX, this unofficial mirror may help:
https://github.com/Wangnov/codex-app-mirror
Latest Windows MSIX:
https://codexapp.agentsmirror.com/latest/win
It mirrors the official Codex MSIX resolved from Microsoft Store ProductId
9PLM9XGG6VKSand includes checksums/release metadata. This is not an official OpenAI installer and may not address this specific crash, but it can help when the Store path itself is unreliable.