openai / openai/codex

Windows app setup fails with helper_failed / Access Denied on codex-windows-sandbox-setup.exe (26.818.8289.0)

Open
#40,550 11 comments 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

Summary

The Codex Windows app cannot complete its one-time Windows setup. The UI repeatedly shows:

Windows setup didn’t finish • helper_failed

The installed Codex package is OpenAI.Codex 26.818.8289.0 and Windows reports the package status as Ok.

Environment
  • Windows 11
  • ChatGPT Plus account
  • Codex package: OpenAI.Codex_26.818.8289.0_x64__2p2nqsd0c76g0
  • Package location: C:\Program Files\WindowsApps\OpenAI.Codex_26.818.8289.0_x64__2p2nqsd0c76g0
What happens

Opening the new ChatGPT/Codex Windows app reaches Finish Windows setup. Clicking Try Windows setup again, approving the UAC prompt, still returns:

helper_failed

The sandbox helper exists at:

app\resources\codex-windows-sandbox-setup.exe

Diagnostics already performed
  1. Get-AppxPackage OpenAI.Codex | Select Name,Version,Status

Result:

Name          Version        Status
OpenAI.Codex  26.818.8289.0  Ok
  1. Verified the helper exists:

codex-windows-sandbox-setup.exe

  1. Verified its Authenticode signature:
Status  StatusMessage
Valid   Signature verified.
  1. Attempted to invoke the helper directly from an elevated Administrator PowerShell session. Result:
Program 'codex-windows-sandbox-setup.exe' failed to run: Access is denied
CategoryInfo          : ResourceUnavailable
FullyQualifiedErrorId : NativeCommandFailed
  1. Microsoft Defender real-time protection was not active. Third-party security protections were also temporarily disabled for testing, with no change. The helper still returned Access is denied.

  2. Microsoft-Windows-CodeIntegrity/Operational showed no matching block event during the failure.

  3. A temporary .codex\config.toml test using an unelevated Windows sandbox did not fix the issue. The original config was restored afterward.

  4. ChatGPT and Codex Start-menu registrations are present:

ChatGPT          OpenAI.Codex_2p2nqsd0c76g0!App
ChatGPT Classic  OpenAI.ChatGPT-Desktop_2p2nqsd0c76g0!ChatGPT
Expected behavior

Approving the UAC prompt should allow the one-time Windows helper setup to complete and permit normal local Codex use.

Actual behavior

The app remains stuck at Finish Windows setup with helper_failed, and the signed helper returns Access is denied when tested from elevated PowerShell.

Notes

The issue does not appear to be caused by account entitlement, missing installation, an invalid package, an invalid signature, or enabled antivirus/security protection. The failure appears specific to the Windows sandbox/helper setup path in this Codex build.

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

Reproduce the failure by invoking app\resources\codex-windows-sandbox-setup.exe from an elevated PowerShell session and compare it with the app's Finish Windows setup flow. Review Microsoft-Windows-CodeIntegrity/Operational during the attempt, along with the reported package and signature checks. Done means the helper completes successfully and the app no longer shows helper_failed.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.