Skip to content

[Windows][Desktop] Local command runner fails during sandbox setup refresh #50527

Open

Description

@jackycruise6-code

Summary

The local command runner in a Windows Codex Desktop task repeatedly failed before spawning commands. The same sandbox setup-refresh error also terminated a browser automation runtime. Please investigate and fix the Windows sandbox/helper setup-refresh failure.

Environment

  • Product: Codex Desktop, local task
  • OS: Windows
  • Codex app version: not captured
  • Date observed: 2026-10-02 (America/Vancouver)

Steps and results

  1. Run simple local commands in the project workspace (for example, pwd, a PowerShell file read, or cmd.exe /c cd).
  2. Each exec_command call fails before the requested command starts with:
    Rejected("Failed to create unified exec process: helper_unknown_error: setup refresh had errors")
    
  3. A browser automation attempt fails with:
    windows sandbox failed: helper_unknown_error: setup refresh had errors
    
  4. Running the PowerShell file operation through the elevated execution path succeeds. This is a workaround only; ordinary sandbox execution was not successfully retested afterward.

The failure reproduced across different commands and shell choices from the same local workspace. No local paths or project content are included here.

Expected

The local command runner and browser automation initialize the Windows sandbox and execute commands without the setup-refresh error.

Request

Please investigate the Windows sandbox/helper setup refresh failure, identify the underlying cause, and fix or document the recovery steps.

Activity

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

    @dodyg

    I have similar problem on Windows 11 ARM 64.

    D:\GitHub\mud is configured as a writable workspace folder, but I can’t verify access right now: the command runner still fails during sandbox setup, before the check runs. The folder itself hasn’t been shown to be the cause.

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