You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows sandbox blocked by node_repl.exe sharing violation; helper processes respawn after termination #51999
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems
Codex local execution and Chrome/browser control are completely unavailable on my Windows computer.
The problem started on October 8, 2026. These workflows previously worked, and I made no intentional system changes before the failure. An app update is suspected but not confirmed.
App version reported by Codex:
26.1002.52244, build 13536, prod channel.
The app update check reported up_to_date.
Even this minimal PowerShell command fails before execution:
Write-Output 'SANDBOX_OK'
Error:
helper_unknown_error: setup refresh had errors
The sandbox log identifies the fatal error:
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:
The process cannot access the file because it is being used by another process. (os error 32)
Observations:
Initial setup logged errors=[] and "setup binary completed".
Subsequent command attempts fail during runtime ACL validation.
Process Explorer shows two node_repl.exe processes from the Codex cua_node runtime, using this chat's working directory.
Their parents were codex.exe and node.exe.
After manually terminating these processes, they reappear, and sandbox execution still fails.
Closing and reopening Codex did not resolve the failure.
Resource Monitor's Associated Handles search returned no matches.
Browser-control and Node REPL tools also exit before executing the requested operation.
Local commands fail before execution with:
helper_unknown_error: setup refresh had errors
My sandbox log shows:
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:
The process cannot access the file because it is being used by another process.
(os error 32)
Two node_repl.exe processes run from that runtime directory.
Both exit when I close Codex and reappear when I reopen it
and resume the chat. The failure also occurs in a new chat.
I was working with my enterprise account. I tried to continue working with my personal account (closed session and reopen with personal account) and now it works.
This morning happened again. After all night with my pc asleep I tried to keep working with my personal account but failed. Then I changed to my enterprise account and it's working again.
This is my temporary solution, change between my personal and enterprise account back and forth....
Confirming this affects skill usage on my build (About Codex version: 26.1002.52244).
Same failure signature as above, but triggered by attempting to use an installed skill rather than a direct shell command, browser-control action, or the VS Code extension — worth noting since every report I’ve seen in this cluster so far describes a manual/direct trigger. This points at the failure being in the generic sandbox setup/refresh path itself, which runs before any unified-exec call regardless of what initiated it, rather than something specific to how the command was invoked.
Sandbox log excerpt:
[2026-10-08 13:11:10.313 codex.exe] setup refresh: spawning C:\Users\<user>\AppData\Local\OpenAI\Codex\bin\9691020b546a15b2\codex-windows-sandbox-setup.exe (cwd=C:\Users\<user>\AppData\Local\OpenAI\Codex\bin\9691020b546a15b2, payload_len=3452)
[2026-10-08T17:11:10.935513600+00:00] failed to grant non-inheriting read-attributes ACE on user profile C:\Users\<user>: open ACL target for root-only update: The process cannot access the file because it is being used by another process. (os error 32); continuing setup
[2026-10-08T17:11:10.953221900+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: The process cannot access the file because it is being used by another process. (os error 32)
[2026-10-08T17:11:10.977746200+00:00] setup refresh: processed 4 write roots (read roots delegated); errors=["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: The process cannot access the file because it is being used by another process. (os error 32)"]
[2026-10-08T17:11:10.977792300+00:00] setup error: setup refresh had errors
[2026-10-08 13:11:10.982 codex.exe] setup refresh: exited with status ExitStatus(ExitStatus(1))
Retried in a fresh conversation and full app re-launches - same runtime path, same error.
Failure and scope
Normal sandboxed PowerShell commands fail before execution:
Failed to create unified exec process:
helper_unknown_error: setup refresh had errors
Node REPL initialization can fail through the same setup path. A basic Get-Location also failed with C:\Windows as the working directory; no game process was running. This is not limited to project code.
Selected actual log lines, with local username removed (timestamps UTC):
[2026-10-08T20:56:32.726890300+00:00] 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: 另一个程序正在使用此文件,进程无法访问。 (os error 32)
[2026-10-09T02:13:51.869480900+00:00] runtime read/execute validation failed: validate runtime read/execute access on %LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\3dd31cfff853001c\bin\node.exe: open ACL target for root-only update: 另一个程序正在使用此文件,进程无法访问。 (os error 32)
The Chinese message means another process is using the file. The same error was also observed on:
Completely exiting and reopening the app did not provide lasting recovery.
Windows Restart Manager associated node_repl.exe with two live REPL processes. Terminating the confirmed processes shifted the failure to the sky runtime DLL above.
Process-module inspection confirmed that the Computer Use helper loaded that exact DLL. Terminating this helper caused its app UI parent process to respawn it; the failure persisted.
A backed-up, scoped ACL experiment restricted the current sandbox group's runtime-root access to read/execute. Key paths were checked, but OS error 32 persisted. The original access ACL was restored, with owner/group unchanged.
With the app fully closed, an official elevated CLI sandbox probe succeeded under the sandbox account. The script then reopened the app automatically. App command execution again failed during active-runtime ACL validation. Persistent config hash was unchanged.
A fresh runtime copied from the installed official package was compared to the original cache using SHA-256 for the manifest, Node executables, helper executable and runtime DLL; their contents matched. The trial allowed one normal sandbox command and actual Node REPL evaluation. Computer Use window enumeration also succeeded. A subsequent normal sandbox command failed again with OS error 32 after the runtime was active.
The original runtime cache was restored after this failed trial. No executable patches, mixed versions, permanent ACL changes or sandbox-mode downgrade remain. No desktop rollback was performed.
Separate observation
After temporary runtime recovery, an Edge window-state/screenshot request was stopped because Computer Use could not determine the current browser URL with sufficient confidence to enforce policy. This is a separate policy-confidence stop; it is not established as the cause of the sandbox sharing violation.
Request
Please investigate runtime ACL refresh while the app's CUA processes are active, and provide a supported fix that retains the elevated sandbox. A possible conflict between ACL refresh and active file handles / initialization ordering is a hypothesis, not a confirmed source-code diagnosis.
This supplement contains no credentials, machine/user names, project source, full conversations, raw ACL/SID dumps or .sandbox-secrets. No feedback ID is claimed. The app's update check returned unavailable (Windows Store eligibility), not a confirmed up-to-date result.
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon Oct 8, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
jpuebla commentedon Oct 8, 2026
I am experiencing the same issue on Windows.
Local commands fail before execution with:
helper_unknown_error: setup refresh had errors
My sandbox log shows:
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:
The process cannot access the file because it is being used by another process.
(os error 32)
Two node_repl.exe processes run from that runtime directory.
Both exit when I close Codex and reappear when I reopen it
and resume the chat. The failure also occurs in a new chat.
Codex app version: 26.1002.52244
EDIT***************************************************************
I was working with my enterprise account. I tried to continue working with my personal account (closed session and reopen with personal account) and now it works.
EDIT 2***************************************************************
This morning happened again. After all night with my pc asleep I tried to keep working with my personal account but failed. Then I changed to my enterprise account and it's working again.
This is my temporary solution, change between my personal and enterprise account back and forth....
curtis-fox-hyland commentedon Oct 8, 2026
Confirming this affects skill usage on my build (About Codex version: 26.1002.52244).
Same failure signature as above, but triggered by attempting to use an installed skill rather than a direct shell command, browser-control action, or the VS Code extension — worth noting since every report I’ve seen in this cluster so far describes a manual/direct trigger. This points at the failure being in the generic sandbox setup/refresh path itself, which runs before any unified-exec call regardless of what initiated it, rather than something specific to how the command was invoked.
Sandbox log excerpt:
Retried in a fresh conversation and full app re-launches - same runtime path, same error.
Laity-nun0 commentedon Oct 9, 2026
Additional diagnostic results for the same OS error 32 failure, with no lasting recovery.
Environment
Failure and scope
Normal sandboxed PowerShell commands fail before execution:
Node REPL initialization can fail through the same setup path. A basic Get-Location also failed with C:\Windows as the working directory; no game process was running. This is not limited to project code.
Selected actual log lines, with local username removed (timestamps UTC):
The Chinese message means another process is using the file. The same error was also observed on:
Recovery experiments and results
Separate observation
After temporary runtime recovery, an Edge window-state/screenshot request was stopped because Computer Use could not determine the current browser URL with sufficient confidence to enforce policy. This is a separate policy-confidence stop; it is not established as the cause of the sandbox sharing violation.
Request
Please investigate runtime ACL refresh while the app's CUA processes are active, and provide a supported fix that retains the elevated sandbox. A possible conflict between ACL refresh and active file handles / initialization ordering is a hypothesis, not a confirmed source-code diagnosis.
This supplement contains no credentials, machine/user names, project source, full conversations, raw ACL/SID dumps or .sandbox-secrets. No feedback ID is claimed. The app's update check returned unavailable (Windows Store eligibility), not a confirmed up-to-date result.