Skip to content

Windows: sandbox setup fails with os error 32 on node_repl.exe; browser and terminal tools unavailable #52611

Open

Description

@jacekrejdych

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

26.1002.52244 (build 13536)

What subscription do you have?

business

What platform is your computer?

Microsoft Windows NT 10.0.26300.0 x64

What issue are you seeing?

Browser automation and sandboxed terminal commands consistently fail in the Codex desktop app on Windows.

Terminal error:
Failed to create unified exec process:
helper_unknown_error: setup refresh had errors

Browser/Node errors:
trusted Node process exited unexpectedly
windows sandbox failed: helper_unknown_error: setup refresh had errors

The sandbox log reports:
runtime read/execute validation failed for
%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)

Configuration:
windows.sandbox = "elevated"
Bundled Codex CLI: 0.162.0-alpha.2

Restarting the app, resetting the Node/browser tool session, and restarting the entire computer did not resolve the issue. The same error returned after reboot.

Shell commands approved to run outside the sandbox work, but sandboxed commands and browser automation remain unavailable.

Expected behavior:
The sandbox initializes successfully and browser/terminal tools work.

What steps can reproduce the bug?

  1. Open the Codex desktop app on Windows.
  2. Open a local project and start or resume a chat.
  3. Ask Codex to run a sandboxed terminal command such as git status.
  4. Ask Codex to inspect browser tabs using cua.getState().
  5. Both tools fail with the errors described above.

The failure persists after resetting the tool session, restarting the app, and rebooting Windows.

What is the expected behavior?

The Windows sandbox should initialize successfully. Terminal commands and browser automation should run without setup errors or unexpected Node process exits.

Additional information

Commands approved to run outside the sandbox succeed.

The sandbox log repeatedly reports os error 32 while validating read/execute access to node_repl.exe.

App: 26.1002.52244 (build 13536)
Bundled CLI: 0.162.0-alpha.2
OS: Microsoft Windows NT 10.0.26300.0 x64
Sandbox configuration: windows.sandbox = "elevated"

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