Repository navigation
Description
Summary
Codex Desktop on Windows cannot execute local commands or initialize its JavaScript/browser tools. This started after updating the desktop application. The failure is reproducible with a minimal read-only command, before PowerShell starts.
Related reports: #51778 and #51590. This is an additional affected installation.
Verified application information
- Installed version: 26.1002.52244
- Installed build: 13536
- Release channel: prod
- Windows (exact OS build not collected)
- The application's update checker reported
up_to_dateon October 8, 2026.
Reproduction
- Open an existing local workspace that previously worked.
- Request
Write-Output 'CODEX_ENVIRONMENT_OK'or a read of a project file. - Execution fails before the command starts:
Failed to create unified exec process: helper_unknown_error: setup refresh had errors
- JavaScript/browser initialization also fails:
node_repl kernel exited unexpectedly
windows sandbox failed: helper_unknown_error: setup refresh had errors
Relevant sandbox log, personal paths anonymized
The October 7 sandbox log repeatedly contains:
runtime read/execute validation failed: validate runtime read/execute access on
%LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\<runtime-id>\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
There is also a non-fatal warning while granting a non-inheriting read-attributes ACE on the user-profile directory, with the same error 32 and continuing setup.
Diagnostics already performed
- Retested using both bundled/default execution and the standard Windows PowerShell executable.
- Retested from different known existing working directories.
- Reset both JavaScript/browser kernels; execution still failed.
- Restart was suggested and the user returned for a fresh retest; the same failure remained. Windows boot time was not collected.
- On October 8, the minimal local command still fails with the same top-level error.
- Network-based connector calls and the application update check remain functional.
- No sandbox weakening, ACL reset, runtime-cache deletion, or project-file changes were applied.
Expected behavior
The sandbox should initialize and allow ordinary execution and project-file reads. Its runtime validation should not prevent all local work when opening an active runtime executable for ACL preparation.
Please investigate this apparent post-update regression and provide a supported fix or recovery procedure that preserves the current security settings and project data.
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
gRanid commentedon Oct 9, 2026
A partial solution to the problem is here #51862 (comment)