Skip to content

Windows desktop: elevated setup reports success with app closed, then runtime sharing violation returns after reopening #52162

Open

Description

@joshanderson-pixel

Summary

Reporting an additional reproduction related to #51969 and #51638. Stronger Windows sandbox setup reports success while the desktop app and its computer-use helpers are closed, but ordinary protected execution fails again after reopening the desktop app.

Verified environment

  • App updater: version 26.1002.52244, build 13536, production channel; reports up_to_date on October 8, 2026.
  • Installed Windows package: OpenAI.Codex 26.1002.7124.0 x64.
  • Bundled CLI previously inspected: 0.162.0-alpha.2.
  • Native Windows PowerShell; workspace-write protection.
  • Exact Windows build not collected.

Reproduction and observed results

  1. Ordinary protected Get-Location fails before PowerShell starts: helper_unknown_error: setup refresh had errors.
  2. Restarting Windows and completing Windows app Repair did not restore protected execution.
  3. With the desktop app and relevant helpers closed, a small custom stdio client used the documented app-server windowsSandbox/setupStart interface with mode elevated. The client received windowsSandbox/setupCompleted with success true.
  4. Reopen desktop app and retry Get-Location: same failure before execution.
  5. The latest sandbox log after reopening contains:
runtime read/execute validation failed: validate runtime read/execute access on C:\Users\<USER>\AppData\Local\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)
  1. Read-only process inspection showed newly started node_repl.exe helpers under codex.exe under the reopened ChatGPT.exe. These were new processes after reopening, not proof that the previous exit failed.

Prior bounded diagnostic observations

Stopping only verified bundled node_repl helpers during a previous app session moved the reported conflict to VCRUNTIME140_1.dll loaded by the computer-use Swift helper; that helper respawned. This did not provide a durable fix. No further helper-reset loops were attempted.

Expected versus actual

Expected: successful elevated setup should allow ordinary protected commands after the desktop app restarts, including when bundled tool runtimes are active.
Actual: runtime read/execute validation during setup refresh fails on an in-use runtime file. A startup/refresh coordination defect is suspected from the evidence; the underlying implementation cause is not proven.

Onset and privacy

This installation's failure was verified on October 8. Its first occurrence and exact relationship to automatic app updates are not established. No security downgrades, manual ACL loosening, signed-binary modifications, credentials, company data, personal file paths, private chat transcripts or full diagnostic logs are included.

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