Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.1002.52244 (build 13536)
What subscription do you have?
plu
What platform is your computer?
Windows 11 Pro 25H2, build 26200.8873, x64
What issue are you seeing?
Summary
On Windows, Codex cannot initialize Chrome/browser control or execute ordinary sandboxed PowerShell commands.
The generic error is helper_unknown_error: setup refresh had errors. Local sandbox logs identify the specific fatal failure: runtime read/execute validation attempts to open Codex's bundled node_repl.exe for an ACL update and fails with Windows os error 32 (“another process is using this file”).
Environment
- Codex App: 26.1002.52244, build 13536
- Windows package: OpenAI.Codex 26.1002.7124.0
- OS: Windows 11 Pro 25H2, build 26200.8873, x64
- Configured Windows sandbox: elevated
- Task sandbox mode: workspace-write
- Runtime: cua_node\3dd31cfff853001c
- Workspace: C:\Users<USER>\Documents\Codex\2026-10-08\chrome
- The app update checker returned
up_to_dateduring diagnosis.
Steps to reproduce on this installation
- Open a local Codex chat on Windows.
- Ask Codex to connect to Chrome.
- Browser control initialization via
cua.getState()fails before any browser or tab information is returned. - Retry the connection; the failure persists.
- Ask Codex to execute the minimal read-only PowerShell command
Get-Location. - Ordinary sandboxed execution fails before the command produces output.
Actual behavior
Browser/Node initialization reports:
node_repl kernel exited unexpectedly
kernel_status: exited(code=1)
kernel_stderr_tail:
windows sandbox failed: helper_unknown_error: setup refresh had errors
Earlier attempts also reported:
trusted Node process exited unexpectedly; kernel reset, rerun your request
Ordinary shell execution reports:
exec_command failed: CreateProcess {
message: "Rejected(\"Failed to create unified exec process:
helper_unknown_error: setup refresh had errors\")"
}
Confirmed sandbox log evidence
The latest minimal Get-Location reproduction occurred on 2026-10-08 at approximately 14:45:15 Asia/Shanghai (06:45:15 UTC).
Anonymized excerpt:
runtime read/execute validation failed:
validate runtime read/execute access on
C:\Users\<USER>\AppData\Local\OpenAI\Codex\runtimes\cua_node\3dd31cfff853001c\bin\node_repl.exe:
open ACL target for root-only update:
另一个程序正在使用此文件,进程无法访问。 (os error 32)
setup refresh completed with errors
setup error: setup refresh had errors
setup refresh: exited with status ExitStatus(ExitStatus(1))
The Chinese Windows error means:
“The process cannot access the file because it is being used by another process.”
The log also contains a user-profile read-attributes ACE warning with error 32, but that warning says continuing setup. The fatal errors list specifically identifies runtime validation of node_repl.exe.
Diagnostic findings
- The same runtime-validation failure appears repeatedly in the local sandbox log.
- Four running
node_repl.exeprocesses were observed from the same runtime directory. - This process inventory does not establish which process or handle causes the sharing conflict.
- A read-only diagnostic executed outside the ordinary sandbox succeeded, including
Get-Locationand reading sandbox logs. - Ordinary sandboxed
Get-Locationstill failed. - No ACLs, ownership, sandbox settings, runtime files, or processes were changed during this diagnosis.
- An app/Windows restart was not independently verified during this diagnosis.
Expected behavior
Codex should initialize its Windows sandbox and execute authorized browser actions and local commands while its runtime helpers are running.
If initialization fails, the tool-facing error should include the failing path and Windows error code instead of only helper_unknown_error.
Impact and related report
This blocks my Chrome automation and ordinary local file/command workflows.
The symptoms closely match [#51719](#51719), including the Windows package version and runtime directory. A shared underlying cause has not been independently established.
Please confirm whether this is the same tracked issue and provide a supported fix or workaround that preserves existing chats and files.
What steps can reproduce the bug?
Feedback ID: 01a11a34-b2d6-77e2-a00d-45e2e29c7718
What is the expected behavior?
Codex should successfully initialize its Windows sandbox and run authorized local tools.
Specifically:
- Browser control should initialize and return Chrome connection/tab information, or report a browser-specific connection problem.
- A basic read-only command such as
Get-Locationshould execute and return the workspace path. - Running Codex runtime helpers should not prevent sandbox initialization.
If sandbox setup fails, the visible error should identify the failing runtime file and underlying Windows error code, rather than only reporting helper_unknown_error or an unexpected Node kernel exit.
Additional information
Verified environment:
- Codex App: 26.1002.52244, build 13536
- Windows package: OpenAI.Codex 26.1002.7124.0
- Windows 11 Pro 25H2, build 26200.8873, x64
- Configured Windows sandbox: elevated
- Task sandbox mode: workspace-write
- Runtime: cua_node\3dd31cfff853001c
- The app update checker returned
up_to_dateduring diagnosis.
Four running node_repl.exe processes were observed from the same runtime directory. The process or file handle responsible for the sharing conflict has not been identified.
The user-profile ACE warning also reports error 32, but explicitly says continuing setup. The fatal errors list instead identifies runtime validation of node_repl.exe.
No permissions, ownership, sandbox settings, runtime files, or processes were changed during this diagnosis. An app/Windows restart was not independently verified.
Related report: [#51719](#51719). The package version, runtime directory, and error closely match that report; a shared underlying cause has not been independently established.
This blocks both Chrome automation and ordinary local command/file workflows. Please provide a supported fix or workaround that preserves existing chats and files.
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
DLAte-1201 commentedon Oct 8, 2026
Additional reproduction on Windows 11 Home with the same app and runtime versions: a verified complete app restart did not restore sandboxed command execution.
Environment observed on 2026-10-09
up_to_dateduring the investigation.workspace-write.Verified restart and reproduction
All times below are 2026-10-09 KST (UTC+09:00):
node_repl.exeprocesses for the same runtime file had creation timestamps around 06:46:12.Get-Locationfailed before PowerShell started, withhelper_unknown_error: setup refresh had errors.Abridged log excerpt (username redacted; the Windows error sentence is translated from Korean):
Additional non-mutating comparison before the restart
An open/close-only
CreateFileWprobe on that exact runtime file produced:MAXIMUM_ALLOWED: Windows error 32.READ_CONTROL: success.READ_CONTROL | WRITE_DAC: success.All probes used
FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,OPEN_EXISTING, andFILE_FLAG_BACKUP_SEMANTICS. Handles were disposed immediately; no ACL update or file write was performed. This is consistent with the mechanism described in #51822, but does not identify the incompatible holder or establish the exact installed binary's source revision.Result: app restart verified; original sandbox recovery failed. Read-only diagnostics outside the sandbox worked, but are not counted as recovery. No manual ACL/ownership changes, runtime/data deletion, sandbox disabling, or reinstall was performed in this recovery attempt.
Could maintainers identify the first Windows desktop app build containing #51822 or an equivalent fix, and a supported recovery for this build that preserves existing data and sandbox protections?
aicreator-emprenovus commentedon Oct 9, 2026
On Windows 11, Codex Doctor reports sandbox provisioning complete, but tasks still fail with helper_unknown_error: setup refresh had errors. The log shows Windows error 32 when accessing cua_node\3dd31cfff853001c\bin\node_repl.exe. I restarted Windows, updated Codex, and ran codex sandbox setup --elevated --current-user; the error returns when Codex starts. Closing Codex and stopping the node_repl.exe processes does not resolve it.
Flysky701 commentedon Oct 9, 2026
Additional reproduction and same-machine executor comparison, tested on October 9, 2026.
Environment
Desktop failure
A minimal
Get-Locationcommand fails before process creation with:Sandbox logs identify a sharing violation while validating:
The file already grants
CodexSandboxUsersread/execute access. A controlledCreateFileWprobe on the active executable, using identical sharing flags, produced:Stopping the affected
node_repl.exeprocesses moved the failure toVCRUNTIME140_1.dll, loaded bycodex-computer-use-swift.exe. Stopping that component did not resolve the problem because the desktop app immediately restarted it.Successful comparison
On the same machine, the official CLI bundled with the installed VS Code extension—
0.162.0-alpha.17.2—successfully rancodex sandboxwith:read-onlyand--include-managed-config.Get-Locationsucceeded.whoamireturned<MACHINE>\CodexSandboxOffline.The desktop’s ordinary sandboxed execution still failed afterward. No ACLs, saved configuration, or application binaries were manually changed during these tests.
These observations are consistent with the issue addressed by #51822, although I have not confirmed which desktop release includes that fix. Could you identify the first Windows desktop version containing it and provide a supported update path?
christophf-tech commentedon Oct 9, 2026
I can reproduce the same Windows Codex sandbox failure.
Environment:
cua_node\3dd31cfff853001chelper_unknown_error: setup refresh had errorsConfirmed findings:
Get-Locationfails before PowerShell starts.node_repl.exeACL validation failing withos error 32(sharing violation).node_repl.exeprocesses loading the same runtime executable.cua_noderuntime directory and allowing it to be recreated does not resolve the issue.Get-Locationto execute successfully (exit code 0).Impact: Normal sandboxed development workflows are blocked. Full Access currently works as a temporary workaround but removes the usual sandbox restrictions.
Please investigate the runtime ACL refresh and file-sharing conflict. A fix that preserves sandbox isolation would be appreciated.
jamiefrostdesigns commentedon Oct 9, 2026
I have this exact same issue. Please help
limingming874745 commentedon Oct 9, 2026
我也是一样遇到故障,但不知道怎么解决,测试多台电脑新版的codex都有这个问题
LukeMagrath commentedon Oct 9, 2026
Computer Use and ordinary sandboxed commands still fail after ChatGPT Repair, an app restart, and a full Windows Restart:
helper_unknown_error: setup refresh had errors
My current environment is ChatGPT/Codex app 26.1002.52244 (build 13536), Windows package OpenAI.Codex 26.1002.7124.0, and Windows 11 Pro build 26200.9457. The app and package versions match this issue; the issue lists the earlier Windows build 26200.8873.
Codex Doctor reports failed elevated Windows sandbox provisioning. The fresh sandbox log says read/execute validation of node_repl.exe failed because another process was using the file (os error 32). Stopping the Codex helpers did not resolve it because the app restarted them and the lock returned.
Microsoft Store and Help → Check for Updates both say the app is current. No project files were changed.
hanamai0930 commentedon Oct 9, 2026
Additional Windows reproduction: process termination and full reboot do not resolve error 32
I am encountering the same issue in ChatGPT Work on Windows (2026-10-09).
Environment
OpenAI.Codex 26.1002.7124.0(x64)CodexSandboxService.OpenAI.Codex, stateRunning, startupAutocua_node\3dd31cfff853001c%USERPROFILE%\.codex\.sandbox\sandbox.2026-10-09.logFailure: Even
cmd /c verfails before execution:Local log (paths anonymized):
The log separately records a user-profile read-attributes ACE failure with error 32 and
continuing setup; the fatal failure is runtime access validation onnode_repl.exe.Additional controlled observations
node_repl.exeinstances started using the exact affected executable.Stop-Process(without-Force). Both exited, but new instances appeared at 15:24:41, preceding another sandbox refresh at 15:26:00 and the same error at 15:26:01.cmd /c ver.This appears consistent with an ACL-update/file-sharing or initialization-order conflict, but the precise locking process has not been established. Could the team investigate and advise on a supported fix or safe workaround? It blocks all local command execution in Work.
janetworkx commentedon Oct 9, 2026
I can reproduce this independently on Windows 11 Pro with ChatGPT Desktop 26.1002.52244 / package 26.1002.7124.0.
The sandbox log shows:
runtime read/execute validation failed on node_repl.exe
os error 32
setup refresh had errors
Existing workers may continue to work, while newly created workers fail during sandbox setup.
xzx767877191-droid commentedon Oct 12, 2026
Original reporter follow-up — partial recovery, Chrome still blocked (2026-10-12, UTC+08:00)
I tested the community fallback and desktop rollback on the machine described in this issue. Ordinary commands now work, but real external Chrome control still fails. This is not a complete recovery.
Original confirmed failure
cua_node/3dd31cfff853001c.[windows] sandbox = "elevated", ordinaryGet-Locationand browser runtime initialization failed.node_repl.exe:os error 32, followed bysetup refresh had errors.Steps tried and observed results
Fallback sandbox (October 8): backed up
config.tomland changed onlywindows.sandboxfromelevatedtounelevated. No manual ACL or ownership changes were made.Full app restart: ordinary commands in this chat subsequently succeeded with exit code 0. Browser runtime initialization also started and discovered the Chrome extension.
External Chrome remained blocked: both browser inventory and direct Chrome tab enumeration failed with:
No tab titles or page content were obtained. This resembles Chrome connection fails: Unable to load browser request-header policy #45678; a common cause with the original sandbox defect has not been established.
On Windows package 26.1007.2314.0 (October 12): ordinary commands still worked with
unelevated, but browser inventory and a direct Chrome tab-list request failed withnodeRepl.fetch request failed. This changed error text does not establish a changed root cause.Desktop rollback (October 12): followed the community reports in Windows 26.1002.52244: sandbox ACL refresh fails on running node_repl.exe (error 32), blocking browser and shell #51965. Downloaded the previous official x64 MSIX from:
https://persistent.oaistatic.com/codex-app-prod/releases/26.930.7945.0/ChatGPT-x64.msix
Verified its complete length (912043391 bytes), Authenticode status
Valid, and manifest identity/version before installation. Local state backups were made. Automated installation attempts stopped before installation because of a process-exit race and then backup readback differences; I ultimately installed the verified package manually, without uninstalling first:Post-install verification in the reopened app:
Get-AppxPackage -Name OpenAI.Codexconfirmed installed package 26.930.7945.0. Ordinary sandboxedGet-Locationsucceeded, exit code 0. Configuration remainedwindows.sandbox = "unelevated".Real Chrome test after rollback:
cua.getState()discovered Chrome using the extension backend, but its inventory reported:The returned empty tabs list is an inventory failure, not evidence that Chrome has no open tabs. No Chrome page content or tab title was read successfully.
Current limits and questions
unelevatedbefore rollback, so I cannot attribute that recovery to rollback.elevatedafter rollback, and am not claiming that the original elevated ACL failure is fixed locally.Could maintainers advise:
nodeRepl.fetch request failed/ the earlier request-header-policy error?Only the sanitized findings above are shared; no credentials, cookies, browsing history, private page contents, personal filesystem paths, or full transcripts are attached.