Skip to content

Windows dot cannot access connected PC: “setup refresh had errors” / node_repl.exe sharing violation #52334

Closed

Description

@JRI-ghub-useracct

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

26.1002.52244, build 13536 The Windows package version was 26.1002.7124.0.

What subscription do you have?

Pro $200 Legacy

What platform is your computer?

Win 11 Pro

What issue are you seeing?

My dot cannot read project files on a connected and authorized Windows PC. Every attempted read fails during sandbox setup, before the requested command runs. Local Codex on the same PC works. This blocks all dot project reviews.
Exact error
exec-server rejected request (-32603): helper_unknown_error: setup refresh had errors
Environment

  • Codex desktop: 26.1002.52244, build 13536, production channel
  • AppX package: 26.1002.7124.0
  • Windows build: 26300.9550
  • CUA runtime: cua_node\3dd31cfff853001c
  • The updater reported that the app was up to date during investigation
    Steps to reproduce
  1. Connect and authorize the Windows PC for dot.
  2. Ask dot to read an existing text file in an authorized local project.
  3. The request fails during sandbox setup before the file is read.
    Expected result
    Dot can perform an authorized, read-only file access on the connected PC.
    Actual result
    Sandbox setup fails consistently. The latest retry on October 9, 2026, around 00:02 UTC produced the same error.
    Diagnostic findings
  • Local diagnostics identify Windows error 32 (sharing violation) while sandbox setup attempts an ACL operation on its running node_repl.exe.
  • Opening that file with READ_CONTROL or READ_CONTROL | WRITE_DAC succeeds. MAXIMUM_ALLOWED fails with error 32.
  • The sandbox group already has read/execute access.
  • A second Windows PC running the same desktop version can execute dot commands successfully. Compared runtime/core/setup-helper hashes match across the two PCs.
  • Working local Codex uses MXC. The failing dot request enters the legacy sandbox ACL setup path. We have not verified a supported dot-specific control for selecting MXC.
    Related upstream fix
    PR Avoid sharing violations when repairing Windows runtime ACLs #51822 addresses excessive access requests during ACL repair of running executable files. We have not confirmed that the fix is included in this installed desktop build:
    Avoid sharing violations when repairing Windows runtime ACLs #51822
    Request
    Please confirm which Windows desktop release includes this fix, and whether there is a supported mitigation for dot’s local executor until then. Project work is paused; we have not applied manual runtime replacements or ACL workarounds.

What steps can reproduce the bug?

