Repository navigation
Description
Summary
Dots requests reach the connected Windows computer, but command execution fails before hostname launches:
exec-server rejected request (-32603): helper_unknown_error: setup refresh had errors
Direct commands in a local chat configured with danger-full-access succeed. This comparison does not establish that sandboxed local execution works.
Environment
- Windows desktop package observed in the running executable path:
OpenAI.Codex_26.1002.7124.0_x64__2p2nqsd0c76g0. - Sandbox helper directory:
%LOCALAPPDATA%\OpenAI\Codex\bin\9691020b546a15b2. - Runtime:
%LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\3dd31cfff853001c\bin\node_repl.exe. - Observed October 8–9, 2026; timestamps below use UTC+08:00.
- User reports restarting the application; failures subsequently recur.
Reproduction and actual behavior
- Keep the desktop app running and the computer connected/authorized for Dots.
- Ask Dots to run
hostnameon the computer. - Setup refresh fails before command launch.
- After restarting the app, retry. Failures were recorded again at 13:56:12 and 13:57:24 on October 9.
Sanitized log excerpt from %USERPROFILE%\.codex\.sandbox\sandbox.2026-10-09.log:
[2026-10-09 13:57:24.542 codex.exe] START: <bundled pwsh.exe> -NoProfile -Command hostname
[2026-10-09 13:57:24.642 codex.exe] setup refresh: spawning <LOCALAPPDATA>\OpenAI\Codex\bin\9691020b546a15b2\codex-windows-sandbox-setup.exe
runtime read/execute validation failed: validate runtime read/execute access on <LOCALAPPDATA>\OpenAI\Codex\runtimes\cua_node\3dd31cfff853001c\bin\node_repl.exe: open ACL target for root-only update: another program is using this file (os error 32)
setup refresh completed with errors
setup error: setup refresh had errors
setup refresh: exited with status ExitStatus(ExitStatus(1))
A user-profile ACL warning also reports error 32, but the log explicitly continues after that warning. The runtime validation error is fatal.
Additional diagnostic evidence
The existing ACL on node_repl.exe includes CodexSandboxUsers: ReadAndExecute, Synchronize. ACL reading succeeds.
A read-only diagnostic used CreateFileW on the existing runtime executable with OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS, and sharing flags FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE. Each successful handle was closed, and no file content or ACL was changed:
| Requested access | Result |
|---|---|
WRITE_DAC (0x00040000) |
Success |
| `GENERIC_READ | GENERIC_WRITE (0xC0000000`) |
| `GENERIC_READ | GENERIC_WRITE |
Earlier tests also succeeded with READ_CONTROL and GENERIC_READ alone. Windows Restart Manager identified four processes using that executable at the time of diagnosis. A later process snapshot showed three node_repl.exe instances started by Codex or its bundled Node processes, with approximately 29 MB working set each and no CPU increase over a two-second observation interval. These processes were started after the app restart.
Hypothesis / requested investigation
Please inspect whether runtime ACL validation opens active executables with more access than necessary (for example, generic write access or an access mask that includes it). The access-mask experiment supports this possibility, but does not prove which mask the installed helper uses or that public main matches this build.
Could ACL inspection use READ_CONTROL, and updates request WRITE_DAC only when necessary, while preserving sandbox access validation? Normal Dots execution should initialize successfully while the app's own runtime helpers are running.
Related reports
- Windows: dot-started tasks fail with “setup refresh had errors”, but direct local Codex chats work #51882: Dots tasks fail while direct local chats work.
- Windows app 26.1002.51308: sandbox setup fails with sharing violation when validating its own active runtime #51601: same runtime ACL refresh sharing violation and a similar access-mask hypothesis.
- Windows App 26.1002.7124.0: sandbox runtime read/execute validation fails with sharing violation #51932: same Windows package version and runtime validation failure.
This report adds an access-mask comparison from the affected machine. User names, machine identifiers, private workspace paths, and credentials have been omitted.
Activity
github-actions commentedon Oct 9, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
lynley999 commentedon Oct 9, 2026
Additional reproduction from another affected Windows installation, with time-correlated read-only diagnostics. Shared with the affected user's explicit permission.
Dot-delegated
Get-Datefails before process creation withexec-server rejected request (-32603): helper_unknown_error: setup refresh had errors. Direct local Codex tasks remain usable, but their effective sandbox mode was not established, so this is not an equivalent sandbox-mode comparison.A prior local diagnostic reported bundled CLI
0.162.0-alpha.2and separate npm CLI0.153.4; both doctor runs reported sandbox configuration failure. Exact current desktop package/Windows build were not reverified, and those CLI versions were collected before the latest app Repair. The application update dialog saysChatGPT is up to date.Fresh evidence after reboot
All timestamps below are Beijing time (UTC+08:00), October 9, 2026 unless stated otherwise.
At 23:24:18.483, the sandbox log reported runtime read/execute validation failure for
...\cua_node\<runtime-version>\bin\node_repl.exe, while opening the ACL target for a root-only update, withos error 32. At 23:24:18.502 it reportedsetup refresh had errors; at 23:24:18.509 the helper exited with code 1. The sandboxsetup_error.jsonmodification time matched.A working local diagnostic task then performed 120 successful Windows Restart Manager queries over 120 seconds, from 23:40:50.291 to 23:42:50.303, while one new delegated terminal test was triggered:
setup refresh had errors.setup_error.jsonupdated.Both adjacent samples contained five parent-resolved
node_repl.exerecords: two parented bycodex.exe, three bynode.exe, with recorded start times before this failure. Restart Manager returned 14 records in total, but seven were already unavailable during the initial parent lookup. This must not be described as 14 verified live processes, nor does it establish the specific handle/process responsible for the sharing conflict. No access-mask experiment was performed on this installation.Recovery attempts
Application restart and a full PC reboot did not fix the issue. Windows app Repair was also tried. After reconnection, a new delegated test around October 10, 00:05 UTC+08:00 (October 9, 16:05 UTC) still failed before command creation with the same top-level setup-refresh error. The latest post-Repair underlying log was not separately inspected, so that last test alone does not reconfirm error 32.
No processes were killed, handles forcibly closed, ACLs changed, runtime files deleted/replaced, or sandbox/security settings weakened during these diagnostics.
PR #51822 appears relevant. Could maintainers identify the Windows desktop release that includes it, and the supported recovery path when the installed app reports it is up to date?
Usernames, machine identifiers, private thread IDs, full local paths, raw diagnostic files and credentials are omitted. Local log/sample findings were produced by read-only local diagnostics and relayed by the affected user; delegated command failures and connection status were separately observed through the task interface.
tadeogutierrez commentedon Oct 9, 2026
I can reproduce this on Windows with desktop UI version 26.1002.52244 (released October 7, 2026) and package OpenAI.Codex_26.1002.7124.0.
Steps:
At 17:21:09 UTC on October 9, the sandbox log reports fatal runtime read/execute validation failure for [Codex-managed runtime]/cua_node/[runtime-id]/bin/node_repl.exe while opening the ACL target for a root-only update, with os error 32 (file used by another process). The user-profile ACE warning explicitly continues setup; the runtime validation error is fatal. The process holding the conflicting handle has not been identified.
Closing a third-party agent did not resolve it. The Chrome extension still works. An earlier setup entry for node.exe at 16:52 reported errors: [], but delegated shell execution remained broken.
PR #51822 appears relevant, but I cannot confirm whether this desktop build includes it. Which Windows desktop release contains the fix, and is there a supported recovery path that does not require manual ACL changes or disabling the sandbox?
tadeogutierrez commentedon Oct 9, 2026
Follow-up to my earlier report after updating:
A fresh dot-created local task on Windows now runs Get-Location successfully with exit code 0 under normal permissions. The earlier ACL/setup-refresh failure did not recur in this shell test.
CUA getState and getBrowser still fail before returning any inventory, with this error:
node_repl kernel exited unexpectedly; MXC launcher: cannot locate required Windows platform directory: HRESULT 0x80070003
Read-only shell checks found the runtime files and confirmed that the locations referenced by SystemDrive, ProgramFiles, ProgramFiles(x86), and ProgramData exist. The CUA child process's environment has not been captured, so these shell checks do not establish what the launcher sees. No ACL or sandbox settings were changed.
The remaining CUA error resembles #52407, but I cannot confirm a shared root cause. Should this follow-up continue there or here, and which sanitized diagnostics would help?
Personal paths, identifiers, and raw logs are omitted.