Skip to content

Windows desktop: sandbox setup still fails with error 32 on node_repl.exe after app restart #51851

Open

Description

@srgmnds

Summary

Terminal execution fails during Windows sandbox preparation, before commands run, in both a dot-delegated task and an ordinary existing Codex chat. Closing the desktop app through Task Manager and reopening it did not restore execution.

Related reports: #51590 and #51725. This is an independent reproduction of the same symptom. We did not separately rerun sandbox setup while the app was closed.

Environment

  • Windows, exact OS version not collected
  • App package: 26.1002.7124.0 (x64)
  • Bundled CLI: 0.162.0-alpha.2
  • Sandbox helper build: 9691020b546a15b2
  • cua_node runtime build: 3dd31cfff853001c

Observed sequence

All times below are UTC on October 7, 2026.

  1. At approximately 20:26, a delegated Get-Location attempt failed during setup with error 32 on node_repl.exe.
  2. Process Explorer subsequently showed four processes mapping this runtime executable.
  3. Closed the desktop app through Task Manager and reopened it. A fresh Process Explorer Find Handle or DLL search for node_repl.exe initially showed zero matches.
  4. At 21:56:47, one delegated Get-Location retest failed before execution. A new node_repl.exe process was observed mapping the same runtime path around this attempt. This does not by itself prove the exact lock owner or startup ordering.
  5. At 21:58:37, an ordinary existing Codex chat also failed before it could execute a read-only log query.
  6. The logs were then read manually through Windows, outside the Codex terminal.

Sanitized log findings

Both recent attempts show the same sequence, with two versus four write roots:

  • Profile-root read-attributes ACL update encounters error 32, but explicitly continues setup.
  • read ACL run completed
  • Fatal validation failure on %LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\3dd31cfff853001c\bin\node_repl.exe:
runtime read/execute validation failed:
validate runtime read/execute access on <runtime path above>:
open ACL target for root-only update:
O arquivo já está sendo usado por outro processo. (os error 32)
setup error: setup refresh had errors
setup refresh: exited with status ExitStatus(ExitStatus(1))

The Portuguese message means the file is already in use by another process. The fatal errors list contains the runtime validation failure. No error 5 was observed in these excerpts.

Impact and request

Even Get-Location and reading diagnostic logs through the Codex terminal are blocked. No manual ACL changes, privilege escalation, or runtime deletion were performed during this troubleshooting.

Please investigate and provide a supported recovery path or fix that preserves sandbox isolation and existing work. No personal paths, project files, session transcripts, or credentials are attached.

Activity

  1. added
    bug
    app
    windows-os
    sandbox
    on Oct 7, 2026
  2. drluisbarrios commented on Oct 7, 2026

    @drluisbarrios

    Same here, 8 hrs waiting

  3. ItzMeFluffyBT commented on Oct 8, 2026

    @ItzMeFluffyBT

    I’m seeing the same fatal sandbox validation error on Windows in dot-delegated Desktop tasks on October 8, 2026. My desktop is connected, attached, and authorized. Ordinary local tasks work for me, but a delegated PowerShell Get-Date fails before execution with:

    exec-server rejected request (-32603): helper_unknown_error: setup refresh had errors

    The local sandbox log at 19:37:23 UTC shows runtime read/execute validation failing with Windows error 32 on cua_node\3dd31cfff853001c\bin\node_repl.exe, followed by sandbox setup exiting with status 1.

    Full quit/reopen, closing remote Codex control and restarting, a clean C: workspace, and login=false did not restore delegated execution. The last failed retest was at 19:52 UTC on October 8. Separate successful Node launches do not establish that PowerShell execution recovered.

    The exact Windows version and app build have not been collected. Is there a supported recovery path for this runtime validation failure?

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

    appbugsandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions