Skip to content

Windows delegated task cannot start PowerShell: unelevated sandbox rejects split writable roots #52252

Open

Description

@turok-inc

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

26.1002.52244

What subscription do you have?

pro

What platform is your computer?

window 10 22H2 build 19045.6466

What issue are you seeing?

A delegated local task fails before even a read-only PowerShell command can start.
Command: Get-Location
Error:
failed to prepare process sandbox: windows unelevated restricted-token sandbox cannot enforce split writable root sets directly; refusing to run unsandboxed
The desktop is reported as connected and authorized. The failure persisted after restarting the app and trying a new task. I enabled Full access in the app, but this affected task still reports the same sandbox error. Another Codex agent can execute commands; this does not resolve the affected session.
Earlier sandbox logs showed a separate setup-refresh failure caused by Windows error 32 when opening node_repl.exe or VCRUNTIME140_1.dll in the shared Codex runtime. I cannot establish whether that earlier failure and the current split-root rejection have the same cause.
Expected: a supported sandbox configuration should allow the read-only command to run while preserving its access boundaries, or provide an actionable setup error. I am not requesting a sandbox bypass.
Feedback reference: 01a11adb-f112-7080-a47a-07f6c3e30065
Related report with the same split-root error: #32168
Related report about the earlier runtime file-lock error: #51906

What steps can reproduce the bug?

Feedback ID: 01a11adb-f112-7080-a47a-07f6c3e30065

What is the expected behavior?

The delegated task should run the authorized read-only command within an enforceable sandbox. If its permission configuration is incompatible with the Windows sandbox implementation, the app should provide a clear, supported recovery path without requiring unrestricted execution.

Additional information

Earlier logs showed a separate runtime ACL setup failure with Windows error 32 on node_repl.exe or VCRUNTIME140_1.dll. Later log entries show successful commands in other contexts. The relationship between these failures is unknown. No process has been identified as the cause, and there is no evidence of conflicting project-file writes.
Related reports: #32168 and #51906. Private paths and full logs are intentionally omitted.
ב

Activity

  1. added
    app
    on Oct 8, 2026
  2. added
    bug
    windows-os
    sandbox
    tool-calls
    on Oct 8, 2026
  3. prmaiacap commented on Oct 15, 2026

    @prmaiacap
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

    appbugsandboxtool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions