Skip to content

Windows sandbox fails with “apply deny-read ACLs”; Node runtime, Browser, and Computer Use cannot start #41818

Open

Description

@wrawanderson-create

What version of the Codex App are you using (From “About Codex” dialog)?

26.825.6671.0

What subscription do you have?

Chat GPT Plus

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

node_repl kernel exited unexpectedly

node_repl diagnostics: {
"kernel_pid": "[REDACTED]",
"kernel_status": "exited(code=1)",
"kernel_stderr_tail": "windows sandbox failed: helper_unknown_error: apply deny-read ACLs",
"reason": "stdout_eof",
"stream_error": null
}
node_repl kernel exited unexpectedly

node_repl diagnostics: {
"kernel_pid": "[REDACTED]",
"kernel_status": "exited(code=1)",
"kernel_stderr_tail": "windows sandbox failed: orchestrator_helper_exit_nonzero: setup helper exited with status Some(1)",
"reason": "stdout_eof",
"stream_error": null
}

What steps can reproduce the bug?

Feedback ID: 01a04875-a204-7b10-9d3e-d5a4190856c1

What is the expected behavior?

the runtime starts and returns 2.

Actual result: the process exits while the Windows sandbox helper is applying deny-read ACLs. No project files or browser state are modified.

Additional information

Feedback Id: 01a04875-a204-7b10-9d3e-d5a4190856c1

