You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows desktop: unified exec fails at apply deny-read ACLs in every workspace #40047
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingtool-callsIssues related to tool callingwindows-osIssues related to Codex on Windows systems
I can reproduce this on Windows 10 Pro. Every read-only command fails before execution with:
helper_unknown_error: apply deny-read ACLs
It also fails in a completely new empty folder and new task. Restart, admin launch, app update, diagnostics, and workspace reinstall did not help.
I can reproduce the same Windows Desktop failure described in this issue.
Environment:
Codex Desktop version: 26.825.6671.0
Codex Workspace dependencies: 26.826.12353
Windows: Windows 11 Home
Windows version: 25H2
OS build: 26200.9168
Observed error:
Failed to create unified exec process: helper_unknown_error: apply deny-read ACLs
The failure occurs before the requested process is created. Local shell and file operations fail in the affected Codex task, including attempts to inspect files in the workspace.
Additional observations:
The failure is not specific to one repository.
The sandbox directory does not contain an explicit DENY entry for the invoking user.
The recorded sandbox setup error is:
helper_unknown_error: apply deny-read ACLs
This appears to be the same Windows unified-exec/sandbox ACL failure described in this issue. No ACL modifications or sandbox bypass was performed.
One additional observation: deny_read_acl_state.json under the Codex sandbox directory appeared to contain NUL bytes rather than valid JSON when read locally.
This may be related to the truncated/corrupted state-file behavior described in issue #39453. I did not initially delete, rename, or modify the file.
Further observation:
A retry confirmed that the PowerShell and cmd.exe processes used for read-only diagnostics were themselves rejected before they started. As a result, repository inspection and update checks could not be completed. This appeared to be a failure of the Codex execution environment before the diagnostic command could run, rather than an error in the repository.
No files were downloaded, replaced, deleted, reset, or modified during those attempts.
Update: Workaround confirmed on my system.
The file deny_read_acl_state.json contained NUL bytes instead of valid JSON. After fully exiting Codex, I backed up the file and renamed it so that Codex could recreate it on the next launch.
After regeneration, the Windows sandbox recovered and local shell/file operations worked again.
This suggests that the failure was caused by corrupted persistent sandbox state rather than by the repository's normal ACLs. The original file was preserved as a backup, and I did not modify the repository ACLs or use a sandbox bypass.
This should only be considered a temporary workaround when the state file is independently confirmed to be invalid or NUL-filled. Codex should detect and recover from this condition automatically instead of reporting only apply deny-read ACLs.
Windows sandbox startup failure with partial recovery
Desktop app: 26.930.31730
Windows package: OpenAI.Codex 26.930.3930.0
Local app-server: 0.160.0, confirmed in desktop logs
After a Windows crash and reboot on October 4, local commands, including Get-Date, started failing before execution:
Failed to create unified exec process: helper_unknown_error: apply deny-read ACLs
The failure affected direct local tasks and tasks launched by a dot. Restarting, reconnecting and Windows app repair did not resolve it in the delegated task.
Later, after changing permissions, Get-Date, Get-PSDrive and Test-Path succeeded in one direct local task, with this persistent warning:
Attempting to perform the InitializeDefaultDrives operation on the 'FileSystem' provider failed.
Successful reading of file contents has not been confirmed. Other task contexts still failed at process creation, including the latest delegated check. The sessions' effective permission profiles have not been matched, so the cause of the partial recovery is unclear.
Desktop logs confirm successful app-server initialization after reboot, but contain no detailed ACL-helper error. No sandbox-state reset or manual ACL repair was performed.
This appears similar to the failure reported in this issue. The underlying cause and a reliable recovery procedure remain unidentified.
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingtool-callsIssues related to tool callingwindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon Aug 22, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
jayantabehera75-hub commentedon Aug 28, 2026
I can reproduce this on Windows 10 Pro. Every read-only command fails before execution with:
helper_unknown_error: apply deny-read ACLs
It also fails in a completely new empty folder and new task. Restart, admin launch, app update, diagnostics, and workspace reinstall did not help.
jegyll commentedon Aug 31, 2026
I can reproduce the same Windows Desktop failure described in this issue.
Environment:
26.825.6671.026.826.1235326200.9168Observed error:
The failure occurs before the requested process is created. Local shell and file operations fail in the affected Codex task, including attempts to inspect files in the workspace.
Additional observations:
This appears to be the same Windows unified-exec/sandbox ACL failure described in this issue. No ACL modifications or sandbox bypass was performed.
One additional observation:
deny_read_acl_state.jsonunder the Codex sandbox directory appeared to contain NUL bytes rather than valid JSON when read locally.This may be related to the truncated/corrupted state-file behavior described in issue #39453. I did not initially delete, rename, or modify the file.
Further observation:
A retry confirmed that the PowerShell and
cmd.exeprocesses used for read-only diagnostics were themselves rejected before they started. As a result, repository inspection and update checks could not be completed. This appeared to be a failure of the Codex execution environment before the diagnostic command could run, rather than an error in the repository.No files were downloaded, replaced, deleted, reset, or modified during those attempts.
Update: Workaround confirmed on my system.
The file
deny_read_acl_state.jsoncontained NUL bytes instead of valid JSON. After fully exiting Codex, I backed up the file and renamed it so that Codex could recreate it on the next launch.After regeneration, the Windows sandbox recovered and local shell/file operations worked again.
This suggests that the failure was caused by corrupted persistent sandbox state rather than by the repository's normal ACLs. The original file was preserved as a backup, and I did not modify the repository ACLs or use a sandbox bypass.
This should only be considered a temporary workaround when the state file is independently confirmed to be invalid or NUL-filled. Codex should detect and recover from this condition automatically instead of reporting only
apply deny-read ACLs.aerethiel commentedon Oct 4, 2026
Windows sandbox startup failure with partial recovery
Desktop app: 26.930.31730
Windows package: OpenAI.Codex 26.930.3930.0
Local app-server: 0.160.0, confirmed in desktop logs
After a Windows crash and reboot on October 4, local commands, including Get-Date, started failing before execution:
Failed to create unified exec process: helper_unknown_error: apply deny-read ACLs
The failure affected direct local tasks and tasks launched by a dot. Restarting, reconnecting and Windows app repair did not resolve it in the delegated task.
Later, after changing permissions, Get-Date, Get-PSDrive and Test-Path succeeded in one direct local task, with this persistent warning:
Attempting to perform the InitializeDefaultDrives operation on the 'FileSystem' provider failed.
Successful reading of file contents has not been confirmed. Other task contexts still failed at process creation, including the latest delegated check. The sessions' effective permission profiles have not been matched, so the cause of the partial recovery is unclear.
Desktop logs confirm successful app-server initialization after reboot, but contain no detailed ACL-helper error. No sandbox-state reset or manual ACL repair was performed.
This appears similar to the failure reported in this issue. The underlying cause and a reliable recovery procedure remain unidentified.