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 Codex isolated service launch blocked by policy #44695
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
Additional Windows desktop occurrence (2026-09-27, UTC+08): a user-authorized cleanup of identified application files/configuration was rejected before PowerShell started with exec_command failed: CreateProcess { message: "Rejected(...blocked by policy)" }. The task context showed approval_policy=never and sandbox_mode=danger-full-access; no actionable denial record or supported recovery path was surfaced. The exact enforcing component is unknown, so this report does not assume the cause is Auto-review or Windows security. We stopped and did not retry through another shell or execution route. Please clarify which policy layer produces this pre-launch rejection and how an authorized local cleanup can be handled through a supported approval/configuration path. The user also asked to put codex --dangerously-bypass-approvals-and-sandbox in config; clarification would help distinguish documented CLI safety controls from this rejection.
Additional Windows desktop occurrence, with a recovery-path problem.
Environment
Currently installed desktop app: 26.1023.6621.0
Incident: 2026-10-28T21:38:27Z
Recorded incident context: approval_policy="never", sandbox_policy.type="danger-full-access"
CLI updated from 0.98.0 to 0.166.0 before checking /approve
Observed rejection
An explicitly user-authorized local development setup command was rejected before process creation:
exec_command failed: CreateProcess {
message: "Rejected(... rejected: blocked by policy)"
}
The PowerShell command combined:
Creating a per-user TPM-backed application identity.
Exporting its public identity.
Registering the application’s per-user launch handler.
Restoring a previously preserved application-update candidate file.
Because these were bundled, we cannot determine which operation triggered the rejection. No specific rule, rationale, reviewer identity or actionable approval record was returned.
Attempted supported recovery
Typing /approve in the desktop composer sent an ordinary message. After updating the CLI, I resumed the same thread by its UUID and entered /approve in the terminal interface. It returned:
No recent auto-review denials in this thread.
Denials are recorded after auto-review rejects an action
We have not retried the rejected setup through another execution route.
Questions
Which component produces this pre-launch CreateProcess … blocked by policy rejection?
Is it an Auto-review denial, an execution-policy denial, or another enforcement layer?
Should this rejection be available through /approve after CLI resume? If not, what is the supported desktop recovery path?
Can the error include a denial/correlation ID, the enforcing component and an actionable explanation?
The evidence does not establish that Auto-review, Windows security or TPM access caused the rejection. I am requesting diagnosis and a supported review path, not a bypass.
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 11, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Firefulcar commentedon Sep 27, 2026
Additional Windows desktop occurrence (2026-09-27, UTC+08): a user-authorized cleanup of identified application files/configuration was rejected before PowerShell started with
exec_command failed: CreateProcess { message: "Rejected(...blocked by policy)" }. The task context showedapproval_policy=neverandsandbox_mode=danger-full-access; no actionable denial record or supported recovery path was surfaced. The exact enforcing component is unknown, so this report does not assume the cause is Auto-review or Windows security. We stopped and did not retry through another shell or execution route. Please clarify which policy layer produces this pre-launch rejection and how an authorized local cleanup can be handled through a supported approval/configuration path. The user also asked to putcodex --dangerously-bypass-approvals-and-sandboxin config; clarification would help distinguish documented CLI safety controls from this rejection.Solve4x-ai commentedon Oct 29, 2026
Additional Windows desktop occurrence, with a recovery-path problem.
Environment
Observed rejection
An explicitly user-authorized local development setup command was rejected before process creation:
exec_command failed: CreateProcess {
message: "Rejected(... rejected: blocked by policy)"
}
The PowerShell command combined:
Because these were bundled, we cannot determine which operation triggered the rejection. No specific rule, rationale, reviewer identity or actionable approval record was returned.
Attempted supported recovery
Typing /approve in the desktop composer sent an ordinary message. After updating the CLI, I resumed the same thread by its UUID and entered /approve in the terminal interface. It returned:
No recent auto-review denials in this thread.
Denials are recorded after auto-review rejects an action
We have not retried the rejected setup through another execution route.
Questions
The evidence does not establish that Auto-review, Windows security or TPM access caused the rejection. I am requesting diagnosis and a supported review path, not a bypass.