Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Codex Desktop 26.1002.7124.0, verified from the installed OpenAI.Codex Windows package using Get-AppxPackage (the About dialog was not inspected).
Bundled runner: codex-cli 0.162.0-alpha.2, verified by running the installed bundled codex.exe --version.
What subscription do you have?
Not collected; subscription information is omitted from this public report.
What platform is your computer?
Windows 11 Home, Chinese edition; OS version 10.0.26300, build 26300. The installed computer-use helper is under the swift/x64 runtime directory.
Sandbox configuration: sandbox_mode = "workspace-write", [windows] sandbox = "elevated".
What issue are you seeing?
Ordinary sandbox shell execution and browser/computer-use initialization fail before the requested operation starts. Failures recur after the user restarts the app and opens a fresh chat.
Shell error:
Failed to create unified exec process:
helper_unknown_error: setup refresh had errors
Browser tool error:
trusted Node process exited unexpectedly; kernel reset, rerun your request
The sandbox log identifies a Windows sharing violation during runtime read/execute validation, rather than a workspace ownership error. Sanitized excerpts retain UTC timestamps; only the private user path is replaced:
2026-10-08T07:47:06.553350400+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-08T07:52:18.018997400+00:00
runtime read/execute validation failed:
validate runtime read/execute access on
<LOCALAPPDATA>\OpenAI\Codex\runtimes\cua_node\3dd31cfff853001c\bin\node_modules\@oai\sky\bin\windows\swift\x64\VCRUNTIME140_1.dll:
open ACL target for root-only update:
另一个程序正在使用此文件,进程无法访问。 (os error 32)
2026-10-08T08:06:48.351216900+00:00
runtime read/execute validation failed: ...\bin\node_repl.exe:
open ACL target for root-only update: ... (os error 32)
2026-10-08T08:06:48.365691500+00:00
setup refresh: processed 0 write roots (read roots delegated); errors=[runtime validation failure above]
2026-10-08T08:06:48.365809+00:00
setup error: setup refresh had errors
The localized OS message means the file is being used by another process.
What steps can reproduce the bug?
Observed on this affected installation; not a clean-room reproduction:
- Start Codex Desktop and open a local workspace on the D: drive.
- Ask for an ordinary sandbox command such as
Get-Contenton a known local text file, orWrite-Output 'sandbox-startup-ok'. - Observe setup failure before PowerShell starts.
- Call
cua.getState()or connect an existing browser tab withcua.getBrowser(...). - Observe the trusted Node process error.
- Restart the desktop app and create a fresh chat; both failures recur.
No website-specific URL, session transcript, account credentials, or private workspace path is included. The browser inventory call alone fails, so reproducing does not require access to the original website.
What is the expected behavior?
Sandbox runtime validation should succeed while the desktop application's own helpers are running. Basic shell commands and browser initialization should work with the existing sandbox protections. If repair fails, the agent-facing error should expose the affected runtime path and Win32 error rather than only the generic setup-refresh failure.
Additional information
Read-only host diagnostics were performed through approved commands because normal sandbox execution was unavailable.
Observed process and reset evidence:
- Two running
node_repl.exeprocesses used the exact runtime path reported in the log. Their parent chain included the bundledcodex.exe, with one through bundlednode.exe. - A narrowly scoped diagnostic reset terminated only those two identity-checked tool processes. The next ordinary sandbox test still failed, but the reported target changed to the private
VCRUNTIME140_1.dllabove. - A running
codex-computer-use-swift.exewas found in the sameswift/x64runtime directory, parented by the desktop process. Its DLL module list was not inspected in this session, so the precise DLL lock holder is an inference. - Terminating that exact helper did not restore execution: a replacement appeared under the same desktop parent, and the next test again failed on the DLL. An immediate stop-and-retry sequence also failed.
- Terminating the tool processes closed their MCP transport; this was a troubleshooting side effect, not the original failure. Later diagnostics after restart again found running helpers and the same error 32.
- No ACLs, ownership, sandbox settings, internal databases, or runtime binaries were manually changed.
Related reports: #51601, #51925, and #51932 appear to cover this same sharing-violation category. This is an additional installation report with the Windows build, bundled CLI version, browser symptoms, and scoped-reset observations; please consolidate if preferred.
PR #51822, “Avoid sharing violations when repairing Windows runtime ACLs,” was merged at 2026-10-07T20:47:11Z. Its description explains that MAXIMUM_ALLOWED opens on active EXE/DLL files can cause sharing violations. This matches the observed error category, but I have not verified that this installed desktop runner contains the fix, so this report does not establish a regression after that fix.
Please identify the first supported Windows desktop release containing #51822 and whether this installation needs an update or another supported recovery step.
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
jacksama97 commentedon Oct 8, 2026
Additional affected installation: Dot local execution is blocked, and the documented unelevated fallback does not support the policy sent by the Dot executor.
Environment
10.0.26200/ build26200.OpenAI.Codex_26.1002.7124.0_x64__2p2nqsd0c76g0, observed from running executable paths.codex-cli 0.162.0-alpha.2.up_to_dateon 2026-10-08. Its separate version fields wereinstalledVersion: 26.1002.52244,installedBuildVersion: 13536, channelprod; the About dialog was not inspected.elevated.Minimal affected workflow
On the connected Windows computer, ask Dot to run PowerShell
Get-Date -Format oexactly once, without opening a browser or editing files. The computer shows connected, but the command fails before process creation and produces no date.With
elevated, Dot reports:The local sandbox log independently records this failure on 2026-10-08 at 08:03:22 UTC:
Earlier local log entries also name
node.exeandnode_repl.exe. A process/module inspection confirmed that the bundledcodex-computer-use-swift.exehad this exact private DLL loaded at the time of inspection. That establishes module loading, not the identity of every blocking handle.Unelevated fallback: CLI succeeds, Dot still fails
A fresh local CLI test using the saved
unelevatedconfiguration succeeded:This only validates that simple CLI read-only profile. The subsequent Dot attempt returned the following user-provided original error, which we have not independently recovered from a local log:
We therefore rolled back only
windows.sandboxtoelevated, preserving other settings. A fresh app-serverwindowsSandbox/readinessquery returned{"status":"ready"}; this is not evidence that runtime refresh or Dot execution works.Requested follow-up
Please confirm the first supported Windows desktop release containing #51822, and whether that fix covers this Dot local-executor path. The PR description matches the observed active EXE/DLL ACL-repair sharing violation, but we have not verified whether this installed binary contains the fix, and are not claiming a regression after it.
The fallback's policy refusal appears intentional; the request is for a supported way to restore Dot local execution while preserving its permission boundaries.
This is a sanitized report from an affected installation, not a clean-machine reproduction. No account identifiers, private username/workspace paths, credentials, full configuration, or session transcripts are included.
abedammon-lgtm commentedon Oct 8, 2026
Also affected on Windows 10
Environment
Error
Even Get-Location fails before PowerShell starts:
helper_unknown_error: setup refresh had errors
Diagnostic evidence
Already tried
The failure persists.
Question for maintainers
PR #51822 appears relevant. Could you confirm:
I would prefer to retain the sandbox protections. Thank you.
jacksama97 commentedon Oct 12, 2026
Follow-up to my affected-installation report, observed on 2026-10-12: after updating, Dot now reports a task-submission failure with a different error signature. This does not establish that the original ACL issue or #51822 is regressing; please route this separately if appropriate.
Current versions
26.1007.21434.26.1007.2314.0.codex-cli 0.162.0-alpha.17.2.Failed submission, as returned by Dot
The intended diagnostic was one read-only PowerShell
Get-Datecommand in an existing task.mcp__codex_apps__cloud_threads_send_messageerror_code = "UNKNOWN"andisError = true.First raw error:
Second raw error:
These tool-return details were supplied by the user from Dot's report; they were not independently recovered as full backend errors from desktop logs. No new execution result was found in the target's recent readable history, and
Get-Dateexecution through Dot remains unconfirmed. Retries were stopped.Independently checked evidence
thread/readfor the same affected target failing with-32003,"thread access denied".read_threadtool withhostId=durablecan nevertheless read that target's historical turns. Different access paths therefore give different results.durableconnection closed with WebSocket code1006, and athread/listrequest returned-32000: Codex app-server is not available. The connection automatically recovered around 00:57:34 UTC. This is a nearby observation, not a proven cause of either failed send.outcome=success; that confirms a messaging response, not successful task submission or command execution.Get-Datecheck succeeded. The inspected sandbox setup-error log still ends on October 8; no new setup-refresh failure was found there.Please identify a private support channel through which the user can provide the two Request IDs and target thread ID for correlation. Please investigate whether either send created a turn and whether authorization/routing differences explain these access-path results. Please also expose an actionable underlying error instead of
UNKNOWN, and identify a supported recovery step.No task was resubmitted during this verification and no files, configuration, permissions, or runtime binaries were changed. Private filesystem paths, project contents, account identifiers, internal thread/request identifiers, and credentials are omitted.