Skip to content

Codex Windows sandbox repeatedly fails to launch command runner. #30047

Description

@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
  4. CodexSandboxOffline user was missing and had to be manually recreated.
  5. 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

Activity

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 workingcode-reviewIssues relating to code reviews performed by codexsandboxIssues related to permissions or sandboxingwindows-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