Repository navigation
Description
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
- Connect and authorize the Windows desktop. The UI shows it as connected.
- Ask the dot to create a local task to inspect an existing project.
- In that delegated task, run only
Get-Locationusing PowerShell. It fails during process initialization with the error above. - Fully exit and reopen the desktop client, reconnect, and retry the original task. The same error occurs.
- Add the actual project folder as a local workspace and retry with that explicit working directory. The same error occurs.
- 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
- Windows: dot-launched local tasks fail sandbox setup while ordinary Codex works on the same PC #49953 is an existing matching report of ordinary local Codex working while dot-created tasks fail. This issue provides an additional affected installation and October 7 retest timeline, not a newly discovered execution-path distinction. Please consolidate if appropriate. The underlying Windows error in this installation remains unverified; the error-32 or ACL explanations in other reports are not established here.
- Windows: connected desktop cannot start tasks — setup refresh had errors #50421 reports a similar connected-desktop task failure. This report adds a successful ordinary-local-Codex control test and failure of both resumed and fresh delegated tasks.
- Windows sandbox initialization fails with “setup refresh had errors” #50007 reports the same setup-refresh error; I have not verified that its proposed ACL cause applies here.
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
github-actions commentedon Oct 7, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
staxe177 commentedon Oct 8, 2026
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.
staxe177 commentedon Oct 8, 2026
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.
donghodot commentedon Oct 8, 2026
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:
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.
zhuyusheng commentedon Oct 8, 2026
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-Locationfails before PowerShell starts: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
OpenAI.Codex_26.1002.7124.0_x64.0.162.0-alpha.2.Runtime file-in-use evidence
The morning sandbox logs repeatedly recorded:
Windows Restart Manager identified 6–7 processes using that runtime. With my explicit authorization for that troubleshooting step, only the verified
node_repl.exechild 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:
No raw logs, full diagnostic files, personal identifiers, or private project contents are attached.
Fantasymax commentedon Oct 8, 2026
I’m seeing the same error when a dot-created task tries to read a local workspace on Windows.
Observed behavior:
Exact error:
Failed to create unified exec process: exec-server rejected request (-32603): helper_unknown_error: setup refresh had errors
Troubleshooting:
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.