You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows sandbox consistently fails with setup refresh had errors #52046
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems
What version of the Codex App are you using (From “About Codex” dialog)?
Version 26.1002.52244
What subscription do you have?
Plus
What platform is your computer?
Windows 10 Pro
What issue are you seeing?
Windows-Sandbox scheitert dauerhaft mit setup refresh had errors. Die Runtime-Prüfung für cua_node\3dd31cfff853001c\bin\node_repl.exe schlägt mit os error 32 fehl. Beenden der Codex-Prozesse und ein vollständiger Windows-Neustart haben nicht geholfen.
changed the title [-]Windows-Sandbox scheitert dauerhaft mit setup refresh had errors[/-][+]Windows sandbox consistently fails with setup refresh had errors[/+]on Oct 8, 2026
What version of the Codex App are you using (From “About Codex” dialog)?
Version 26.1002.52244
What subscription do you have?
Plus
What platform is your computer?
Windows 10 Pro
What issue are you seeing?
Windows sandbox consistently fails with setup refresh had errors. The runtime check for cua_node\3dd31cfff853001c\bin\node_repl.exe fails with os error 32. Terminating the Codex processes and fully restarting Windows did not help.
Independent reproduction on Windows 11 Pro x64, build 26200, on 2026-10-08. The same error blocked an overnight local asset-production task, including shell-based read-only code review.
Environment
Local launcher targets %USERPROFILE%\.codex\plugins\.plugin-appserver\codex.exe, reporting codex-cli 0.162.0-alpha.2.
Overnight logs also reference the desktop helper under %LOCALAPPDATA%\OpenAI\Codex\bin\9691020b546a15b2.
Exit code 0; marker appears. This build exposes a flat codex sandbox [COMMAND]... interface, verified using codex sandbox --help.
Sanitized native log
At 2026-10-08 10:34:34 UTC, the sandbox log records:
START: C:/Windows/System32/cmd.exe /d /c echo SANDBOX_PROBE_OK
runtime read/execute validation failed:
validate runtime read/execute access on <runtime>/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: processed 0 write roots (read roots delegated)
setup error: setup refresh had errors
setup refresh: exited with status ExitStatus(ExitStatus(1))
The native message was Russian; the English translation above preserves its meaning. Earlier overnight entries show the same fatal runtime validation failure across workspace-write and read-only attempts. A separate profile-directory read-attributes failure explicitly continues setup; the fatal errors list identifies node_repl.exe.
Additional read-only experiment
CreateFileW calls against that executable, with sharing FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, OPEN_EXISTING, and FILE_FLAG_BACKUP_SEMANTICS, yielded:
Requested access
Result
READ_CONTROL
Opens successfully
`READ_CONTROL
WRITE_DAC`
MAXIMUM_ALLOWED
Fails with Windows error 32
Handles were immediately closed. No file contents or security descriptors were changed by this experiment. The existing ACL includes inherited CodexSandboxUsers: Allow ReadAndExecute, Synchronize. Twelve processes using the runtime executable were observed; this does not identify the exact lock holder.
Relationship to the upstream fix
These observations match the mechanism addressed by merged PR #51822, commit dd12f892f1b857e5161abd33a2967125b265d550. The installed helper's inclusion of that fix has not been established. This is evidence that the currently installed runtime still fails, not a claim that the fixed code regressed.
Please confirm which supported desktop/helper release delivers the fix and how to recover protected execution while preserving existing chats and projects. No processes were killed, no manual ACL/security configuration changes were made, and no runtime was deleted. The normal sandbox command did perform its automatic setup refresh.
Expected: the sandbox initializes and the harmless marker command runs. Actual: setup fails before the requested child command executes. Raw transcripts, credentials, and .sandbox-secrets are not attached.
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems
Activity
[-]Windows-Sandbox scheitert dauerhaft mit setup refresh had errors[/-][+]Windows sandbox consistently fails with setup refresh had errors[/+]github-actions commentedon Oct 8, 2026
English translation:
What version of the Codex App are you using (From “About Codex” dialog)?
Version 26.1002.52244
What subscription do you have?
Plus
What platform is your computer?
Windows 10 Pro
What issue are you seeing?
Windows sandbox consistently fails with setup refresh had errors. The runtime check for cua_node\3dd31cfff853001c\bin\node_repl.exe fails with os error 32. Terminating the Codex processes and fully restarting Windows did not help.
What steps can reproduce the bug?
Feedback ID: 01a11acc-d796-7970-a777-cebe0aa24a26
What is the expected behavior?
Codex can read local PDF documents
Additional information
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
SDV-G-Deploy commentedon Oct 8, 2026
Independent reproduction on Windows 11 Pro x64, build 26200, on 2026-10-08. The same error blocked an overnight local asset-production task, including shell-based read-only code review.
Environment
%USERPROFILE%\.codex\plugins\.plugin-appserver\codex.exe, reportingcodex-cli 0.162.0-alpha.2.%LOCALAPPDATA%\OpenAI\Codex\bin\9691020b546a15b2.windows.sandbox = "elevated". Existing setup marker version: 5.%LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\3dd31cfff853001c\bin\node_repl.exe.Minimal reproduction on the affected installation
With Codex Desktop running, from ordinary PowerShell in an existing workspace:
Exit code 1; marker never appears:
Control outside the sandbox:
Exit code 0; marker appears. This build exposes a flat
codex sandbox [COMMAND]...interface, verified usingcodex sandbox --help.Sanitized native log
At 2026-10-08 10:34:34 UTC, the sandbox log records:
The native message was Russian; the English translation above preserves its meaning. Earlier overnight entries show the same fatal runtime validation failure across workspace-write and read-only attempts. A separate profile-directory read-attributes failure explicitly continues setup; the fatal errors list identifies
node_repl.exe.Additional read-only experiment
CreateFileWcalls against that executable, with sharingFILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,OPEN_EXISTING, andFILE_FLAG_BACKUP_SEMANTICS, yielded:READ_CONTROLMAXIMUM_ALLOWEDHandles were immediately closed. No file contents or security descriptors were changed by this experiment. The existing ACL includes inherited
CodexSandboxUsers: Allow ReadAndExecute, Synchronize. Twelve processes using the runtime executable were observed; this does not identify the exact lock holder.Relationship to the upstream fix
These observations match the mechanism addressed by merged PR #51822, commit
dd12f892f1b857e5161abd33a2967125b265d550. The installed helper's inclusion of that fix has not been established. This is evidence that the currently installed runtime still fails, not a claim that the fixed code regressed.Please confirm which supported desktop/helper release delivers the fix and how to recover protected execution while preserving existing chats and projects. No processes were killed, no manual ACL/security configuration changes were made, and no runtime was deleted. The normal sandbox command did perform its automatic setup refresh.
Expected: the sandbox initializes and the harmless marker command runs. Actual: setup fails before the requested child command executes. Raw transcripts, credentials, and
.sandbox-secretsare not attached.