Repository navigation
Description
What version of Codex CLI is running?
0.160.0
What subscription do you have?
ChatGPT Pro
Which model were you using?
GPT-6.1-Sol, high reasoning (as displayed in the CLI)
What platform is your computer?
Windows 11, build 26200, x64
What terminal emulator and version are you using (if applicable)?
Windows Terminal running Windows PowerShell; terminal version not verified
Codex doctor report
Summary transcribed from codex doctor --no-color (not the raw JSON report):
- Codex CLI: 0.160.0, standalone installation
- Installation: consistent
- Configuration: parses successfully
- Authentication: configured
- Network connectivity checks: passed
- State and log database integrity checks: passed
- Sandbox backend: elevated
- Sandbox provisioning: failed
- Error code: helper_unknown_error
- Doctor reported: "elevated Windows sandbox provisioning recorded a structured failure"
Diagnostic logs were successfully uploaded through /feedback.
Uploaded thread ID: 01a108b9-b3f6-7861-90b2-e4de4ab76128
Terminal commands fail before the child process starts, including in a session launched with --no-daemon --sandbox read-only.What issue are you seeing?
Codex cannot start terminal commands on Windows 11. Execution fails during process creation, before Python starts, with:
Failed to create unified exec process: helper_unknown_error: setup refresh had errors
No output from the requested command is produced. This prevents all implementation and testing work.
The failure occurs in both the connected-computer workflow and standalone Codex CLI 0.160.0. Restarting the CLI and launching with --no-daemon --sandbox read-only did not resolve it.
codex doctor identifies failed elevated Windows sandbox provisioning with error code helper_unknown_error. The underlying Windows error remains unknown.
What steps can reproduce the bug?
Uploaded thread: 01a108b9-b3f6-7861-90b2-e4de4ab76128
What is the expected behavior?
The Windows sandbox should initialize successfully and allow the read-only command to execute, returning its actual output and exit code.
If sandbox initialization fails, Codex should report the underlying Windows error and actionable recovery instructions, rather than only helper_unknown_error.
Additional information
codex doctor reports a consistent installation, successfully parsed configuration, working authentication and network connectivity, and healthy checked databases. Elevated Windows sandbox provisioning is the reported failure.
The /setup-default-sandbox command was unrecognized in this CLI session.
The documented sandbox.log and default text-log directory were not found during manual checks. The /feedback upload dialog nevertheless listed windows-sandbox.log among its diagnostic attachments, and the upload completed successfully.
Possibly related: #48517, which describes a similar error on CLI 0.157.1. My report concerns CLI 0.160.0; I cannot confirm whether the underlying cause is identical.
Please provide supported recovery steps that preserve the repository, project Python environment, existing sessions and sandbox protections. Defender has not been disabled, and the sandbox has not been bypassed.
Reproduction steps (the dedicated steps field could not be edited):
Open Windows PowerShell.
Run:
codex --no-daemon --cd "C:\Projects\AI-Investment-Lab" --sandbox read-only --ask-for-approval on-request
Ask Codex to execute a read-only terminal command that prints the project Python executable path and version.
Execution fails before Python starts:
Failed to create unified exec process: helper_unknown_error: setup refresh had errors
Uploaded diagnostic thread:
01a108b9-b3f6-7861-90b2-e4de4ab76128
Activity
github-actions commentedon Oct 4, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action