Skip to content

Codex fails to start on Windows with CPU capability error (requested: 0x20000000) #12899

Closed as duplicate

Description

@CodenameCookie

What version of Codex CLI is running?

@openai/codex@0.105.0

What subscription do you have?

Plus

Which model were you using?

gpt5.2-codex but it didnt work at all

What platform is your computer?

Windows 11

What terminal emulator and version are you using (if applicable)?

Environment - OS: Windows 11 - Shell: PowerShell - Node: v24.12.0 - npm: 11.7.0 - Codex CLI: @openai/codex@0.105.0

What issue are you seeing?

Summary

codex fails to launch on Windows 11 with a fatal hardware capability check error.

Error

Fatal Error: HW capability found: 0x178BFBFF 0xBED8320B, but HW capability requested: 0x20000000 0x00.

Actual Behavior

Process exits immediately with the fatal hardware capability error above.

What steps can reproduce the bug?

Steps To Reproduce

  1. Install Codex globally:

    npm install -g @openai/codex@0.105.0

  2. Run:

    codex --version

What is the expected behavior?

Codex starts in terminal wrapper

Additional information

  • @openai/codex@0.104.0 works on the same machine:

    codex-cli 0.104.0

  • This suggests a regression in 0.105.0 related to CPU feature requirements.

My Workaround

Downgrade to:

npm install -g @openai/codex@0.104.0

Activity

  1. added
    CLIIssues related to the Codex CLI
    windows-osIssues related to Codex on Windows systems
    on Feb 26, 2026
  2. etraut-openai commented on Mar 4, 2026

    @etraut-openai
    Contributor

    We're tracking this in #12962

  3. ShanireZ commented on Apr 25, 2026

    @ShanireZ

    I guess the command setx OPENSSL_ia32cap ~0x20000000 maybe could slove this problem.
    Run it and don't forget restart the powershell.

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

    CLIIssues related to the Codex CLIbugSomething isn't workingwindows-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