Repository navigation
Description
Summary
On Windows 11 x64, delegated Work execution fails during the Windows sandbox setup refresh, before the requested process is created.
Manual Codex execution initiated directly from ChatGPT Desktop works. The failure is specific to the delegated Work execution path and is reproduced by both the official elevated sandbox setup and a process-scoped unelevated test.
The setup refresh attempts to validate a stale CUA Node runtime even though the current runtime is different.
Feedback/session ID: 01a1167e-c2d7-7cd1-aacf-04b153adf14f
Environment
- OS: Windows 11 x64 — build 10.0.26200
- ChatGPT Desktop:
26.1002.52244 - Codex CLI:
0.162.0-alpha.2 - Current CUA runtime:
2c9e75c4e9c71beb - Stale CUA runtime referenced during setup refresh:
71e3f41277f96d73
Observed behavior
Working path
Manual Codex execution initiated directly from ChatGPT Desktop works.
Failing path
Delegated Work execution fails before process creation.
The exact reported error is:
helper_unknown_error: setup refresh had errors
The sandbox setup log shows:
runtime read/execute validation failed
for the stale runtime path:
...\runtimes\cua_node\71e3f41277f96d73\bin\node_repl.exe
The underlying Windows error is:
Access denied (os error 5)
The current runtime is 2c9e75c4e9c71beb, but the setup-refresh path still attempts to validate 71e3f41277f96d73.
Reproduction results
Official elevated setup
Running the officially supported elevated setup through:
windowsSandbox/setupStart(mode="elevated")
reproduces the failure.
The setup refresh validates the stale runtime path and terminates with:
helper_unknown_error: setup refresh had errors
Process-scoped unelevated test
A single process-scoped test using:
-c windows.sandbox="unelevated"
reproduces the same shared setup/preflight failure.
The test was limited to starting PowerShell under a read-only permission profile. PowerShell was never created because the preflight again attempted to validate:
...\runtimes\cua_node\71e3f41277f96d73\bin\node_repl.exe
and failed with:
Access denied (os error 5)
The persistent sandbox configuration was not changed.
Expected behavior
Sandbox setup refresh should use the currently selected runtime, 2c9e75c4e9c71beb, and should not include or validate an obsolete runtime that is no longer active.
Delegated Work execution should proceed to process creation when the current runtime and sandbox infrastructure are available.
Diagnostics already completed
The following were verified:
- The normal Windows user has expected read/write access to the Codex home directory.
- Creating and deleting a disposable file in the Codex temporary directory succeeds.
- The Codex sandbox users and local sandbox group exist, including
CodexSandboxUsers. - Sandbox user/group membership was verified.
- The elevated sandbox service exists and its service identity was verified.
- Relevant sandbox firewall configuration exists.
- Manual Desktop Codex execution works.
- The current runtime is accessible and selected as
2c9e75c4e9c71beb. - The failure occurs before the delegated target process is created.
- The official elevated setup reproduces the failure.
- The process-scoped unelevated mode reproduces the same shared preflight failure.
- A ChatGPT Desktop update did not resolve the issue.
- A previous application reinstall did not resolve the issue.
- No manual ACL or Windows permission modifications were performed.
- No Codex databases or runtime files were manually deleted or altered.
Observed facts versus hypotheses
Observed facts
- The current runtime is
2c9e75c4e9c71beb. - The current Codex CLI setup-refresh flow supplies runtime 71e3f41277f96d73 to the sandbox setup helper, which then attempts to validate it.
- Validation fails on that runtime's
node_repl.exewithAccess denied (os error 5). - Both elevated and unelevated setup paths fail during the shared setup refresh.
- Delegated Work execution fails before process creation.
- Manual Desktop Codex execution works.
- Updating Desktop and previously reinstalling the application did not remove the stale reference.
Hypotheses — not established
- The current
codex.exesetup-refresh payload may be obtaining the stale CUA runtime reference from a persisted runtime registry, manifest, cached activity state, or another internal source not exposed by the available diagnostics. - Because elevated and unelevated modes fail on the same runtime validation, the defect may be in shared payload construction or preflight handling rather than in the mode-specific sandbox execution layer.
Access deniedon the stale executable may be a consequence of the obsolete reference rather than the primary provisioning defect.
The exact source of the stale runtime reference has not been established.
Request
Please investigate why the current codex.exe includes or otherwise supplies stale CUA runtime 71e3f41277f96d73 to the Windows sandbox setup-refresh payload while the selected runtime is 2c9e75c4e9c71beb.
Please also provide a supported method to rebuild or clear that stale runtime reference without:
- manually changing ACLs or Windows permissions;
- manually deleting Codex databases, conversations, or runtime state;
- reinstalling the entire application again.
A sanitized diagnostic PDF containing only the relevant sandbox failure-window log, setup_error.json, and setup_marker.json is available. It excludes usernames, authentication data, tokens, conversations, project paths/content, databases, rollouts, and .sandbox-secrets.
Activity
mptoni88-hash commentedon Oct 7, 2026
At OpenAI Support's request, the relevant sanitized
CODEX_HOME/.sandbox/sandbox.logfailure-window evidence is included inline below. The connected GitHub integration does not support attachment uploads, so this compact excerpt preserves the initial failure and the later elevated/current-build and process-scoped unelevated setup attempts. It contains no.sandbox-secrets, authentication data, tokens, conversations, databases, rollouts, or project content.OliviaDevil commentedon Oct 8, 2026
I’m seeing the same delegated-execution symptom on Windows with ChatGPT desktop 26.1002.52244 (About release date: 2026-10-07).
An ordinary Codex task I created in the desktop app successfully ran pwd. Delegated local execution fails before process creation with exec-server -32603: helper_unknown_error: setup refresh had errors. Both existing and new delegated tasks fail, including a test with an explicitly specified known-working directory. The computer is reported as connected and authorized.
Restarting the app and fully rebooting the computer did not resolve this as of October 8, 2026 (UTC). My sandbox logs have not been inspected, so I cannot confirm the stale-runtime finding or a shared root cause.
Could maintainers investigate and provide a supported recovery path that preserves local data and security settings?
spirillen2001 commentedon Oct 8, 2026
I am seeing what appears to be the same blocking Windows runtime/setup-refresh failure, but I want to clarify the business impact:
This affects all of my local Codex Work chats, not just one chat or one tool. Whenever a task requires actual local work, browser control, computer-use, cua_repl, node_repl, or command execution, Codex cannot perform the work and instead falls back to only giving me written instructions.
That means my paid business/work profile is currently reduced to a normal chat assistant. I cannot use Codex for the core reason I pay for it: having it actually operate in my local work environment.
In-app feedback ID:
01a0cca8-0218-73b0-8e5b-66d622a8687a
Environment:
Impact:
Exact errors:
Additional local Codex log errors:
Troubleshooting already completed:
The error remains unchanged. Please treat this as a blocking business-impact issue. I can provide the complete local log if useful.