Asking Dot to connect to the existing connected PC. It is connected to the PC fine, it says connected, Dot can no longer interact with the project folder, project files or even communicate with the PC it is connected to. This happened yesterday during one of the several Codex updates throughout the day.

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
    dots
    on Oct 9, 2026
  3. huangkai-boy commented on Oct 9, 2026

    @huangkai-boy

    ~/.codex/config.toml 中 [windows] sandbox 由 "elevated" 改为 "unelevated" 可以解决这个问题

  4. dansesmacabres commented on Oct 9, 2026

    @dansesmacabres

    Additional reproduction on Windows 11 Home 26H2, OS build 26300.9550. About reports 26.1002.52244 (release date October 7); local diagnostics separately report package version 26.1002.7124.0.

    Both existing and freshly created dot tasks fail before Get-Location runs with exec-server rejected request (-32603): helper_unknown_error: setup refresh had errors. The same read-only command succeeds in an ordinary local Work chat using PowerShell 7.6.5; the effective sandbox settings of the two routes have not been established as equivalent.

    New evidence after a full Windows restart, October 8, 2026, US Central time:

    • 20:26:22: Windows boot.
    • 20:27:30: Parent Codex process starts.
    • 20:27:42: Two node_repl.exe processes start.
    • 20:28:13: Sandbox runtime read/execute validation fails on cua_node\3dd31cfff853001c\bin\node_repl.exe, with Windows sharing violation / OS error 32.

    Windows Restart Manager's resource query identifies both processes as using that exact executable. One is a direct Codex child; the other is under node.exe beneath the same Codex parent. This establishes file users, not which particular handle conflicts. Both started after reboot, so this is reproducible rather than simply a leftover pre-reboot process. Reopening the app and rebooting Windows did not resolve it.

    In-app feedback submission was confirmed successful. Feedback ID: 01a11c6b-f290-759b-866a-e48c7f3b202c.

    Could maintainers confirm which Windows desktop release includes #51822, or provide a supported recovery procedure for the dot executor? We have not applied runtime replacements, ACL workarounds, or sandbox-security changes. No private paths, project content, credentials, or raw logs are included here.

  5. dansesmacabres commented on Oct 9, 2026

    @dansesmacabres

    Follow-up diagnostic detail for feedback ID 01a11c6b-f290-759b-866a-e48c7f3b202c:

    Read-only inspection queried the exact executable used by the running desktop app-server and exec-server (not codex from PATH). Both report codex-cli 0.162.0-alpha.2 and use the same desktop-bundled executable. The Windows package reports 26.1002.7124.0, while About reports 26.1002.52244.

    The app-server was explicitly launched with features.prefer_mxc=true; no matching exec-server launch override was observed. This does not establish that the exec-server PID inspected served the earlier failed request or prove its effective backend. The timestamp-correlated sandbox log does establish that the failed dot request entered classic setup-refresh and hit the runtime executable sharing violation.

    The affected task reports restricted filesystem and network execution but exposes neither a backend selector nor complete per-request network requirements. We therefore have not switched to unelevated or assumed a local MXC preference safely applies to dot.

    Please confirm which desktop-bundled runtime includes #51822, or a supported dot-specific way to select a compatible backend while preserving the task's existing restrictions. Ordinary local Work execution succeeds; the delegated dot route remains blocked.

  6. Andyhsui commented on Oct 9, 2026

    @Andyhsui

    Confirmed workaround on Windows Codex Desktop

    I reproduced the node_repl.exe sharing violation (os error 32) during Windows elevated sandbox initialization.

    Previously:

    • PowerShell execution failed during sandbox setup.
    • Chrome browser control failed before connecting.
    • Restarting Windows did not help.
    • Resetting and reinstalling the workspace did not help.

    I changed ~/.codex/config.toml from:

    [windows] sandbox = "elevated"

    to:

    [windows] sandbox = "unelevated"

    After restarting Codex Desktop:

    • PowerShell execution: PASS
    • Chrome browser control: PASS

    This confirms that switching to the unelevated sandbox is an effective workaround in my environment.

    The underlying elevated sandbox initialization issue still needs a permanent fix.

  7. rafimyu580-pixel commented on Oct 10, 2026

    @rafimyu580-pixel

    Adding an affected Windows installation and a request for a supported recovery path.

    Environment and observations:

    • Desktop app: 26.1002.52244, build 13536, production. The last update check reported up_to_date; this is not evidence that either fix below is included.
    • Direct Codex tasks can run, while tasks delegated from dot to the same connected PC fail before the first command starts.
    • On October 9 at approximately 12:49 UTC, a newly created dot task failed on its first Get-Location with: exec-server rejected request (-32603): helper_unknown_error: setup refresh had errors.
    • Previously collected sandbox logs identify runtime read/execute validation failing on the bundled node_repl.exe with Windows os error 32 (sharing violation). A runtime DLL was also affected in earlier diagnostics.
    • No safe task-specific process shutdown has been established. No sandbox downgrade, ACL/security change, or binary replacement has been performed as part of this investigation.

    Two related changes appear relevant, but we have not established the effective backend/configuration of the failed dot request:

    1. Avoid sharing violations when repairing Windows runtime ACLs #51822 (dd12f89): avoid sharing violations when repairing Windows runtime ACLs.
    2. Preserve the CLI MXC preference in executor config reads #51525 (ed59a6c): propagate the startup prefer_mxc setting in executor configuration reads.

    Could maintainers clarify whether #51525 applies to the desktop exec-server configuration used by dot, and identify the first Windows Desktop build that includes the applicable fixes? Is there a supported diagnostic or recovery procedure for dot that preserves existing filesystem denied-read paths and network restrictions?

    In particular, how can an affected user inspect the effective backend and MXC eligibility of the failed dot request, rather than only the configuration of a working local Codex session? We are not assuming that all local sessions use MXC or that all dot requests use the legacy backend.

    Personal filesystem paths, project details, saved game data, and raw logs are intentionally omitted. A concrete supported next step or rollout milestone would help us resume work without repeatedly retrying the same failing initialization.

  8. dansesmacabres commented on Oct 10, 2026

    @dansesmacabres

    Update on my earlier reproduction: after updating the Windows desktop app, a read-only retest in the same previously failing dot-created task succeeded.

    • Tested at 2026-10-10 00:52:31 UTC (October 9, 7:52:31 PM US Central).
    • PowerShell command: Get-Location.
    • Exit code: 0; the command returned the task's working directory.

    I did not switch to the unelevated sandbox, manually change ACLs, or replace runtime binaries. The retest made no configuration or security changes.

    This confirms shell startup and working-directory access recovered on my installation. Other capabilities were not tested in that check. I have not verified the updated app/build or bundled CLI version, so I cannot identify the first fixed desktop release or attribute the recovery to #51822. This is a local recovery result; it does not establish that the issue is resolved for everyone.

  9. JRI-ghub-useracct commented on Oct 10, 2026

    @JRI-ghub-useracct
    Author

    Hi everyone. I posted the original issue in this thread. The latest Codex update fixed this issue for us on the machines we were using and the Sandbox issue. Below is a summary of the issue. This was caused (we think) by the several updates OpenAI released for Codex during that day.

    The issue was a Windows sandbox-startup failure. The computer connected successfully, but dot’s commands failed before they could read the project folder.

    • Exact error: “Failed to create unified exec process: exec-server rejected request (-32603): helper_unknown_error: setup refresh had errors”. Deeper diagnostics showed Windows error 32, a sharing violation involving the running node_repl.exe during sandbox permission refresh.
    • Why regular Codex worked: Local Codex used MXC, with prefer_mxc=true and AppContainer isolation confirmed. Dot’s failing route used the older elevated sandbox setup. The two routes behaved differently on the same computer.
    • What the diagnostics showed: Permission-refresh code requested MAXIMUM_ALLOWED access to an executable already in use. That failed, while narrower permission requests succeeded. The evidence did not justify broadly changing project-folder permissions.
    • The relevant code fix: OpenAI changed the affected permission handling to request only the rights needed: READ_CONTROL, followed by WRITE_DAC when necessary. Avoid sharing violations when repairing Windows runtime ACLs #51822
    • Sandbox settings: Switching to the weaker “unelevated” fallback was considered but not applied. No security settings were weakened as part of this troubleshooting.
    • Result after updating: Following the October 9 Codex update, dot successfully executed a command and read project files, with exit code 0.
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

    appbugdotsremotesandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions