Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.1002.52244
What subscription do you have?
What platform is your computer?
Windows
What issue are you seeing?
Diagnostico de inicializacao do Codex no Windows - 08/10/2026
Horario confirmado: 13:47:50 America/Sao_Paulo
Ferramentas afetadas: terminal restrito e node_repl/controle do Windows.
Erro: helper_unknown_error: setup refresh had errors.
Causa registrada: runtime read/execute validation failed ao configurar acesso a node_repl.exe; open ACL target for root-only update; arquivo usado por outro processo (os error 32).
Runtime afetado: cua_node/3dd31cfff853001c/bin/node_repl.exe.
Tentativas sem sucesso:
- reiniciar a sessao node_repl;
- fechar e reabrir o aplicativo;
- reiniciar o Windows;
- fechar o Codex e encerrar seus processos node_repl.exe pelo operador.
Apos a ultima limpeza, foram observados novos processos node_repl.exe criados as 13:46:37 e o erro reapareceu as 13:47:50.
Comandos aprovados fora do sandbox continuam funcionando; ferramentas restritas nao inicializam.
Nao foram alteradas permissoes, configuracoes de seguranca, fluxos do PAD ou projetos durante o diagnostico.
Solicitacao ao suporte: orientar recuperacao do runtime/setup do sandbox, preservando as restricoes de seguranca e o historico do projeto.
What steps can reproduce the bug?
Diagnostico de inicializacao do Codex no Windows - 08/10/2026
Horario confirmado: 13:47:50 America/Sao_Paulo
Ferramentas afetadas: terminal restrito e node_repl/controle do Windows.
Erro: helper_unknown_error: setup refresh had errors.
Causa registrada: runtime read/execute validation failed ao configurar acesso a node_repl.exe; open ACL target for root-only update; arquivo usado por outro processo (os error 32).
Runtime afetado: cua_node/3dd31cfff853001c/bin/node_repl.exe.
Tentativas sem sucesso:
- reiniciar a sessao node_repl;
- fechar e reabrir o aplicativo;
- reiniciar o Windows;
- fechar o Codex e encerrar seus processos node_repl.exe pelo operador.
Apos a ultima limpeza, foram observados novos processos node_repl.exe criados as 13:46:37 e o erro reapareceu as 13:47:50.
Comandos aprovados fora do sandbox continuam funcionando; ferramentas restritas nao inicializam.
Nao foram alteradas permissoes, configuracoes de seguranca, fluxos do PAD ou projetos durante o diagnostico.
Solicitacao ao suporte: orientar recuperacao do runtime/setup do sandbox, preservando as restricoes de seguranca e o historico do projeto.
What is the expected behavior?
No response
Additional information
No response
Activity
github-actions commentedon Oct 8, 2026
English translation:
What version of the Codex App are you using (From “About Codex” dialog)?
26.1002.52244
What subscription do you have?
[email protected]
What platform is your computer?
Windows
What issue are you seeing?
Codex startup diagnostics on Windows - 08/10/2026
Confirmed time: 13:47:50 America/Sao_Paulo
Affected tools: restricted terminal and node_repl/Windows control.
Error: helper_unknown_error: setup refresh had errors.
Recorded cause: runtime read/execute validation failed while configuring access to node_repl.exe; open ACL target for root-only update; file in use by another process (os error 32).
Affected runtime: cua_node/3dd31cfff853001c/bin/node_repl.exe.
Unsuccessful attempts:
After the last cleanup, new node_repl.exe processes were observed to have been created at 13:46:37, and the error reappeared at 13:47:50.
Approved commands outside the sandbox continue to work; restricted tools do not initialize.
No permissions, security settings, PAD flows, or projects were changed during the diagnostics.
Request to support: provide guidance on recovering the sandbox runtime/setup while preserving security restrictions and project history.
What steps can reproduce the bug?
Codex startup diagnostics on Windows - 08/10/2026
Confirmed time: 13:47:50 America/Sao_Paulo
Affected tools: restricted terminal and node_repl/Windows control.
Error: helper_unknown_error: setup refresh had errors.
Recorded cause: runtime read/execute validation failed while configuring access to node_repl.exe; open ACL target for root-only update; file in use by another process (os error 32).
Affected runtime: cua_node/3dd31cfff853001c/bin/node_repl.exe.
Unsuccessful attempts:
After the last cleanup, new node_repl.exe processes were observed to have been created at 13:46:37, and the error reappeared at 13:47:50.
Approved commands outside the sandbox continue to work; restricted tools do not initialize.
No permissions, security settings, PAD flows, or projects were changed during the diagnostics.
Request to support: provide guidance on recovering the sandbox runtime/setup while preserving security restrictions and project history.
What is the expected behavior?
No response
Additional information
No response
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
hliu0712 commentedon Oct 9, 2026
Additional affected-user report with matching app version and runtime hash. The observations below were collected by the reporter; raw logs are not attached to this comment.
Environment
[windows] sandbox = "elevated"Symptoms and log excerpt
Computer use /
cua.getState()fails withhelper_unknown_error. The sandbox provisioning failure appears to affect the Windows restricted-token sandbox more broadly.English translation of the OS message: “Another program is using this file.”
~/.codex/.sandbox/setup_error.json:{"code":"helper_unknown_error","message":"setup refresh had errors"}Reported observations
Set-Aclon the samenode_repl.exesucceeded while Huorong antivirus remained running. This supports a process-lifetime/file-sharing conflict and weakens an antivirus-only explanation; it does not independently identify the conflicting handle.CodexSandboxUsers: ReadAndExecuteACE.Working mitigation in this environment
The reporter changed
~/.codex/config.tomlto:and removed the residual
~/.codex/.sandbox/setup_error.json.After those changes:
New logs contained zero runtime validation failures. Both changes were reported as necessary in this environment because the residual error state continued to surface otherwise. This is a local workaround observation, not a general guarantee about the unelevated path or confirmation that computer use was separately retested.
Suspected cause and potential fixes
The observed failure is consistent with sandbox refresh attempting an ACL operation on a runtime executable already in use by Codex. The exact file-opening access/share flags and startup ordering need upstream verification; this report does not claim that Windows universally forbids ACL changes on running executables.
Potential fixes to investigate:
Please triage this as a Windows sandbox provisioning/runtime interaction rather than only a computer-use helper startup failure.
damian5505 commentedon Oct 9, 2026
Additional evidence for the same Windows sandbox/runtime image sharing violation.
Environment
Existing observations
helper_unknown_error: setup refresh had errors.open ACL target for root-only updateon%LOCALAPPDATA%/OpenAI/Codex/runtimes/cua_node/<runtime>/bin/node_repl.exewith(os error 32). The failure was observed on both an older and a current runtime image.Harmless reproduction command to try in the affected session:
cmd.exe /d /c echo RUNTIME_REPRO. This is a documented example, not a new test performed for this comment. Expected: the command launches within the configured sandbox boundaries and prints the marker.Limited comparison
A one-shot MXC filesystem probe with managed configuration included passed: writes within the workspace were allowed, writes outside it were denied, and the temporary canaries were removed. Network equivalence remains unknown. No persistent MXC preference was set; security configuration was unchanged.
Please provide a supported recovery for the runtime image/ACL validation failure that preserves existing sandbox restrictions and active sessions. No raw logs, session transcripts, or full configuration are attached.
onederic commentedon Oct 10, 2026
I can reproduce this issue on Windows 10 Pro with Codex CLI 0.162.0 and the managed app-server daemon 0.162.1.
Sandbox error
Sandbox log (personal paths redacted)
Reproduction / observations
Get-Locationcan succeed.git status --short(or some other commands not already approved). Process creation fails withsetup refresh had errors. No Git execution result is returned.node_repl.exesharing violation above at the time of failure.node_repl.exeprocesses are present under the managed Codex app-server process tree, using the affected runtime binary.codex --disable daemon_auto_startdid not prevent the failure.Expected: permitted read-only commands should start reliably inside the sandbox, including while Codex's Node REPL runtime exists.
Actual: sandbox setup fails before process creation during runtime read/execute ACL validation.
Please investigate possible runtime executable sharing/locking vs. sandbox ACL validation. It would be valuable to restore reliability without requiring elevation, ACL changes, or sandbox bypass.
(Worktree names, absolute account paths, process identifiers, and project details deliberately omitted.)
nofalus-digital commentedon Nov 9, 2026
Additional Windows recovery observation — locked
cua_noderuntimeI encountered a related Codex Windows sandbox failure where even a read-only PowerShell command (
Get-Location) could not start:Environment and diagnostics
elevated.runtime read/execute validation failedfor an oldercua_node/<runtime-id>/bin/node_repl.exe.Access is denied (os error 5).os error 32during user-profile ACL setup, but those entries said setup was continuing.What we observed
cua_noderuntime directories were present, including an older runtime that could not initially be removed.resmon), under CPU → Associated Handles, searching fornode_repl.exerevealed an open handle associated withsvchost.exe (InvSvcGroup -p).Get-Locationcommand completed successfully with exit code0.Important limitations
This is an observed recovery sequence, not a confirmed root cause or a validated general fix. The relationship between the access-denied error, the sharing violation and the service-host handle has not been established.
Terminating
svchost.exeor Windows services can be disruptive and unsafe. I am not recommending that other users terminate system processes, delete runtime directories, modify ACLs, or weaken sandbox isolation.It would be helpful to have an official diagnostic and recovery procedure for stale or locked
cua_noderuntimes that preserves Windows service stability and the sandbox's security boundaries.I hope this additional observation helps narrow down the investigation.