Skip to content

Windows: browser automation fails during sandbox refresh with node_repl.exe sharing violation (OS error 32) #52124

Open

Description

@adminayush-commits

What version of the Codex App are you using (From “About Codex” dialog)?

26.1002.52244 (build 13536, prod)

What subscription do you have?

Plus

What platform is your computer?

Edition- Windows 10 Pro, Version- 22H2, OS Build-19045.6466

What issue are you seeing?

Browser automation consistently fails before it can list or access browser tabs. Calling cua.getState() through mcp__cua_repl.js produces either:

trusted Node process exited unexpectedly; kernel reset, rerun your request

or:

node_repl kernel exited unexpectedly
windows sandbox failed: helper_unknown_error: setup refresh had errors

The Windows sandbox log contains this error (username redacted):

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:
The process cannot access the file because it is being used by another process. (os error 32)

The runtime file's ACL already includes an inherited Allow entry granting CodexSandboxUsers ReadAndExecute and Synchronize.

Browser access remains unavailable across repeated attempts. Regular sandboxed shell commands have also failed with the setup-refresh error, while explicitly approved elevated shell commands work.

The logs suggest a sharing violation during runtime ACL validation/update, but the exact root cause has not been confirmed.

What steps can reproduce the bug?

Feedback ID: no-active-thread-01a11bc4-00bd-7970-b24f-d0334dba4b46

What is the expected behavior?

The browser automation runtime should initialize successfully and return available browser tabs. Sandbox setup should validate the runtime’s permissions without failing on a sharing violation involving node_repl.exe.

Additional information

Troubleshooting already attempted:

  • Retried browser access multiple times.
  • Reset the browser-tool JavaScript session.
  • Restarted the Codex app.
  • Stopped two verified Codex node_repl.exe helper processes, then restarted the app. This did not provide a lasting fix.
  • Inspected runtime ACLs and confirmed ReadAndExecute access for CodexSandboxUsers.
  • Checked the app updater: it reported up_to_date for version 26.1002.52244, build 13536.
  • No antivirus disabling, sandbox weakening, or manual ACL changes were performed.

Sandbox configuration:

[windows]
sandbox = "elevated"

Relevant diagnostic files:

  • %USERPROFILE%\.codex\.sandbox\setup_error.json
  • %USERPROFILE%\.codex\.sandbox\sandbox.2026-10-08.log

setup_error.json reports:

{
  "code": "helper_unknown_error",
  "message": "setup refresh had errors"
}

Please investigate whether sandbox refresh is attempting an incompatible file open/ACL update while the browser runtime is running.

I can provide redacted diagnostic excerpts if needed.

Activity

  1. added
    app
    on Oct 8, 2026
  2. added
    bug
    windows-os
    sandbox
    on Oct 8, 2026
  3. JoonSeongJeong commented on Oct 8, 2026

    @JoonSeongJeong

    Update: I found a temporary workaround.

    After installing Codex version 0.162.0-alpha.20 using the standalone installer and installing the Desktop app and VS Code Codex with a temporary PATH, the issue no longer occurred on the system.

    I am sharing this in case it might be helpful to other users experiencing the same node_repl.exe / Windows Error 32 problem.

    While the above temporary method is not a fundamental solution, it seems it will be usable until an official patch is released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbrowserbugsandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions