Skip to content

I am experiencing the same native Windows sandbox failure. #41754

Closed

Description

@CarlM888

Environment

  • Codex CLI: 0.151.0, windows-x86_64
  • Windows 11 Pro: 10.0.22621.4169
  • Sandbox backend: elevated
  • Approval policy: OnRequest
  • Endpoint protection: SentinelOne
  • Install method: npm

Error

Failed to create unified exec process:
helper_unknown_error: setup refresh had errors

codex doctor reports:

sandbox provisioning: failed
error code: helper_unknown_error

### Timeline

Stored rollout metadata shows:

- 2026-08-26 08:16:35 AEST — CLI 0.147.0 executed successfully.
- 2026-08-26 08:17:21 AEST — CLI 0.147.0 first failed with setup refresh had errors.
- Every subsequent native Windows command has failed before process creation.
- The same version working 46 seconds earlier suggests this was not caused directly by a CLI version upgrade.

### Troubleshooting completed

- Restarted Codex and Windows multiple times.
- Reinstalled/upgraded Codex to 0.151.0.
- Configuration parses successfully.
- Authentication, networking, installation, and state databases pass Doctor checks.
- PowerShell and cmd.exe work normally outside Codex.
    - Code Integrity
    - AppLocker
    - System
    - Application

- Native Windows sandbox remains broken.
- Codex 0.151.0 under Ubuntu/WSL reports a healthy restricted Linux sandbox and works successfully.

I can provide a redacted codex doctor --json report if required. Please advise whether there is a supported command to
reset/reprovision the Windows sandbox or collect the underlying helper diagnostics.

Activity

  1. added
    bug
    CLI
    windows-os
    sandbox
    on Aug 31, 2026
  2. CarlM888 commented on Aug 31, 2026

    @CarlM888
    Author

    Additional reproduction evidence from #41754:

    • Native Windows Codex CLI 0.147.0 executed successfully at 2026-08-26 08:16:35 AEST.
    • The same CLI version first failed at 08:17:21 AEST—46 seconds later—with:
      helper_unknown_error: setup refresh had errors
    • Every subsequent native Windows command fails before process creation.
    • Reinstalling/upgrading to CLI 0.151.0 did not repair it.
    • SentinelOne reported no alert or threat.
    • No correlated events were found in Code Integrity, AppLocker, System, or Application logs.
    • codex doctor reports elevated Windows sandbox provisioning failed.
    • Codex 0.151.0 under Ubuntu/WSL on the same machine reports a healthy restricted Linux sandbox and works.

    The same-version success immediately before the persistent failure suggests sandbox state/refresh corruption rather
    than a CLI upgrade or requested-shell failure

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

    CLIbugsandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions