Skip to content

Windows elevated sandbox setup fails with os error 32 on CUA runtime files #52601

Open

Description

@bekenty0311

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

26.1002.52244

What subscription do you have?

ChatGPT Plus

What platform is your computer?

Microsoft Windows NT 10.0.19044.0 x64

What issue are you seeing?

Environment:

  • Codex desktop 26.1002.52244 (October 7, 2026)
  • Windows 10 LTSC 21H2
  • Installed through ChatGPT, not Microsoft Store

Any local exec_command fails:
Failed to create unified exec process:
helper_unknown_error: setup refresh had errors

Sandbox logs show os error 32 while opening runtime files
for ACL updates:

  • cua_node\3dd31cfff853001c\bin\node_repl.exe
  • the same runtime's
    node_modules@oai\sky\bin\windows\swift\x64\VCRUNTIME140_1.dll

Troubleshooting:

  • Restarting Windows did not resolve the failure.
  • Stopping two node_repl.exe processes moved the logged
    failure to VCRUNTIME140_1.dll.
  • PowerShell identified codex-computer-use-swift as loading
    that exact DLL.
  • Stopping it did not restore execution; the next attempt
    again failed on node_repl.exe.
  • No .staging-* directories were found in bin or runtimes\cua_node.
  • Switching windows.sandbox from elevated to unelevated
    restored execution: cmd.exe /d /c echo CODEX_OK succeeded.

Expected:
Local commands should execute in elevated sandbox mode
without runtime ACL setup failing on in-use files.

The Feedback option is unavailable in the composer "/" menu.
Please advise a supported repair preserving projects,
skills and configuration.

What steps can reproduce the bug?

Steps observed on my machine:

  1. Set the Windows sandbox mode in %USERPROFILE%.codex\config.toml:

    [windows]
    sandbox = "elevated"

  2. Launch Codex desktop 26.1002.52244 on Windows 10 LTSC 21H2.

  3. Ask Codex to execute this minimal command through exec_command:

    cmd.exe /d /c echo CODEX_OK

  4. The command fails before execution:

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

The sandbox log reports os error 32 (file in use) during ACL
operations on node_repl.exe or VCRUNTIME140_1.dll inside
the Codex CUA runtime.

The failure persisted after restarting Windows and was also
observed in a new project. This is a local reproduction;
I have not reproduced it on a clean installation.

Control check: changing windows.sandbox to "unelevated"
and restarting Codex allowed the same command to succeed,
returning CODEX_OK.

Session ID: unavailable. The Feedback option is not present
in the composer "/" menu.

Token limit usage: not recorded.
Context window usage: not recorded.
The reported failure occurs during local sandbox setup,
before the requested shell command starts.

sandbox.2026-10-09.txt

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    app
    on Oct 9, 2026
  2. added
    bug
    windows-os
    sandbox
    on Oct 9, 2026
  3. helix-bio-labs commented on Oct 9, 2026

    @helix-bio-labs

    Been waiting 2 days for a patch 😡

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