Skip to content

Windows desktop 26.1103.32239: Computer Use timeouts and shell blocked by helper_sandbox_lock_failed #60192

Open

Description

@index042

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

ChatGPT Windows desktop app: 26.1103.32239. The app reports that it is up to date.

What subscription do you have?

Not included in this report.

What platform is your computer?

Windows. The PC is shown as connected. The exact Windows build was not collected.

What issue are you seeing?

Local computer interaction and shell execution both fail:

  • Computer Use getState and getApp requests time out after approximately 30 seconds. This was observed when trying to access Grok and Windows Calculator.
  • A simple, read-only PowerShell command, Get-Date, fails before the command starts because sandbox provisioning fails.
  • The error identifies helper_sandbox_lock_failed, an NtCreateFile access-denied failure (os error 5), and the sandbox helper directory %USERPROFILE%\.codex\.sandbox-bin. The personal portion of the path has been replaced with %USERPROFILE%.
  • The setup-error record had a recent timestamp during the investigation.
  • The failures persisted after restarting and trying a fresh local chat.

These are observations from the same environment. I do not know whether the Computer Use timeouts and the sandbox provisioning error have the same cause.

What steps can reproduce the bug?

On the affected Windows installation:

  1. Open the desktop app with the local PC connected.
  2. Attempt a Computer Use getState or getApp request for Grok or Calculator.
  3. Observe a timeout after approximately 30 seconds.
  4. Attempt to execute Get-Date through the local shell.
  5. Observe sandbox provisioning fail before PowerShell executes the command, with helper_sandbox_lock_failed and NtCreateFile: Access is denied. (os error 5) for the sandbox helper directory.
  6. Restart and retry in a fresh local chat. The problem persists.

This describes reproduction on the affected installation; it is not a claim that every Windows installation is affected.

What is the expected behavior?

A connected PC should respond to supported Computer Use requests, and a simple local shell command should run after sandbox setup succeeds. If provisioning is blocked, the app should surface the actionable cause and supported recovery steps.

Additional information

Related reports with similar sandbox error text include #59744 and #60057. I have not verified that their causes or workarounds apply to this installation.

Could the maintainers advise which supported diagnostic steps would help distinguish the Computer Use timeout from the sandbox setup failure, and how to recover safely?

Only this sanitized summary is provided. No raw logs, account details, local username, device name, private project data, or credentials are attached.

Activity

  1. added
    bug
    app
    windows-os
    sandbox
    on Nov 8, 2026
  2. secheverrianogal-beep commented on Nov 8, 2026

    @secheverrianogal-beep

    Source review at the current public repository snapshot shows that lock_sandbox_bin_dir() delegates to lock_sandbox_dir(..., DaclInheritance::Protected, ...). That path opens the directory with READ_CONTROL | WRITE_DAC before applying the protected DACL. The intended SYSTEM ACE later includes WRITE_DAC, but that ACE cannot repair the directory if the initial open already fails.

    This is consistent with the reported ACL state in #59038 (SYSTEM had Modify but lacked WRITE_DAC), but it does not prove that #60192 has the same effective owner/DACL or token. #60057 also reports that a manual ACL change did not complete setup and mentions a separate WFP ERROR_NONE_MAPPED; those should not be collapsed into one cause without fresh evidence.

    A useful next diagnostic would capture the sanitized effective owner/DACL and requested access mask at the failing open, and distinguish the bin-directory lock failure from any WFP/SID-resolution failure. I would avoid recommending manual ACL changes until the failing principal and supported repair path are established. I did not run tests or change any ACLs.

  3. secheverrianogal-beep commented on Nov 8, 2026

    @secheverrianogal-beep

    Proposed remediation (investigation direction; not implemented)

    Please keep the shell sandbox-provisioning failure separate from the Computer Use timeout until evidence proves a shared cause. For the helper-directory lock failure, capture sanitized diagnostics at the failing open: effective principal, requested access mask, Win32/HRESULT result, and the relevant owner/DACL decision.

    Provisioning should be idempotent and atomic, retain a protected least-privilege ACL, and expose a supported repair path. Avoid blanket ACL changes or automatically weakening directory permissions. Regression coverage should include fresh/existing directories, expected/unexpected owner and DACL, access denied, interrupted provisioning, repeat startup, and a separate Computer Use timeout path. Verify no command runs until sandbox setup succeeds.

    Repository search also found related reports #59744, #60057, and #59038; their causes should not be assumed identical.

    Consolidated proposal index: #60227 (section 6).

  4. grtninja commented on Nov 8, 2026

    @grtninja

    Duplicate assessment — NOT a duplicate (family grouping, not a close). Assessed 2026-11-08 ~06:40 EST against the bot-flagged candidates #59744, #60057, #59038, all verified live OPEN this run.

    What #60192 is: two symptoms in one environment — (a) Computer Use getState/getApp timeouts after ~30s (Grok, Calculator), and (b) shell blocked by helper_sandbox_lock_failed / NtCreateFile: Access is denied. (os error 5) on %USERPROFILE%\.codex\.sandbox-bin. The reporter states they do not know whether the two share a cause, and no ACL diagnostics or repair attempt is reported here.

    Why not a duplicate of any candidate:

    Grouping for investigation: all four belong to one helper_sandbox_lock_failed / WRITE_DAC sandbox-provisioning family — #59038 the diagnosed root-cause anchor, #60057 the post-repair-failure branch, #59744 an undiagnosed same-error report, #60192 the two-symptom report. Shared cause across the family is NOT established. The Computer Use timeout in #60192 stays a separate symptom until evidence links it to the sandbox failure (agreeing with @secheverrianogal-beep's comment above). Remediation direction is tracked at the consolidated proposal index #60227 (section 6); nothing there is implemented yet.

    Next diagnostic (for the reporter): capture the sanitized effective owner/DACL and requested access mask at the failing open, and whether the Computer Use timeout persists when the shell path is not involved — that distinguishes a shared cause from two coincident failures.

    Close belongs to the author/maintainer — this is a determination, not a close.

    — Muse

  5. rubyspee-byte commented on Nov 8, 2026

    @rubyspee-byte

    I’m experiencing a similar problem on Windows 11 Home, version 26H2, build 26300.9711. The computer shows as connected and access is allowed, but commands fail before execution with “helper_sandbox_lock_failed: Access is denied (OS error 5)”.

    Updating and reinstalling the ChatGPT desktop app, completing Windows setup again, and reconnecting the computer did not resolve the issue.

    The .sandbox-bin permissions show SYSTEM has Modify access but not Change permissions. I have not changed those permissions. This appears similar to the condition addressed in #59745, although I cannot confirm it is the cause here.

    Could you clarify whether that fix is included in the current desktop app and advise on a supported way to restore access?

  6. index042 commented on Nov 9, 2026

    @index042
    Author

    Update from the affected installation:

    • After adding WRITE_DAC (the WDAC permission in icacls) for SYSTEM on .sandbox-bin, one ordinary sandboxed shell command succeeded. Computer Use also captured a screenshot and completed a simple click.
    • On a later check, SYSTEM was back to Modify without WRITE_DAC, and the sandbox access-denied error recurred.
    • A subsequent Computer Use getState request timed out after 120 seconds.

    These observations do not establish that the shell failure and Computer Use timeout have the same cause.

    ChatGPT's “Check for Updates” reports that the app is up to date. The desktop version previously observed was 26.1103.32239; I have not visually reconfirmed the current version.

    Could you confirm whether the fix in #59745 is included in the desktop app, which desktop version ships it, and the supported steps for a durable recovery? The manual permission change only produced a temporary recovery here.

  7. katterr commented on Nov 9, 2026

    @katterr

    Also seeing the shell-initialization failure on Windows with desktop app version 26.1103.32239. The computer is connected, but shell execution fails before any command runs with helper_sandbox_lock_failed and NtCreateFile: Access is denied (OS error 5), referencing the sandbox helper directory .codex.sandbox-bin.

    This blocks build and testing work. The effective directory permissions and exact Windows build have not been verified, so I cannot confirm a shared root cause with other reports. Could maintainers provide supported diagnostic steps and confirm which desktop release includes a durable fix?

  8. millioglu28-jpg commented on Nov 10, 2026

    @millioglu28-jpg

    Another affected Windows desktop installation, checked on 10 November 2026:

    • Desktop app version: 26.1103.32239, build 25471. The updater reports that the app is current.
    • Shell commands fail before execution with helper_sandbox_lock_failed and NtCreateFile: Access is denied. (os error 5).
    • Windows setup does not complete. Approving the UAC prompt leads back to the setup failure, and the prompt recurs on another attempt.

    This appears consistent with the sandbox-provisioning failure reported here, but a shared root cause has not been established. I am not asserting that it also explains the Computer Use timeouts.

    Could maintainers confirm whether #59745 is included in this desktop build, identify the desktop release that contains it, and provide a supported, durable repair procedure? The temporary recovery and subsequent permission reversion reported above make another blind setup retry or broad permission grant unsuitable.

    If additional diagnostics are needed, please specify the minimum sanitized fields required to distinguish this failure from other setup errors.

  9. KMX415 commented on Nov 12, 2026

    @KMX415

    Adding another affected Windows 10 installation, tested on November 12.

    • Windows 10 22H2 was identified earlier; the exact current Windows build has not been rechecked. Windows and ChatGPT report being up to date.
    • Observed computer-use bundle: 26.1106.51428 (not a verified desktop package version).
    • Across multiple local chats, harmless read-only commands fail before execution with helper_sandbox_lock_failed and NtCreateFile: Access is denied. (os error 5). In one chat, two subsequent read-only commands succeeded, so shell availability is intermittent.
    • Separately, window discovery has worked while screenshots of Discord and Windows Settings timed out with FrameArrived timed out or window capture timed out. Other attempts timed out during state/window discovery.
    • The latest retry failed earlier: computer-use initialization exited with code 1 and reported that Windows sandbox setup was missing or out of date. No screenshot was obtained in that retry.

    Rebooting, reinitializing the computer-use runtime, closing PowerToys and then uninstalling PowerToys/FancyZones did not restore reliable operation. No manual permissions changes were made during this troubleshooting.

    I started a performance trace, requested the failing retry, then stopped recording. The trace has not been inspected and is not attached.

    These observations do not establish a common cause for the sandbox and capture failures. Could maintainers identify the desktop release containing the repair in #59745 and the supported diagnostic or repair steps for the remaining capture problem?

  10. rubyspee-byte commented on Nov 13, 2026

    @rubyspee-byte

    Update from my affected Windows installation, tested on 13 November 2026:

    • Read-only shell commands and access to the external archive drive now work, but Computer Use initialization still exits with code 1 and reports kernel.js MODULE_NOT_FOUND.
    • The referenced kernel.js file exists. A direct read under the sandbox execution identity is denied. Read-only ACL inspection found that the temporary directory has inheritance disabled and lacks the relevant sandbox read permission; the generated runtime directory/files inherit those permissions.
    • For a narrowly scoped diagnostic test, the original ACLs were backed up and temporary read/execute access was granted only to one existing runtime directory and its runtime files. No broad access to the whole temporary directory was granted.
    • On retry, the runtime created a different temporary directory and failed there again with MODULE_NOT_FOUND. The test was not expanded to that new directory.
    • All original ACLs on the tested directory/files were then restored and verified. No lasting permission change from this test remains.

    This did not restore Computer Use and is not a recommended workaround. It also does not establish that this failure has the same cause as the earlier helper_sandbox_lock_failed error.

    Could maintainers provide a supported, durable way to stage newly generated runtime files with the required least-privilege access, and identify the desktop release or repair procedure that addresses this? No personal files or raw logs are attached.

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

    appbugcomputer-usesandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions