Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.1002.52244
What subscription do you have?
Plus
What platform is your computer?
"$([Environment]::OSVersion.VersionString) $(if ([Environment]::Is64BitOperatingSystem) { 'x64' } else { 'x86' })"
What issue are you seeing?
Codex cannot run local commands on Windows. Even simple read-only commands such as Get-Item and Get-Content fail before execution.
Tool error:
Failed to create unified exec process:
helper_unknown_error: setup refresh had errors
The sandbox log repeatedly reports:
runtime read/execute validation failed
open ACL target for root-only update:
The process cannot access the file because it is being used by another process. (os error 32)
Affected path:
%LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\3dd31cfff853001c\bin\node_repl.exe
Troubleshooting already attempted:
- Restarted the application completely.
- Restarted Windows.
- Tried a new conversation.
- Confirmed that all six node_repl.exe processes terminate when the application closes.
- Reopened Codex, but the same error returned.
- Searched for node_repl.exe in Resource Monitor's Associated Handles; no results appeared.
Expected behavior:
Local commands should start successfully so Codex can read and process local files.
Actual behavior:
Sandbox setup fails before any command executes.
Feedback was successfully submitted through the application.
Feedback ID:
01a078aa-b274-7e73-a4f7-34f3ad623a52
What steps can reproduce the bug?
Feedback ID: 01a078aa-b274-7e73-a4f7-34f3ad623a52
What is the expected behavior?
Sandbox setup should complete successfully, and Codex should execute local PowerShell commands and access authorized local files without this error.
Additional information
Six node_repl.exe processes were observed, all located under:
%LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\3dd31cfff853001c\bin\
All of these processes terminate when the application is fully closed. However, the error returns after reopening it.
Resource Monitor's Associated Handles search for node_repl.exe returned no results.
The latest inspected sandbox log repeats:
runtime read/execute validation failed
open ACL target for root-only update
The file is being used by another process. (os error 32)
Diagnostics were submitted successfully through the application's feedback feature.
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
wonjulifestory commentedon Oct 8, 2026
Additional reproduction on Windows on 2026-10-08, affecting local command execution and file editing.
The same runtime is involved:
%LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\3dd31cfff853001c\bin\node_repl.exeA minimal command such as
python -c "print('ready')"fails before Python starts:Sanitized sandbox log excerpt (2026-10-08T04:48:29Z):
The Korean message means the file cannot be accessed because another process is using it (sharing violation).
Observed impact and recovery attempts:
apply_patchalso cannot write even a small text file.codex --versionfrom the installed command-line executable returnscodex-cli 0.161.0. This is not a verified version of the desktop app's bundled core; the desktop app version and exact Windows build were not collected.The immediate runtime ACL-update failure is confirmed from the log. The process responsible for the conflicting file access and any startup-order race remain unconfirmed. No sandbox protections or ACLs were changed as part of these reproduction steps.
Please investigate and identify the fixed desktop/runtime release when available. We are leaving the current configuration unchanged while waiting for a supported fix.
davesaad-design commentedon Oct 8, 2026
Same failure here on Windows 11 (Codex desktop app 26.1002.52244, MSIX package
OpenAI.Codex26.1002.7124.0 from the Store).helper_unknown_error: setup refresh had errors..codex\.sandbox\sandbox.<date>.log:runtime read/execute validation failed ... runtimes\cua_node\3dd31cfff853001c\bin\node_repl.exe: open ACL target for root-only update ... (os error 32), then setup exit 1. The same os error 32 was logged as a non-fatal warning on the user-profile root.node_repl.exehelpers were running again within minutes, and the error came back.node_repl.exealready grantCodexSandboxUsersread/execute (inherited), the same asnode.exe. This looks like a sharing violation on the exclusive open, not missing rights.Workaround that worked for me (same as #51668): I quit Codex, then installed the signed
OpenAI.Codex26.930.7945.0 MSIX (Add-AppxPackage -ForceUpdateFromAnyVersion; signature Valid, publisher matching the installed package). After relaunch the app uses CLI 0.160.1, thecua_node\3dd31cfff853001cruntime is gone, and a scheduled automation that had failed twice got past the point where it previously died.[windows] sandbox = "elevated"was left unchanged.parkhotellinde commentedon Oct 8, 2026
Additional verified reproduction on Windows 10 Education 22H2, build 19045.6456, observed on 2026-10-08. Desktop version: 26.1002.52244; bundled CLI: 0.162.0-alpha.2; CUA runtime: 3dd31cfff853001c. Windows sandbox mode remains elevated.
An additional finding: the officially supported elevated setup succeeds while the desktop app is completely closed, but the failure returns after reopening the app.
With the app closed, windowsSandbox/setupStart(mode="elevated") through a local stdio app-server completed successfully. The sandbox log at 2026-10-08T16:55:25Z records:
setup refresh: processed 1 write roots (read roots delegated); errors=[]
setup binary completed
The configuration file's SHA-256 was unchanged after setup.
After reopening the app, the first sandboxed read-only command failed before execution at 2026-10-08T16:56:11Z. The log again reports:
runtime read/execute validation failed ... 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)
Browser-control calls also fail before page access; the trusted Node process exits.
During an earlier live recovery attempt, terminating the two specifically identified node_repl.exe helpers moved the setup failure to:
cua_node\3dd31cfff853001c\bin\node_modules@oai\sky\bin\windows\swift\x64\VCRUNTIME140_1.dll
Windows Restart Manager identified codex-computer-use-swift.exe as using that DLL. After that helper was terminated, the desktop app immediately spawned a replacement and setup still failed on the same DLL. The node_repl.exe ACL already grants CodexSandboxUsers inherited read/execute access.
These observations suggest a runtime-startup/ACL-refresh ordering or file-sharing conflict, but do not establish the root cause. No sandbox downgrade, broad ACL reset, or runtime binary replacement was applied. Please advise on a supported fix and the release containing it.
13032585789-spec commentedon Oct 8, 2026
I am experiencing the same issue on Codex Desktop for Windows.
Environment
Codex Desktop version: 26.1002.52244
Platform: Windows
Sandbox modes tested: elevated and unelevated
Affected runtime: cua_node/3dd31cfff853001c/bin/node_repl.exe
Steps to reproduce
Launch Codex Desktop.
Open a local project.
Ask Codex to run a basic PowerShell command: Write-Output "CODEX_TEST_OK".
The command fails before execution.
Actual error
exec_command failed: CreateProcess {
message: "Rejected("Failed to create unified exec process: helper_unknown_error: setup refresh had errors")"
}
Sandbox log
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)
setup refresh completed with errors
setup error: setup refresh had errors
Troubleshooting performed
Closed and reopened Codex Desktop.
Tested a separate workspace.
Identified node_repl.exe processes launched by codex.exe and node.exe.
Terminated the relevant processes after closing Codex.
Restarted Codex; the error persisted.
Changed the Windows sandbox setting from elevated to unelevated; the error still occurred.
Expected behavior
Codex should initialize the sandbox successfully and execute basic local commands.
Actual behavior
Every local command fails before execution. This also prevents Codex from accessing and modifying local documents through its normal execution tools.
Could the maintainers confirm whether this is a known regression in version 26.1002.52244 and whether a supported fix or workaround is available?
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)
setup refresh completed with errors
setup error: setup refresh had errors
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.