Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Not yet verified. The desktop app and bundled executor versions could not be retrieved through the affected local execution path.
What subscription do you have?
Not included in this report.
What platform is your computer?
Windows. Exact Windows build and architecture have not yet been verified.
What issue are you seeing?
Dot-launched local tasks cannot start commands on a connected Windows computer, while a separate ordinary local Codex conversation on the same computer reportedly works.
This shares the failure signature in #40596. I am reporting the same-machine execution-path difference separately so it can be investigated without assuming that every occurrence has the same cause.
Directly observed in the dot task workflow:
- The target computer is reported as connected, attached, and authorized for local tasks.
- Both an existing dot-launched local task and a newly created local task fail before the requested command executes.
- The execution error is:
exec-server rejected request (-32603): helper_unknown_error: setup refresh had errors
Same-machine comparison, reported by the user:
- A separate ordinary local Codex conversation can execute commands and use Windows computer control.
- This successful ordinary-session behavior has not been independently re-tested through the failing dot execution path.
Separate observation:
- The fresh dot-launched task had Windows computer-control instructions available, but no usable native GUI runtime/tool entry was exposed to it.
- It is not established whether this missing tool entry and the sandbox setup failure share a cause.
What steps can reproduce the bug?
- Connect and authorize the Windows computer for dot local tasks.
- Ask dot to run a minimal read-only command, such as
Get-Location, on that computer. - Observe the setup-refresh failure before command execution.
- Repeat in a freshly created dot-launched local task; the same error occurs.
- Compare with the user's reported working ordinary local Codex conversation on the same computer.
What is the expected behavior?
Authorized dot-launched local tasks should initialize their execution environment and run the read-only command. If initialization fails, the app should identify the failed setup step and offer a supported recovery path.
Additional information
PR #49058 fixes Windows sandbox ACL repair for long runtime paths and may be relevant, but the root cause on this computer has not been confirmed.
The source for rust-v0.159.3 still uses the older ACL-opening implementation, while rust-v0.160.0-alpha.6 contains the long-path implementation. This comparison does not establish the version installed on this computer or imply that installing a standalone CLI would update dot's desktop-managed executor.
Could maintainers confirm:
- Which official Windows desktop build and bundled executor include Fix Windows sandbox ACL repair for long runtime paths #49058?
- Whether the ordinary-local-session versus dot-launched-task difference points to a known execution-path issue?
- Whether the missing native GUI runtime/tool entry should be tracked separately?
No full local paths, private task identifiers, credentials, or raw logs are included.
Activity
github-actions commentedon Oct 1, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
siglr commentedon Oct 3, 2026
I'm seeing the missing computer/browser-control runtime in dot-launched Windows tasks too. My PC is connected, attached and authorized for dot tasks. Shell commands, file operations, builds and tests work, but the tasks have no callable browser/computer-control runtime despite the Computer Use skill being installed. Manually created Codex tasks on the same PC provide computer/browser control.
On October 1, I retested after updating the Windows ChatGPT/Codex app (reported OWL build 26.928.31416). The dot-launched task still had no callable Browser/IAB/Chrome-extension, node_repl or cua_repl tools, so it could not list tabs or read a tab title.
This corroborates the missing-runtime observation. I am not reproducing the command/sandbox setup error in the original report, and I don't know whether the causes are related.
Ken-Chen-Ori commentedon Oct 7, 2026
Follow-up with a reproducible root-cause signal and a working local workaround.
I reproduced the same Dot-vs-local split on Windows:
Write-Output 'DOT_PROCESS_PROBE'fails before the child process is created with:Environment observed on the affected machine:
OpenAI.Codex_26.1002.6548.0_x64__2p2nqsd0c76g026.1002.51308(build 13417, prod)codex-cli 0.162.0-alpha.27.6.5TokenIsElevated = 0).Direct sandbox log evidence
At the failing request, the sandbox helper started a setup refresh and then failed while validating the CUA Node runtime:
Immediately afterward:
and the setup helper exited with code 1. The requested PowerShell process itself never started.
This is not an Access Denied / error 5 case. The fatal error is Windows sharing violation / error 32 while the runtime binary is already in use. Multiple
node_repl.exeinstances were alive before the failing setup refresh.There was also an
invalid file URIobserved elsewhere that decoded to the packaged app.../app/resourcesdirectory, but I could not correlate that URI error to this specific setup failure. For this failure, the strongest evidence is the error-32 path above.Working local workaround
A narrowly-scoped ACL experiment fixed the failing exec-server path without:
For only the runtime EXE/DLL files confirmed to be involved in the failing validation, I added an explicit per-user Deny FILE_WRITE_DATA / WriteData ACE. I first saved the original ACLs so the change was reversible.
Why this appears to work: the setup code is opening the ACL target with an access request that includes
MAXIMUM_ALLOWED. On an already-running EXE/DLL, that can resolve to write access that is incompatible with Windows image/file sharing and causes error 32. Explicitly denying only WriteData preventsMAXIMUM_ALLOWEDfrom including that write right, while preserving read/execute and the existing sandbox behavior.After that change, using the same bundled exec-server / process-start path:
DOT_PROCESS_PROBEsucceeded with exit code 0.CodexSandboxOfflineaccount was used.AGENTS.mdwas readable.setup_error.jsoncondition cleared.So this is not evidence that Full Access or Administrator privileges are required. It instead strongly suggests a Windows sandbox setup bug in how the helper opens already-loaded runtime binaries during ACL/read-execute validation.
Suggested product-side fix
Please inspect the Windows sandbox setup path that opens runtime EXE/DLL files for ACL validation/update. In particular, avoid requesting
MAXIMUM_ALLOWEDwhen only the minimum rights needed for ACL inspection/update are required, because on loaded images it can introduce unnecessary write access and triggerERROR_SHARING_VIOLATION (32).The ACL workaround above is intentionally restrictive and version-specific; I would not recommend applying it broadly to the runtime tree. The proper fix should be in the helper's requested access/share semantics.
I have kept the original ACL snapshots and a restore script locally, so the workaround is reversible.
AkioKoneko commentedon Oct 7, 2026
Another affected Windows dot workflow, observed October 7, 2026. I posted the full reproduction and restart/retest timeline on the current sandbox regression thread: #51601 (comment).
All attempted local shell calls in two dot-created tasks failed before process launch with
exec-server rejected request (-32603): helper_unknown_error: setup refresh had errors, including a retest at approximately 12:36 UTC after restarting Codex. This prevents project-file reads, diagnostics/tests, and local development through dot.Manual PowerShell works, but a separately user-created ordinary Codex chat has not been tested on this installation. Cloud connector tools still work. No sandbox/ACL/security changes or third-party patches were applied, and the underlying sharing-violation cause is not independently established here.
Linking the reports so maintainers can assess whether this dot-created-task failure belongs to the current Windows sandbox regression.
Update, October 7, 2026: in a new report at 12:47 UTC, the user says a previously working ordinary local Codex chat also showed the same setup-refresh error after switching Full access to Approve for me. This supersedes the earlier untested-ordinary-chat limitation for that mode comparison; it is user-reported, not independently reproduced by the assistant. The mode correlation does not establish the cause or the underlying error-32 sharing violation. Details are appended to the linked #51601 reproduction.
Zachariah-Jack commentedon Oct 8, 2026
Written by Aria, the user's AI assistant, at the user's request.
Additional Windows observation, October 8, 2026:
Two fresh dot-created desktop tasks failed before commands started. During the same period, an existing local Codex project thread completed nine read-only PowerShell commands with exit code 0, including file reads and directory metadata inspection. This was verified from recorded tool results, not just the assistant’s summary.
The failing tasks returned:
Failed to create unified exec process: exec-server rejected request (-32603): helper_unknown_error: setup refresh had errors
At 04:00:55–04:00:56 UTC, a minimal file-free probe also failed identically:
echo CODEX_STARTUP_PROBE
It used exec_command with login=false, sandbox_permissions=use_default and tty=false; workdir and shell were omitted. No command output or process session was returned. Native thread-list/read tools remained usable.
The successful project-thread commands ran during 03:50:28–03:54:23 UTC using bundled pwsh.exe. Their underlying tool transport and effective sandbox settings were not exposed, so this is not a fully controlled comparison.
Reading project content is unnecessary to trigger the failure; inherited workspace or working-directory effects remain possible. Installed app/executor versions and underlying setup logs were not captured. No configuration changes, escalation, restarts or repairs were attempted for these tests.
Could maintainers identify the desktop build containing PR #51822 and the supported diagnostics for comparing these execution paths? We have not established that our failure is the sharing violation addressed by that PR.
Private paths, device identifiers, thread IDs and project contents are omitted.
Nawidarian1 commentedon Oct 8, 2026
I am experiencing a similar issue on Windows 11 with ChatGPT Desktop version 26.1002.52244, released October 6, 2026.
My local computer, XUS, is connected, attached, and authorized for tasks. However, my DOTs cannot execute even a basic read-only PowerShell command.
Error:
exec-server rejected request (-32603):
helper_unknown_error: setup refresh had errors
Local project discovery also fails with:
DesktopProjectsUnavailableError
Code: CONFLICT
Type: desktop_projects_unavailable
Troubleshooting performed:
Get-Locationthrough my dot. Execution failed before the command started.Get-Locationin Codex Local.Current result: Direct Codex Local execution works, but dot-delegated execution and local project discovery remain unavailable.
No files or settings were modified during these diagnostic tests.
Is this a known issue with the dot-to-desktop execution path? Is there a recommended fix that does not require deleting local project history or resetting Codex state?
mitch-dromeda commentedon Oct 8, 2026
I'm also hitting this on Windows. A manually opened local Codex task works, but dot-delegated tasks fail before even
Get-Locationstarts. The PC remains connected and authorized.Versions checked on October 8, 2026
26.1002.7124.026.1002.52244, build13536codex-cli 0.162.0-alpha.2prod; the updater reports up to dateReproduction
Get-Location.Read-only diagnostic result
The sandbox log at
2026-10-08T11:43:08.273395200Zidentifies:32, file in use by another process%USERPROFILE%\AppData\Local\OpenAI\Codex\runtimes\cua_node\3dd31cfff853001c\bin\node_repl.exe1Restarting the app, updating it, rebooting Windows and relaunching as administrator did not restore delegated execution. The manual local task still works. No ACL workaround, runtime replacement or cache deletion has been applied.
This matches the failure family addressed by #51822 (commit
dd12f89), merged October 7. I haven't verified that the fix has shipped in a Windows desktop build, or that it is present in my bundled executor.Could you confirm the first Windows desktop build containing this fix and the supported way to update the desktop-managed executor? I'd like to preserve existing local task state and sandbox protections. Installing a separate CLI would not establish that the executor used by dot has been repaired.
This comment contains only sanitized diagnostic details; no raw logs, credentials, project contents or private task identifiers are attached.
jreverett commentedon Oct 8, 2026
Additional controlled execution-path evidence from October 8, 2026.
Within one existing dot-delegated task, using the same working directory and PowerShell:
exec_commandwith onlyGet-Locationand default sandbox permissions failed before process creation:exec-server rejected request (-32603): helper_unknown_error: setup refresh had errors.Get-Locationcommand through the supported owner execution route (sandbox_permissions=require_escalated) completed with exit code 0.This comparison does not require switching to an ordinary local conversation. It narrows the observed difference to execution modes within a delegated task; effective process tokens were not independently compared, so it does not establish the cause or a recommended workaround.
Verified environment: Windows 10.0.26200.0, installed app package 26.1002.7124.0, bundled
codex-cli 0.162.0-alpha.2.Read-only sandbox diagnostics show 14 runtime-validation failures on
node_repl.exeduring 15:10–15:25 UTC, with Windows sharing violationos error 32while opening the ACL target for a root-only update. The latest matching entry is 15:29:52.309641300 UTC. This corroborates the already-reported error-32 signal; the additional evidence is the same-task execution-mode comparison.No ACL, security setting, runtime file or cache was changed. No raw logs, private paths or task identifiers are attached.
alecwardd commentedon Oct 9, 2026
Here's why dot tasks fail while ordinary local sessions work on the same PC. This is from Windows 11 with desktop 26.1002.7124.0 (CLI 0.162.0-alpha.2). The underlying sandbox bug is #51634.
Dot tasks always force a sandbox setup refresh. Ordinary sessions usually don't.
codex.exe exec-server --remote https://codex-cloud-environments.chatgpt.com/api .... Each fresh dot task got a new dated folder as its only write root:Documents\Codex\<date>\task, then...\task-2;exec-server rejected request (-32603): helper_unknown_error: setup refresh had errorsbefore any process starts.Get-Contentin a dot task also failed at the refresh, in a read-only sandbox withprocessed 0 write roots.Confirming the
require_escalatedworkaround that @jreverett described. In a fresh dot task,exec_commandwithsandbox_permissions="require_escalated"and a justification, underapprovals_reviewer=auto_review, ran outside the sandbox and succeeded. It ran in the requested cwd, and CIM process queries worked. Every command has to request escalation, because anything non-escalated still fails at the refresh.The fix in PR #51822 is in CLI tags 0.162.0-alpha.20 and 0.163.0-alpha.2, but not in 0.162.0-alpha.2 or stable 0.162.0. Dot tasks should recover once the desktop bundles one of those builds.