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 app: opaque policy denial while preparing an owner-approved maintenance script #48974
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
Opaque exec_command policy denial while preparing a reviewed maintenance script
Windows desktop app OpenAI.Codex 26.924.2738.0 rejected a command before PowerShell process creation with:
exec_command failed: CreateProcess ... Rejected ... rejected: blocked by policy
The command wrote a local PowerShell executor for an explicitly owner-approved database maintenance window and parsed its syntax. It did not invoke that executor. The script text included service stop/start, a bounded temporary SQL firewall rule with cleanup, and a checksum-bound additive migration with preservation verification.
Task and inspected local configuration reported approval_policy=never and sandbox_mode=danger-full-access. Inspected user rules contained no forbidden entries. Selected local core/desktop logs exposed no reviewer rationale or denying rule. This does not rule out managed or service-side policy. No Guardian approval event was confirmed.
The executor file was not created and the production migration did not run. Ordinary read-only commands continued working. We did not retry through another tool, shell, machine, or weakened policy.
Please identify the enforcing component and supported remediation. Does this denial have an action-level approval path in the Windows app, or should it be treated as an intentional restriction/client defect? A rule identifier and actionable reason would help distinguish these cases.
Similar symptom: #44430. This is a different operation; a common cause is not established. No secrets, application identifiers, customer records, raw logs, or session transcript are included in this report.
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 Sep 28, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action