openai / openai/codex

Windows setup fails with `helper_failed` and no UAC prompt

Open
#45,759 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug sandbox windows-os
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

Windows setup fails with helper_failed and no UAC prompt

Codex Windows helper_failed Bug Report.md

Environment

  • OS: Windows 11 Home China, 25H2
  • OS Build: 26200
  • Architecture: x64
  • Codex Desktop version: 26.908.9136.0
  • Package: OpenAI.Codex_26.908.9136.0_x64__2p2nqsd0c76g0
Problem

Codex Windows setup fails with helper_failed.

Clicking Retry Windows setup does not trigger a UAC elevation prompt.

Troubleshooting performed
  • Windows account is an Administrator.

  • CPU virtualization is enabled.

  • OpenAI.Codex AppX package reports:

    • Status: Ok
    • SignatureKind: Store
  • The bundled helper exists at:
    ...\app\resources\codex-windows-sandbox-setup.exe

  • Authenticode signature of the helper is Valid, signed by OpenAI OpCo, LLC.

  • Running the helper directly from an elevated PowerShell results in:
    Access Denied

  • The helper file reports Encrypted / Application Protected.

  • Codex services/AppX installation appear otherwise normal.

Expected behavior

Clicking Retry Windows setup should successfully run the required Windows sandbox setup helper and complete the setup, including the necessary UAC elevation.

Actual behavior

The setup fails with helper_failed, and no UAC prompt appears.

Please investigate whether the Windows AppX/MSIX protection or the sandbox setup helper is preventing the helper from launching/elevating correctly.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the attached bug report and the Windows setup path that launches app/resources/codex-windows-sandbox-setup.exe when Retry Windows setup is selected. Reproduce the helper_failed result on the reported Windows environment and inspect why the helper returns Access Denied without a UAC prompt. Done means the helper launches with the required elevation and Windows sandbox setup completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
operating-systems, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.