Repository navigation
Description
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
getStateandgetApprequests 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, anNtCreateFileaccess-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:
- Open the desktop app with the local PC connected.
- Attempt a Computer Use
getStateorgetApprequest for Grok or Calculator. - Observe a timeout after approximately 30 seconds.
- Attempt to execute
Get-Datethrough the local shell. - Observe sandbox provisioning fail before PowerShell executes the command, with
helper_sandbox_lock_failedandNtCreateFile: Access is denied. (os error 5)for the sandbox helper directory. - 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
github-actions commentedon Nov 8, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
secheverrianogal-beep commentedon Nov 8, 2026
Source review at the current public repository snapshot shows that
lock_sandbox_bin_dir()delegates tolock_sandbox_dir(..., DaclInheritance::Protected, ...). That path opens the directory withREAD_CONTROL | WRITE_DACbefore applying the protected DACL. The intended SYSTEM ACE later includesWRITE_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.
secheverrianogal-beep commentedon Nov 8, 2026
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).
grtninja commentedon Nov 8, 2026
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/getApptimeouts after ~30s (Grok, Calculator), and (b) shell blocked byhelper_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:
icacls ... /grant "*S-1-5-18:(WDAC)"). Windows desktop 26.1103.32239: Computer Use timeouts and shell blocked by helper_sandbox_lock_failed #60192 has no ACL state, no Process Monitor data, and no workaround attempt; as @secheverrianogal-beep notes above, the Windows sandbox initialization fails: SYSTEM denied WRITE_DAC on .sandbox-bin #59038 ACL state is consistent with but does not prove Windows desktop 26.1103.32239: Computer Use timeouts and shell blocked by helper_sandbox_lock_failed #60192 has the same effective owner/DACL/token. Windows desktop 26.1103.32239: Computer Use timeouts and shell blocked by helper_sandbox_lock_failed #60192 also carries the Computer Use timeout, which Windows sandbox initialization fails: SYSTEM denied WRITE_DAC on .sandbox-bin #59038 does not.(M,WDAC)grant succeeded, yet restarting the app still did not complete setup (exact post-repair error not yet re-collected), plus a separate WFPERROR_NONE_MAPPED(0x534). Windows desktop 26.1103.32239: Computer Use timeouts and shell blocked by helper_sandbox_lock_failed #60192 is pre-repair; it cannot be the same stage as a post-repair failure.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
rubyspee-byte commentedon Nov 8, 2026
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?
index042 commentedon Nov 9, 2026
Update from the affected installation:
WRITE_DAC(theWDACpermission inicacls) for SYSTEM on.sandbox-bin, one ordinary sandboxed shell command succeeded. Computer Use also captured a screenshot and completed a simple click.WRITE_DAC, and the sandbox access-denied error recurred.getStaterequest 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.
katterr commentedon Nov 9, 2026
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?
millioglu28-jpg commentedon Nov 10, 2026
Another affected Windows desktop installation, checked on 10 November 2026:
helper_sandbox_lock_failedandNtCreateFile: Access is denied. (os error 5).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.
KMX415 commentedon Nov 12, 2026
Adding another affected Windows 10 installation, tested on November 12.
helper_sandbox_lock_failedandNtCreateFile: Access is denied. (os error 5). In one chat, two subsequent read-only commands succeeded, so shell availability is intermittent.FrameArrived timed outorwindow capture timed out. Other attempts timed out during state/window discovery.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?
rubyspee-byte commentedon Nov 13, 2026
Update from my affected Windows installation, tested on 13 November 2026:
kernel.js MODULE_NOT_FOUND.kernel.jsfile 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.MODULE_NOT_FOUND. The test was not expanded to that new directory.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_failederror.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.