Skip to content

Windows desktop app crashes on launch with code=3221225477 #19258

Open

Description

@baobaoxiaojingyu-a11y

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

Activity

  1. added
    bugSomething isn't working
    appIssues related to the Codex desktop app
    windows-osIssues related to Codex on Windows systems
    sandboxIssues related to permissions or sandboxing
    on Apr 24, 2026
  2. Wangnov commented on May 22, 2026

    @Wangnov

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions