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\.codex is created
  • files like logs_2.sqlite and state_5.sqlite exist
  • no .sandbox directory is created, so there is no sandbox.log

Reproduction:

  1. Install Codex Windows desktop app from official website or Microsoft Store
  2. Launch app
  3. Crash happens immediately

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 4 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #17485
  • #17869
  • #17901

Powered by Codex Action

Wangnov · 3 months ago

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 9PLM9XGG6VKS and 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.