Skip to content

Windows 10: sandbox setup fails on active Codex runtime EXE/DLL after PC restart (26.1002.52244) #52103

Open

Description

@Shzz-Yi

Environment

  • Codex desktop installed version: 26.1002.52244
  • Installed build: 13536; channel: prod
  • App update check returned up_to_date during diagnosis on October 8, 2026.
  • OS: Microsoft Windows 10 Home, version 10.0.19045, build 19045.
  • CUA runtime directory: cua_node\3dd31cfff853001c.

Problem

Normal exec_command calls fail before PowerShell starts, including basic workspace file reads and Git status:

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

Node REPL also fails with the same Windows sandbox setup error. Separately approved commands outside the sandbox work. The user restarted the app and subsequently reported a full PC restart; normal sandbox execution still failed in the subsequent test.

Sanitized log evidence

Latest test after the reported PC restart, October 8, 2026 at 13:04:07 UTC:

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)
setup refresh completed with errors
setup error: setup refresh had errors

Earlier targeted diagnosis found four node_repl.exe instances running from that exact runtime, launched by codex.exe or its runtime node.exe. Stopping only those identity-checked helpers changed the blocking target to:

%LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\3dd31cfff853001c\bin\node_modules\@oai\sky\bin\windows\swift\x64\VCRUNTIME140_1.dll

Process module inspection identified codex-computer-use-swift.exe loading that exact DLL, parented by the desktop application's ChatGPT.exe. Stopping that helper did not recover sandbox execution: a new helper appeared under the same parent, and the subsequent test again failed on the DLL. The observations suggest active runtime files conflict with setup's ACL update, but the precise implementation defect is not established.

No manual ACL changes, security-setting changes, runtime-file deletion, or application reinstallation were performed in this diagnostic session.

Reproduction in this installation

  1. Start the Windows desktop app and open a local project.
  2. Request a normal sandbox file read, e.g. Get-Content -LiteralPath AGENTS.md -TotalCount 3.
  3. Observe setup-refresh failure before command execution.
  4. After the user reports restarting the PC, retry the same operation; it still fails with the EXE sharing violation above.

Expected behavior

Normal sandbox setup and file access should work while Codex's own runtime helpers are running. Please provide a supported recovery method or identify a desktop release containing the fix.

Related reports: #51932, #51862, #51778. This report adds a reproduction on Windows 10 Home build 19045 with the app's reported version/build and a failed post-reboot test. Please consolidate if preferred.

Only sanitized, relevant diagnostics are included; no full logs, account identifiers, workspace content, or user-profile paths are attached.

Activity

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

    @yizhibibao125

    same problum

  3. aHudson-fiscal commented on Oct 8, 2026

    @aHudson-fiscal

    I can corroborate this on Windows 11 with desktop app package OpenAI.Codex_26.1002.7124.0_x64__2p2nqsd0c76g0.

    The runtime directory matches this report: cua_node\3dd31cfff853001c.

    Even a minimal Get-Location command fails before PowerShell starts:

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

    Sandbox logs identify Windows error 32 during runtime ACL validation, alternating between:

    bin\node_repl.exe
    

    and:

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

    Both fail with:

    open ACL target for root-only update:
    The process cannot access the file because it is being used by another process.
    (os error 32)
    

    Additional diagnostic evidence:

    • ProcMon captured SHARING VIOLATION from codex-windows-sandbox-setup.exe on the affected runtime files.
    • Process Explorer identified codex-computer-use-swift.exe, parented by ChatGPT.exe, loading the exact runtime DLL targeted by setup.
    • Ending the OpenAI Node helpers changed the blocking target from node_repl.exe to the DLL.
    • The Swift helper automatically reappears after termination, without retrying a command.
    • Disabling Computer use → Any App did not prevent the helper from launching or resolve the failure.
    • A controlled test with the same bundled CLI command succeeds with ChatGPT fully closed and fails after ChatGPT opens.

    Recovery attempts that did not resolve it:

    • Full Windows reboot, including a test without opening other applications.
    • Closing PowerToys.
    • Windows app Repair, which completed successfully.
    • A fresh chat in the same local project without attachments.
    • Targeted termination of the identified runtime helpers.
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