Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.1002.52244 (Released October 7, 2026)
What subscription do you have?
ChatGPT Business
What platform is your computer?
Windows x64 (Virtual Machine / VM Clone)
What issue are you seeing?
Codex Desktop 26.1002.52244 on Windows fails to initialize its sandbox. All sandboxed commands fail before execution.
Visible error:
exec_command failed: CreateProcess { message: "Rejected(\"Failed to create unified exec process: helper_unknown_error: setup refresh had errors\")" }
The sandbox log reveals the underlying failure:
runtime read/execute validation failed: validate runtime read/execute access on ...\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)
The Windows sandbox setup helper (9691020b546a15b2) exits with status 1.
The log also reports an error 32 while attempting to grant a non-inheriting read-attributes ACE on the user profile, although that step is marked as nonfatal.
Sandbox mode: workspace-write.
This blocks all sandboxed shell commands and prevents native Node REPL testing.
Previously, the original Windows VM successfully executed both sandboxed shell commands and native Node REPL using Codex Desktop 26.930.61225. After cloning the VM and starting Codex Desktop 26.1002.52244, sandbox initialization fails.
What steps can reproduce the bug?
- Start Codex Desktop 26.1002.52244 on a Windows x64 VM.
- Open a local workspace with sandbox mode set to
workspace-write. - Ask Codex to execute the read-only PowerShell command
Get-Locationusing its sandboxed execution tool. - Observe that sandbox initialization fails before the command starts with
helper_unknown_error: setup refresh had errors. - Inspect the sandbox log in
.codex\.sandbox\sandbox.2026-10-08.log. It recordsos error 32while validating access to the bundlednode_repl.exe.
The issue occurred repeatedly.
Troubleshooting:
- Searched Resource Monitor for handles containing
node_repl.exeandcua_node; no matching handles were visible at inspection time. - Rebooted the VM once and retried.
- The sandbox still failed after reboot.
- No manual ACL changes or Windows security bypasses were applied.
What is the expected behavior?
The Windows sandbox should initialize successfully and execute read-only commands such as Get-Location.
The bundled Node REPL runtime should be accessible without sandbox initialization failing due to a Windows sharing violation.
Additional information
Codex App version: 26.1002.52244
Sandbox helper bin: 9691020b546a15b2
cua_node runtime: 3dd31cfff853001c
The original VM ran successfully on Codex Desktop 26.930.61225. The updated clone fails. Since cloning, restarting, and runtime changes were not independently isolated, the app version alone is not proven to be the root cause.
The underlying os error 32 was confirmed in logs before reboot. After reboot, the same visible setup error persisted, but the latest log was not separately checked.
Related issue: #51719
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
yizhibibao125 commentedon Oct 8, 2026
same problum
AxelCFC commentedon Oct 8, 2026
Same issue here on 26.1002.52244 (build 13536), same node_repl.exe path (cua_node\3dd31cfff853001c) and same os error 32 during "runtime read/execute validation". It worked the day before (10/07).
Extra details that may help:
Workaround that fixed it for me:
Step 2 alone was not enough: the log still showed os error 32 on the freshly recreated node_repl.exe. After step 3, terminal, node_repl and browser control work again.
This suggests the failure is in the elevated setup path, which tries to update the ACL of node_repl.exe while it is open. Happy to provide the full sandbox log.
yizhibibao125 commentedon Oct 8, 2026
Thank yout very much!!! It is very helpful!😄
lll953147712-crypto commentedon Oct 9, 2026
你好,请问解决了吗
yizhibibao125 commentedon Oct 9, 2026
我试了一下,解决了,codex又能用了。
前天出问题之后测试了好多方法都不行,只能转而暂时使用CLI、但是CLI不如codex桌面端用的顺手😢
希望openai官方尽快修复这一问题
diliwo commentedon Oct 9, 2026
I'm experiencing the same issue on Windows with Codex CLI 0.162.0.
My sandbox logs consistently report
runtime read/execute validation failedforcua_node\...\node_repl.exe, followed by Windowsos error 32andhelper_unknown_error: setup refresh had errors.The problem reproduces outside any Git repository, including with harmless commands such as
Get-Date. I've tried restarting Windows, closing lingering Codex processes, testing a cached 0.161.0 executable, and reinstalling 0.162.0 using the official PowerShell installer, without restoring command execution.My configuration uses
[windows] sandbox = "elevated".I haven't modified ACLs or tested the
unelevatedworkaround yet. This appears closely related to the issue reported here.yizhibibao125 commentedon Oct 9, 2026
I was able to resolve this issue by changing the Windows sandbox setting from
elevatedtounelevatedin~/.codex/config.toml:I also renamed
%LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_nodetocua_node.oldwhile Codex was fully closed, allowing it to recreate the runtime directory.After restarting Codex, command execution started working again in both Codex CLI and the desktop app.
I can't confirm whether changing the sandbox setting alone is sufficient, since I applied both changes, but this workaround resolved the issue for me.
mgonzalezCV commentedon Oct 9, 2026
Confirming the same issue on a native Windows x64 PC (not a VM).
My installation uses the same Codex binary identifier (
9691020b546a15b2) and Node runtime identifier (3dd31cfff853001c).The failure began October 8, 2026. A Windows restart initially helped, but the issue returned October 9 and persisted through additional restarts and process cleanup.
The sandbox logs repeatedly report:
I inspected the processes using Sysinternals Handle and Windows PowerShell. Multiple
node.exeandnode_repl.exeprocesses belonged to the Codex runtime, although the precise executable file-lock owner was not conclusively identified.Workaround confirmed: Changing only the following setting restored shell execution:
I did not need to rename, delete, or reinstall the
cua_noderuntime directory.This suggests the issue is associated with the elevated Windows sandbox initialization/ACL validation path.
I have sanitized diagnostic logs from October 8–9 available if useful.
jaydudko commentedon Oct 9, 2026
I'm experiencing the same Windows sandbox failure using ChatGPT Work with built-in Codex functionality.
Environment: Windows 11 x64, ChatGPT Plus, Windows package version 26.1002.7124.0.
The failure frequently occurs after successfully creating a custom skill or plugin. Even a simple read-only PowerShell command fails afterward.
My October 9 sandbox logs show
runtime read/execute validation failedoncua_node\3dd31cfff853001c\bin\node_repl.exe, followed by Windowsos error 32andhelper_unknown_error: setup refresh had errors.Restarting Windows, checking Windows Security, and inspecting runtime permissions have not resolved the problem.
This is blocking my custom skills, PDF processing, and file-generation workflows. I can provide sanitized diagnostic logs if needed.