Skip to content

Windows browser runtime provisioning fails only while desktop app is running; closed-app sandbox check passes #51832

Closed as duplicate

Description

@sstephens93

Environment

  • Windows 10 Pro, build 19045, 64-bit
  • Desktop MSIX package: OpenAI.Codex_26.1002.7124.0_x64
  • Bundled CLI: codex-cli 0.162.0-alpha.2
  • Browser/runtime: Chrome; cua_node\3dd31cfff853001c
  • Observed October 7, 2026
  • The owner reports this worked before recent updates and that no newer app update is offered.

Reproduction

  1. Open the Windows desktop app and use browser automation:
    await cua.getState();
  2. The Node runtime exits before contacting Chrome. A fresh kernel/reset retry fails too.
  3. Fully quit the desktop app, then run the bundled CLI in a separate PowerShell:
    & "<bundled-codex.exe>" sandbox -P ':workspace' -C "<existing-workspace>" powershell.exe -NoProfile -Command "Write-Output 'Codex sandbox diagnostic passed'"
  4. The owner confirmed this command passed while the app was closed.
  5. Reopen the desktop app. Browser initialization again fails with the same Windows sharing violation.

Actual result

node_repl kernel exited unexpectedly
windows sandbox failed: helper_unknown_error: setup refresh had errors
runtime read/execute validation failed:
validate runtime read/execute access on
%LOCALAPPDATA%\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 same failure blocks normal sandboxed shell commands. Approved escalated shell calls and external connectors work.

Additional diagnostic evidence

Stopping only verified Codex node_repl.exe helpers moved the failure to:

...\bin\node_modules\@oai\sky\bin\windows\swift\x64\VCRUNTIME140_1.dll

The verified codex-computer-use-swift.exe helper held this DLL. Stopping that helper did not create a usable repair window: the desktop app immediately relaunched it and the same failure returned.

A transient deny_read_acl_state.json EOF parse error also appeared once. The file subsequently parsed as valid {"principals": {}}; the persistent blocker is the runtime file lock. We did not modify ACLs, sandbox state, security settings, credentials, or runtime binaries.

Expected result

Browser and shell tools initialize with sandbox protections intact while the desktop app is running. Runtime access validation should handle files held by the app's own helpers.

Related reports

Please provide a supported fix or recovery procedure. Browser testing of an active website project remains blocked. This report is submitted by the assistant at the owner's explicit request and includes only sanitized diagnostics, not project contents or full session logs.

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