Activity

  1. added
    app
    on Aug 31, 2026
  2. added
    bug
    windows-os
    sandbox
    on Aug 31, 2026
  3. mrciremaro commented on Sep 11, 2026

    @mrciremaro

    I’m seeing the same orchestrator_helper_exit_nonzero: setup helper exited with status Some(1) failure on native Windows with Codex CLI 0.154.0.

    Additional details from my reproduction:

    • windows.sandbox = "elevated" is effective.

    • Elevated provisioning reports complete.

    • Firewall setup completed successfully.

    • Filesystem/read-ACL provisioning completed without reported errors.

    • setup_marker.json exists at version 5.

    • codex doctor --json reports:

      • sandbox backend: PASS / elevated
      • sandbox provisioning: PASS
      • filesystem sandbox: PASS / restricted
      • network sandbox: PASS / restricted
      • runtime/install: PASS / Codex 0.154.0
    • A direct codex sandbox invocation still fails before the requested child process starts.

    Observed stderr:

    windows sandbox failed: orchestrator_helper_exit_nonzero: setup helper exited with status Some(1)

    The child produced no stdout and never reached its initial marker.

    I also see occasional Windows error 5 / Access Denied warnings involving temporary CODEX_HOME\tmp\arg0 PATH-alias cleanup, but I have no evidence that those warnings are the cause.

    The elevated sandbox’s base provisioning therefore appears successful, with failure occurring during per-invocation helper startup.

    I can provide redacted codex doctor output and sandbox logs if useful.

  4. jasteeq commented on Sep 18, 2026

    @jasteeq

    I am seeing the same Windows sandbox provisioning failure on Windows 10.

    Environment

    • Windows 10 Pro 22H2
    • OS build: 19045.6466
    • x64
    • ChatGPT Plus
    • Codex Doctor: 0.155.0-alpha.9 windows-x86_64
    • Codex version cache: 0.155.0
    • Sandbox config:
    [windows]
    sandbox = "elevated"

    Symptoms

    Codex Desktop shows that Windows setup is incomplete. Retrying setup fails.

    codex doctor reports:

    elevated Windows sandbox provisioning is incomplete or outdated
    

    Running elevated setup manually:

    & "$env:LOCALAPPDATA\OpenAI\Codex\bin\cdef5aaf3e41ab53\codex.exe" sandbox setup --elevated --current-user --codex-home "$env:USERPROFILE\.codex"

    returns:

    Error: orchestrator_helper_exit_nonzero: setup helper exited with status Some(1)
    

    Helper behavior

    Both helper binaries exist in the installed Codex bin directory:

    codex-command-runner.exe
    codex-windows-sandbox-setup.exe
    

    Initially, invoking the materialized .codex\.sandbox-bin\codex.exe hit a helper lookup problem. As a diagnostic workaround, I copied:

    codex-windows-sandbox-setup.exe
    codex-command-runner.exe
    codex-command-runner-0.155.0-alpha.9.exe
    

    into:

    %USERPROFILE%\.codex\.sandbox-bin
    

    After that, the error changed from helper/program-not-found to:

    orchestrator_helper_exit_nonzero:
    setup helper exited with status Some(1)
    

    Running the original Codex executable directly from the installed %LOCALAPPDATA%\OpenAI\Codex\bin\<hash>\codex.exe produces the same Some(1) result.

    Diagnostics already checked

    • winget works (v1.29.290)
    • config.toml contains a valid [windows] sandbox = "elevated" entry
    • enabling ACL inheritance on .codex\.sandbox-bin did not fix the issue
    • .codex\.sandbox\setup_error.json is NOT created
    • .codex\.sandbox\deny_read_acl_state.json is NOT present
    • .codex\.sandbox\sandbox.2026-09-18.log mainly shows successful --codex-run-as-fs-helper launches and does not expose the underlying elevated provisioning failure
    • network/auth checks in codex doctor succeed

    Expected behavior

    Elevated Windows sandbox provisioning completes successfully and Codex Desktop stops reporting incomplete Windows setup.

    Actual behavior

    The setup helper launches but exits with status 1, without producing setup_error.json, leaving the elevated Windows sandbox incomplete.

    sandbox = "unelevated" works as a fallback, but elevated sandbox remains unusable.

  5. mrciremaro commented on Sep 19, 2026

    @mrciremaro

    Try checking your version of you BIOS. If it's older than 2023 you might need to update it.

  6. pan0541 commented on Sep 29, 2026

    @pan0541

    Still reproducible on Windows 11 with VS Code extension 26.917.62051 and Codex CLI 0.155.0-alpha.16.3. codex doctor reports elevated sandbox provisioning failed with helper_unknown_error. Running VS Code as Administrator does not fix it. /feedback also fails with “Couldn't verify feedback permissions.”

  7. Ademar35 commented on Oct 8, 2026

    @Ademar35

    I can reproduce this in the Codex desktop app on Windows (October 7, 2026). Both the in-app browser and Chrome control fail before a page can be inspected. A direct Computer Use / node_repl initialization also exits before running JavaScript. The diagnostic is:

    node_repl kernel exited unexpectedly
    kernel_status: exited(code=1)
    kernel_stderr_tail: windows sandbox failed: helper_unknown_error: apply deny-read ACLs
    reason: stdout_eof
    

    The Chrome extension is enabled. Fully quitting and restarting Codex did not resolve the failure; the same diagnostic appeared afterward. The attempted page was a Claude artifact, but the crash occurs before browser interaction. Expected behavior: the runtime starts and can connect to the open tab. I have omitted account details and local paths.

  8. ricovigil1 commented on Oct 28, 2026

    @ricovigil1

    Additional reproduction — Codex CLI 0.156.1, Windows elevated sandbox helper exits 1

    Adding a sanitized reproduction to the existing elevated-Windows-sandbox reports. I do not know the underlying cause and have not applied a workaround.

    Environment

    • Windows x64, kernel 10.0.26200.0
    • npm-installed Codex CLI 0.156.1 (0.156.1-win32-x64 native package)
    • Native executable and bundled sandbox helpers have valid OpenAI signatures
    • Configured Windows sandbox: elevated; filesystem policy: workspace-write; approval policy: on-request
    • Parent PowerShell process was not administrator
    • Reproduction: 2026-10-28, approximately 14:05 UTC

    Correctly formed no-model reproduction (with $taskDir pointing to a disposable local workspace):

    & $codexExe -c 'windows.sandbox="elevated"' sandbox `
      --include-managed-config --permission-profile :workspace --cd $taskDir `
      -- "$env:SystemRoot\System32\cmd.exe" /d /c echo WW_SANDBOX_PREFLIGHT_OK
    $LASTEXITCODE

    Actual: Codex exits 1, the marker never appears, and the error is:

    windows sandbox failed:
    orchestrator_helper_exit_nonzero:
    setup helper exited with status Some(1)
    

    This is not based solely on the misleading codex sandbox windows --help form. That earlier form passed windows --help as a command payload in this CLI version; the correct codex sandbox --help subsequently returned exit 0. The correctly formed sandboxed-child invocation above still failed.

    Existing diagnostics / bounded before-and-after inspection

    • Both existing sandbox accounts were enabled; the setup marker reported version 5.
    • Account enablement, inspected firewall-rule metadata (22 related rules), task/sandbox-directory ACL fingerprints, configuration, setup marker, and deny-read-state files were unchanged across the failed probe.
    • No setup_error.json was present; the existing sandbox log was not updated by the probe.
    • No matching diagnostic was found in the accessible Application, System, Code Integrity, or AppLocker logs around the invocation. Security process auditing was not accessible and no corresponding Sysmon log was found.
    • Additional warnings mention access denial during temporary-directory cleanup / PATH-alias creation, but there is no evidence establishing that those warnings caused the helper exit.
    • The source-level error classification is consistent with a launched setup helper exiting nonzero, but its actual PID, process token, and failure point were not independently established.

    No retry, elevation, ACL repair, firewall change, sandbox-mode switch, or helper-direct execution was performed. A successful child launch, effective isolation, and the root cause remain unverified.

    Maintainer question: Is there a supported, privacy-preserving way to obtain the setup helper's underlying error or distinguish per-invocation ACL reconciliation from helper initialization and parent-environment interference, without changing system security settings? Guidance on the appropriate diagnostic collection path would be appreciated.

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

    appbrowserbugcomputer-usesandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions