Skip to content

Windows: dot-delegated tasks fail before execution while ordinary local Codex sessions work #51735

Open

Description

@ashjo42

Environment

  • Windows desktop connected to ChatGPT; initiating conversation in ChatGPT web on Windows.
  • Subscription: Pro.
  • Exact current desktop/CLI version and Windows build: not captured. I do not want to substitute an older version number.
  • Observed on October 7, 2026.

What issue are you seeing?

The desktop appears connected and authorized, but tasks delegated by my dot cannot start even a minimal read-only PowerShell command. Ordinary local Codex sessions on the same computer can execute commands successfully.

The delegated task fails before the command starts:

exec_command failed: CreateProcess { message: "Rejected(\"Failed to create unified exec process: exec-server rejected request (-32603): helper_unknown_error: setup refresh had errors\")" }

This blocks repository inspection and development through delegation, even though local Codex remains usable. No project files were modified by the failed probes.

Steps to reproduce in the affected setup

  1. Connect and authorize the Windows desktop. The UI shows it as connected.
  2. Ask the dot to create a local task to inspect an existing project.
  3. In that delegated task, run only Get-Location using PowerShell. It fails during process initialization with the error above.
  4. Fully exit and reopen the desktop client, reconnect, and retry the original task. The same error occurs.
  5. Add the actual project folder as a local workspace and retry with that explicit working directory. The same error occurs.
  6. Create a fresh delegated task directly in the existing project directory. Its first read-only probe also fails.

Control test

In an ordinary local Codex session on the same computer, Get-Location and git status completed successfully. Later, ordinary local Codex also inspected the actual project and ran its existing executable successfully. This is evidence that local execution is available; it does not establish which difference in configuration or execution path causes delegation to fail.

Troubleshooting already attempted

  • Retried the existing delegated task.
  • Disabled shell login initialization (login: false).
  • Tried explicit working directories, including the actual project folder.
  • Tried a minimal read-only probe in a temporary directory.
  • Restarted and reconnected the desktop client.
  • Created a fresh delegated task in the project directory.

The failure occurs before project commands run. We have not established an ACL, sandbox, path, or project-code root cause, and have not disabled security protections or deleted session/project data.

Timing and additional symptom

Delegated command failures were reproduced at approximately 07:59, 08:05, 10:48, and 10:50 UTC on October 7. Later, around 15:45 UTC, requests to inspect connected environments or send a follow-up to an existing delegated task were also rejected with a conversation/assistant association error, while the desktop UI still showed connected. It is not established whether this later orchestration failure shares the same cause as the process-initialization error.

Expected behavior

An authorized connected desktop should allow a delegated task to run the minimal read-only command, as ordinary local Codex can. If delegation cannot initialize, please surface the underlying failure and supported recovery steps that preserve project files, session history, and sandbox protections.

Related reports

Please advise which diagnostic logs are needed and the appropriate private submission channel. Private conversation contents, screenshots, machine names, and local project paths are intentionally omitted.

Activity

  1. added
    bug
    app
    windows-os
    tool-calls
    dots
    on Oct 7, 2026
  2. staxe177 commented on Oct 8, 2026

    @staxe177

    I’m experiencing the same dot execution error on Windows ChatGPT Desktop 26.1002.51308. My laptop is connected and authorized, but dot cannot access my local files. Even a simple Get-Location command fails before execution with:
    “exec-server rejected request (-32603): helper_unknown_error: setup refresh had errors”
    The issue persisted during the latest test on 8 October at 1:29 am Singapore time, despite earlier app and laptop restarts. The app still reports that it is up to date.
    Please confirm whether a fix is available for dot-delegated execution and which Windows build contains it. My diagnostic upload has completed under feedback ID: 01a0f23e-4b9a-7438-93ce-e101d808201b.
    Thank you.

  3. staxe177 commented on Oct 8, 2026

    @staxe177

    I’m experiencing the same dot execution error on Windows ChatGPT Desktop 26.1002.51308. My laptop is connected and authorized, but dot cannot access my local files. Even a simple Get-Location command fails before execution with: “exec-server rejected request (-32603): helper_unknown_error: setup refresh had errors” The issue persisted during the latest test on 8 October at 1:29 am Singapore time, despite earlier app and laptop restarts. The app still reports that it is up to date. Please confirm whether a fix is available for dot-delegated execution and which Windows build contains it. My diagnostic upload has completed under feedback ID: 01a0f23e-4b9a-7438-93ce-e101d808201b. Thank you.

    Updated to 26.1002.52244, but dot-delegated execution still fails before Get-Location runs with ‘helper_unknown_error: setup refresh had errors’. Retested on 8 October at approximately 9:22 am Singapore time.

  4. donghodot commented on Oct 8, 2026

    @donghodot

    I can reproduce the same difference on another Windows installation: an ordinary local desktop conversation successfully runs Get-Location, while a dot-delegated task on the same connected and authorized PC fails before execution.

    Environment from the sandbox log:

    • Windows package: OpenAI.Codex_26.1002.7124.0_x64
    • Command runner: 0.162.0-alpha.2
    • CUA runtime: 3dd31cfff853001c

    At 2026-10-07 20:52:38 UTC, the log records:

    runtime read/execute validation failed on node_repl.exe in the Codex cua_node runtime
    open ACL target for root-only update: The process cannot access the file because it is being used by another process. (os error 32)
    setup refresh completed with errors
    setup refresh had errors

    The setup helper exits with status 1. A separate user-profile read-attributes warning explicitly says it is continuing setup.

    The delegated Get-Location test still failed on October 8 at approximately 00:13 UTC. An ordinary local conversation returned its workspace path successfully around 00:18 UTC. Effective sandbox/execution settings between the two paths have not been independently compared, so this does not establish the root cause.

    Restarting the app, rebooting the PC, and creating a fresh delegated task did not resolve it. No ACL changes, security disabling, or configuration deletion were performed. The error persisted after the related service incidents were marked recovered. It prevents my delegated desktop modeling work from starting.

    The runtime error also resembles #51778, but I cannot confirm a shared root cause. Could the team provide a supported fix or the specific diagnostics needed to distinguish these execution paths? Personal paths, email, screenshots, and project files are omitted.

  5. zhuyusheng commented on Oct 8, 2026

    @zhuyusheng

    Additional evidence from my Windows installation: dot still cannot operate the connected local computer, although ordinary local Codex can run commands. The desktop is shown as connected and authorized, but a dot-delegated Get-Location fails before PowerShell starts:

    exec-server rejected request (-32603): helper_unknown_error: setup refresh had errors
    

    This prevents dot from reading directories or performing even a temporary write/read-back test in the authorized workspace (<PROJECT_DIR>).

    Environment recorded in the morning logs on October 8, 2026

    • Windows app package: OpenAI.Codex_26.1002.7124.0_x64.
    • Command-runner/backend version: 0.162.0-alpha.2.
    • These are the versions recorded in those logs, not a claim that every later retry used an independently verified identical build.

    Runtime file-in-use evidence
    The morning sandbox logs repeatedly recorded:

    runtime read/execute validation failed
    %LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\3dd31cfff853001c\bin\node_repl.exe
    open ACL target for root-only update
    os error 32 (ERROR_SHARING_VIOLATION)
    

    Windows Restart Manager identified 6–7 processes using that runtime. With my explicit authorization for that troubleshooting step, only the verified node_repl.exe child processes were terminated. The file-open conflict then disappeared, without changing the ACL. An ordinary local Codex session successfully completed three control tests: Get-Location, a read-only directory listing, and a temporary file write/read-back.

    However, dot-delegated execution still failed with the same top-level setup-refresh error at approximately 14:07 and 21:14 on October 8, 2026 (UTC+08:00). I have not retrieved the underlying sandbox logs for those later retries, so I cannot claim that they failed on the same runtime file or that the sharing violation fully explains the continuing dot failure. Restarting, reconnecting, and trying different delegated tasks have not restored dot execution.

    This adds a local recovery/control result to the execution-path difference reported here. The earlier runtime error also resembles #51778. I see that #51822, “Avoid sharing violations when repairing Windows runtime ACLs,” has merged, but that does not establish which desktop package contains it or whether it covers dot's execution path.

    Could maintainers confirm:

    1. Which supported Windows desktop version/package includes Avoid sharing violations when repairing Windows runtime ACLs #51822, and its availability through the updater?
    2. Whether dot-delegated tasks use a different executor/runtime or setup path from ordinary local Codex sessions?
    3. Which minimal sanitized diagnostics would distinguish these paths, and the appropriate private submission channel?

    No raw logs, full diagnostic files, personal identifiers, or private project contents are attached.

  6. Fantasymax commented on Oct 8, 2026

    @Fantasymax

    I’m seeing the same error when a dot-created task tries to read a local workspace on Windows.

    Observed behavior:

    • The computer is shown as connected and authorized.
    • Listing local Codex sessions succeeds.
    • The delegated task can identify the project and its location.
    • A read-only directory command fails before execution. No directory contents are returned.

    Exact error:
    Failed to create unified exec process: exec-server rejected request (-32603): helper_unknown_error: setup refresh had errors

    Troubleshooting:

    • Disconnecting and reconnecting the computer did not resolve it. A fresh read attempt returned the same error.
    • A separate attempt to create a task explicitly attached to the project failed with DesktopTaskProjectUnavailableError.
    • Parent-side project discovery returned DesktopProjectsUnavailableError, although project discovery inside the delegated task succeeded.

    A separate account on another PC also has trouble listing local sessions. That symptom has not been independently diagnosed, so I cannot confirm it has the same cause.

    The underlying cause is unknown. Successful command execution in an ordinary local session has not been verified in this investigation. No project files or settings were changed by these checks.

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

    appbugdotstool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions