Codex Windows sandbox repeatedly fails to launch command runner.

Open 💬 1 comment Opened Jun 25, 2026 by AlphaSeekr

What version of Codex CLI is running?

0.142.2

What subscription do you have?

Pro

Which model were you using?

gpt-5.5

What platform is your computer?

Windows

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

Windows Terminal

Codex doctor report

What issue are you seeing?

Codex Windows sandbox repeatedly fails to launch command runner.

Observed sequence:

  1. codex-windows-sandbox-setup.exe initially not found by bare filename.
  2. Helper exists under .codex packages and can execute.
  3. codex-command-runner.exe/resource lookup was inconsistent across:
  • AppData\Local\Programs\OpenAI\Codex\bin
  • .codex\packages\standalone\releases\0.142.2...
  • WindowsApps OpenAI.Codex_26.616.10790.0
  1. CodexSandboxOffline user was missing and had to be manually recreated.
  2. After users existed and ACLs were granted, sandbox still fails:

CreateProcessAsUserW failed: 5

What steps can reproduce the bug?

just failes on sandbox with code review

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