Repository navigation
Description
Summary
On October 9, 2026, Codex on Windows repeatedly failed to execute shell commands with:
helper_unknown_error: setup refresh had errors
Sandbox setup fails before command execution when attempting to validate/update read/execute ACL access for the bundled cua_node runtime executable. Windows returns a sharing violation (os error 32) because the executable is in use by another process.
Observed behavior
- Repeated shell attempts fail during sandbox setup, before commands can run.
- The agent could not inspect an existing Git diff, read local verification files, compare compatibility docs and a Java baseline, modify project code, or run tests.
- Existing uncommitted changes were not touched or staged.
- The sandbox log contains consecutive occurrences at 2026-10-09 16:36:30, 16:39:22, 16:39:24, 16:39:30, and 16:39:32 (log's local timestamp).
Log excerpt (identifying user profile path redacted)
[2026-10-09T08:39:30.097076900+00:00] runtime read/execute validation failed:
validate runtime read/execute access on
C:\Users\<USER>\AppData\Local\OpenAI\Codex\runtimes\cua_node\3dd31cfff853001c\bin\node_repl.exe:
open ACL target for root-only update:
另一个程序正在使用此文件,进程无法访问。 (os error 32)
[2026-10-09T08:39:30.102425500+00:00] setup refresh: processed 4 write roots (read roots delegated);
errors=["runtime read/execute validation failed: ... node_repl.exe:
open ACL target for root-only update: 另一个程序正在使用此文件,进程无法访问。 (os error 32)"]
[2026-10-09T08:39:30.102460400+00:00] setup refresh completed with errors
[2026-10-09T08:39:30.102477100+00:00] setup error: setup refresh had errors
[2026-10-09 16:39:30.102 codex-windows-sandbox-setup.exe] setup error: setup refresh had errors
English translation: “The process cannot access the file because it is being used by another process.”
Steps to reproduce (based on observed workflow)
- Use Codex on Windows with a local project/workspace.
- Ask the agent to execute a shell command to inspect files or the Git diff.
- Observe
helper_unknown_error: setup refresh had errors. - Inspect
%USERPROFILE%\.codex\.sandbox\sandbox.2026-10-09.log. - Observe repeated ACL validation failures for the bundled
node_repl.exewithos error 32.
Expected behavior
Shell commands should start normally. A transient file sharing conflict in runtime ACL refresh should not indefinitely block all local workspace execution.
Environment
- Platform: Windows, PowerShell
- Codex mode: local shell execution (Desktop usage reported)
- App version / Windows build / sandbox mode: not yet verified
- Bundled runtime hash:
cua_node/3dd31cfff853001c - Failure date: October 9, 2026
Related issues
- Windows sandbox setup blocked by running bundled node_repl.exe / Swift DLL (os error 32) #51969 — same runtime hash and Windows sharing violation
- Windows elevated sandbox setup fails when
node_repl.exeis running (OS error 32) #52389 — sandbox ACL refresh collides with runningnode_repl.exe - Windows desktop: sandbox setup fails with os error 32 on bundled runtime files #52127 — shell/browser execution failure after update
Please consider consolidating this report if the root cause is shared.
Additional observation — Stable vs Beta (2026-10-09)
The reporter confirmed that ChatGPT (Beta) works normally on the same machine, whereas the affected Stable app repeatedly fails with helper_unknown_error: setup refresh had errors and the node_repl.exe sharing violation during sandbox setup. This is a useful Stable/Beta behavioral contrast; the exact versions and builds have not yet been collected. Please compare the bundled runtime and Windows sandbox initialization behavior across the two channels.
Distribution channel clarification (2026-10-09)
The working ChatGPT (Beta) application was downloaded from the Microsoft Store on Windows. It works normally on the reporter's machine. The precise identity/distribution channel of the failing app (ChatGPT Stable Codex surface vs standalone Codex Desktop) is still to be confirmed; the observation should not be interpreted as an established apples-to-apples Stable/Beta comparison of the same product.
Confirmed affected product / channel (2026-10-09)
Clarification from reporter: The failing application is the ChatGPT Stable app installed from Microsoft Store, using its integrated Codex surface; it is not a separate standalone Codex Desktop installation. The ChatGPT (Beta) app, also obtained from Microsoft Store, works normally on the same Windows machine.
Microsoft Store package identities reported for these distribution channels in related reports are OpenAI.Codex (Stable) and OpenAI.CodexBeta (Beta), respectively; the reporter's exact installed package versions are not yet measured. This narrows the observed problem to a Stable vs Beta channel regression in Codex sandbox initialization, rather than a project-level Git or Go/Java issue.
Please use this clarification to supersede earlier ambiguous wording in this report describing the app as 'Codex Desktop'.
Confirmed Microsoft Store package versions (PowerShell evidence, 2026-10-09)
The reporter ran Get-AppxPackage *Codex* | Select-Object Name, Version, PackageFullName on the affected Windows machine:
Name Version PackageFullName
OpenAI.Codex 26.1002.7124.0 OpenAI.Codex_26.1002.7124.0_x64__2p2nqsd0c76g0
OpenAI.CodexBeta 26.727.4816.0 OpenAI.CodexBeta_26.727.4816.0_x64__2p2nqsd0c76g0
- Fails: Microsoft Store ChatGPT Stable (
OpenAI.Codex, package version26.1002.7124.0), integrated Codex shell sandbox setup returnshelper_unknown_error: setup refresh had errorswith thenode_repl.exeACL sharing violation (os error 32). - Works: Microsoft Store ChatGPT (Beta) (
OpenAI.CodexBeta, package version26.727.4816.0) on the same machine.
These are package version numbers, not necessarily the app's About-dialog version or the bundled Codex engine version. Beta's package version is numerically lower; its successful behavior should not be assumed to imply that it contains a newer fix. Please compare the two packages' bundled runtime, ACL setup sequence, and process/file sharing behavior.
Activity
github-actions commentedon Oct 9, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
node_repl.exeis running (OS error 32) #52389Powered by Codex Action
gRanid commentedon Oct 9, 2026
A partial solution to the problem is here #51862 (comment)