Codex CLI 0.147.0 standalone Windows installation.

Open 💬 2 comments Opened Aug 8, 2026 by mdsahilnoob
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex CLI is running?

0.147.0

What subscription do you have?

Plus

Which model were you using?

gpt-5.6-luna

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

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

vs code/ powershell

Codex doctor report

What issue are you seeing?

Broken:

C:\Users\...\AppData\Local\Programs\OpenAI\Codex\bin\codex.exe

→ setup helper may need PATH fallback
→ command-runner resource discovery fails
→ fallback to bare codex-command-runner.exe
→ sandbox execution fails / CreateProcessWithLogonW error 2

What steps can reproduce the bug?

helper copy failed for command-runner:
helper not found next to current executable or under codex-resources:
C:\Users\...\AppData\Local\Programs\OpenAI\Codex\bin\codex.exe;
falling back to legacy path codex-command-runner.exe

What is the expected behavior?

Working:

C:\Users\...\.codex\packages\standalone\releases\
0.147.0-x86_64-pc-windows-msvc\bin\codex.exe

→ resolves versioned codex-resources correctly
→ launches codex-windows-sandbox-setup.exe
→ processes 2 writable roots with errors=[]
→ locates and copies codex-command-runner.exe
→ launches .sandbox-bin\codex-command-runner-0.147.0.exe
→ sandboxed commands succeed

Additional information

_No response_

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 20 days ago

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

  • #37049

Powered by Codex Action

Luligu · 16 days ago

Additional confirmed reproduction on Windows ARM64 with codex-cli 0.147.0:

  • Direct launcher: %LOCALAPPDATA%\Programs\OpenAI\Codex\bin\codex.exe
  • Failure: orchestrator_helper_launch_failed, with codex-windows-sandbox-setup.exe ... program not found
  • The direct launcher's directory contains only codex.exe and codex-code-mode-host.exe; no codex-resources.
  • The matching versioned standalone release contains the setup helper and command runner under codex-resources.
  • The direct and versioned codex.exe files have identical SHA-256 hashes.

Switching PATH back to a codex.cmd wrapper that invokes the newest versioned release's bin\codex.exe, then restarting, fully restored the sandbox. Verified:

  1. sandboxed commands launch;
  2. workspace writes succeed and clean up;
  3. a write to %USERPROFILE% is denied;
  4. format:check, lint, typecheck, and 198 Vitest tests pass;
  5. the sandbox log resolves the helper from the versioned release and reports errors=[].

This confirms the sandbox itself is functional; the failure is resource discovery from the AppData launcher path.