Skip to content

Windows desktop: authorized local write rejected before process creation with no policy reason or supported review path #60171

Open

Description

@montelli99

Problem

Windows ChatGPT/Codex desktop rejects an explicitly authorized local application-state preparation command through exec_command before process creation:

exec_command failed: CreateProcess { message: "Rejected(... rejected: blocked by policy)" }

The rejection does not expose a denying layer, matching rule, decision ID, rationale, or actionable approval/review path. Full access was visibly selected. This report requests diagnosis and supported remediation, not disabling or bypassing enforcement.

Environment

  • Windows desktop package OpenAI.Codex 26.1103.3517.0
  • Command wrapper runtime OpenAI.CodexPrimaryRuntime.v26-1103-1593-0_26.1103.1593.0_x64__3k8sg7r9htsxt
  • Desktop cloud-orchestrated local executor; PowerShell invoking Node
  • Effective logs: resolvedApprovalPolicy=never, resolvedApprovalsReviewer=user; earlier explicit request profile :danger-full-access
  • Observed November 7, 2026 (UTC-5)

Operation and observations

The rejected command reads a local loopback service, checks that the application is idle and external actions are disabled, acquires the application's single-controller lock, checks a bounded dated scope, archives an old state record, and atomically saves a new preparation record with both external-action flags false. It does not contact recipients or start an external operation. It is a local authorization-metadata write, not read-only.

A comparable write through the same tool, directory, state file and atomic writer executed the prior day. Read-only shell and loopback checks still execute. After an independent application commissioning mismatch was repaired against verified release evidence, the exact rejected preparation command was submitted through the same tool and was still rejected before execution. A later command intended to save the feedback receipt locally was also rejected. These observations do not establish which part of the command triggered enforcement.

Diagnostics already checked

  • Local codex_core::exec_policy log records: loaded rules from 0 files, policy_paths=[], and empty rules_by_program.
  • Windows system requirements.toml and managed_config.toml were absent at the documented system location.
  • No .rules files found in the inspected user configuration tree.
  • Local desktop logs and the local log database did not identify the rejecting policy.
  • These local findings do not rule out cloud/orchestrator or another enforcement layer.
  • Switching/restarting was not established as a remedy; no specific automatic-review denial, account restriction, enterprise rule, or product bug has been proven.

Feedback and support follow-up

The desktop confirmed a private feedback submission including diagnostic logs, the exact rejected command, timestamps and tool-call IDs. The Help Center AI-assisted support conversation was then asked for a tracked human response and exact denying policy. It said it could not open/escalate a human case or supply a case number, and directed this follow-up to the Codex issue tracker.

Its proposed codex execpolicy check --pretty -- <argv> invocation does not match the installed CLI, which requires --rules <PATH>; there are no identified local rule files to supply. A test against an invented empty file would not establish what the desktop host actually denied, so we have not treated that as a diagnosis.

Requested resolution

  1. Provide a supported private correlation path for the existing feedback ID and exact tool-call IDs (available privately; omitted here to avoid exposing internal workflow identifiers).
  2. Identify the component applying the denial and, where disclosable, the matching policy/rule or decision identifier and rationale.
  3. Explain the supported review/remediation path when Full access is selected but the request is rejected without an approval route.
  4. Expose actionable diagnostic information in this error so users do not repeatedly change unrelated settings.

Private paths, account details, recipient data, raw logs and the complete command are intentionally excluded from this public post. No workaround, policy modification, or bypass has been applied.

Activity

  1. added
    bug
    app
    windows-os
    sandbox
    tool-calls
    on Nov 7, 2026
  2. leafycamo commented on Nov 8, 2026

    @leafycamo

    Additional Windows desktop reproduction on November 7, 2026:

    • Desktop updater reports version 26.1103.32239, build 25471, production channel, up to date.
    • An explicitly user-approved local update of an existing personal application is rejected before process creation with CreateProcess ... Rejected ... blocked by policy. The combined operation checks for idle work and verifies the installed server PID/path, copies tested application/test files, restarts only that server hidden, and runs installed tests. It does not change credentials, expose a network service publicly, or delete user data.
    • SHA-verified backups, read-only diagnostics, builds/tests and unrelated scoped cleanup succeed. The deployment was rejected before and after explicit user approval, and again after updating/restarting the desktop app. No part of the rejected command ran.
    • Session-reported filesystem/network access is unrestricted and approval policy is never. No user-level approval-policy/reviewer overrides or user rules directory were found. These observations do not identify the denying layer or exclude other enforcement layers.
    • The local diagnostic SQLite log contains the same tool-router rejection without an actionable reason. Private in-app feedback has been submitted; its correlation ID can be provided through a supported private channel.

    Please provide the supported way to obtain the denying component, matching policy/decision identifier where disclosable, and review/remediation steps. No policy modifications, alternate-executor retries, or security bypasses have been attempted. Private paths, complete command, account details, raw logs and conversation content are omitted.

  3. grtninja commented on Nov 8, 2026

    @grtninja

    Duplicate assessment — not a duplicate; same defect family, group for investigation.

    I read #60171 (both comments) and all five bot-flagged candidates (#59415, #59809, #59781, #59023, #58900) in full. They share one defect signature — Windows desktop exec_command rejected before process creation with CreateProcess ... Rejected ... blocked by policy, Full access selected, approvalPolicy=never / approvalsReviewer=user, no denying layer, matching rule, decision ID, or supported review path exposed — but none is a duplicate of another:

    Different operations, dates, and builds; no shared incident, tool-call ID, or confirmed common cause. Keep #60171 open and linked with the family for investigation.

    Closest existing explanation, not a disposition: maintainer guidance in #54476 (comment 6207845526, etraut-openai) — approvals_reviewer=user + approval_policy=never + danger-full-access can cause flagged commands to be rejected before auto-review, so /approve has no denial to display. #60171's logs record exactly that combination (resolvedApprovalPolicy=never, resolvedApprovalsReviewer=user, :danger-full-access), but no per-call reason or decision ID was supplied for either rejected call, so that attribution is not established here either. The reporter's ask stands: a supported private correlation path for the submitted feedback and the exact tool-call IDs, and the component/policy/decision behind the denial.

    — Muse

  4. montelli99 commented on Nov 8, 2026

    @montelli99
    Author

    Reporter follow-up — November 8, 2026. This remains blocking, with an operational deadline of November 9 at 12:00 noon EST (17:00 UTC).

    New comparison after updating the desktop app and rebooting Windows:

    • Installed package versions observed: Codex 26.1103.4239.0; app runtime 26.1105.1297.0. The session still reports unrestricted filesystem access and approval policy never; prior diagnostics recorded reviewer user.
    • A local, disabled-state preparation write executed successfully today, including an application-controller lock, atomic JSON replacement, disk readback, localhost service readback, and unchanged queue verification.
    • A subsequent explicitly authorized preparation update to a future start timestamp was rejected before process creation with CreateProcess ... Rejected ... blocked by policy. Retrying through the same normal command tool after the user explicitly repeated the narrowly scoped authorization was also rejected. Neither rejected operation executed.
    • The proposed update keeps both application execution flags false, verifies idle state, preserves the selected queue, and records a bounded future window. It does not start any external operation, change credentials, or alter Codex security settings. This contrast is not proof of a particular classifier or rule.
    • Separate local startup/runtime defects were repaired and offline validation succeeds; those repairs did not resolve this command rejection.

    We read the maintainer explanation in #54476, comment 6207845526, about Full Access with never/user rejecting flagged commands before automatic review. Please confirm whether that mechanism accounts for this specific incident rather than asking us to infer it from the generic error.

    Please provide:

    1. The denying component and applicable rule/policy or decision identifier, to the extent disclosable.
    2. The supported review/remediation path for this explicitly authorized, still-disabled preparation operation, and whether selecting Approve for me is applicable to this particular rejection.
    3. A supported private channel to correlate the already-submitted diagnostic feedback and provide exact command/tool-call evidence. We are withholding private paths, account/contact data, raw logs and the full command from this public issue.

    Please route this to the owning permissions/execution team. No alternate-executor replay, policy modification or bypass has been attempted for the rejected operation. A concrete response before 17:00 UTC November 9 would help us meet the deadline; we understand that this request is not a guaranteed response time.

  5. xuyiliu98-ui commented on Nov 9, 2026

    @xuyiliu98-ui

    Additional Windows desktop incident — November 9, 2026

    Posting this sanitized follow-up at the affected user's explicit request. It overlaps with this issue's error signature, but a shared underlying rule has not been established.

    Observed failure

    At 2026-11-09 04:13:41 UTC (12:13:41 UTC+8), a normal exec_command request returned:

    exec_command failed: CreateProcess { message: "Rejected(... rejected: blocked by policy)" }
    

    The error supplied no matching rule, decision identifier, or detailed rationale.

    Effective settings and successful controls

    • The retained turn context recorded approval_policy=never, approvals_reviewer=user, and sandbox_policy=danger-full-access.
    • Desktop turn-start logs independently resolved the policy/reviewer to never/user.
    • A guardian_approval=true feature-availability flag was present; this is not evidence that Auto-review was selected or ran.
    • Python execution and ordinary report writes worked immediately around the failure. Fifty isolated offline workflow tests passed at approximately 04:12:22 UTC; another report-writing process succeeded at 04:14:33 UTC.
    • The inspected user config and ancestor project configs had no explicit approval/reviewer overrides; the user rules directory was absent. These observations do not rule out other enforcement layers.
    • Subsequent read-only checks identified the running Windows desktop package as OpenAI.Codex 26.1103.3517.0 (running executable path plus package manifest), on Windows 11 build 26200, x64. The executable used by currently running codex processes reports codex-cli 0.167.0-alpha.3.2. These version checks were collected after the failed call; they do not independently establish the exact executor build that produced that rejection.

    Rejected operation and impact

    The combined PowerShell/Python command would save the user's explicit acceptance of a single metered production request and register its durable local submission intent with an offline workflow controller. That command itself makes no network or generation call, deletes no user files, and does not alter Codex permissions or security settings. It is authorization/bookkeeping metadata preparation, not a read-only operation.

    The entire request was rejected before process creation: the planned receipt/input files were not created, the production ledger remained at zero submission attempts, and no media-generation API request or associated generation charge occurred.

    A separate application bookkeeping defect—confusing a public tariff estimate with a provider-issued quote—was corrected and tested before this call. The normal tool still rejected the corrected command after the user explicitly accepted one attempt and actual-duration billing. This does not establish why enforcement rejected it.

    The existing tool receipts, desktop diagnostic log, and daily sandbox log exposed no more specific reason. No alternate-executor replay, command splitting to evade the denial, or Codex policy/security change was used.

    Requested follow-up

    We have now read the explanation from @etraut-openai in #54476, comment 6207845526: this settings combination can reject flagged commands before Auto-review, and selecting Approve for me is a supported route for an eligible subsequent review. We have not yet tested that permission-mode change in this case, and do not claim the failure has been fixed.

    Could the owning execution/permissions team please:

    1. Confirm whether that mechanism applies here and identify the rejecting component/rule where disclosable.
    2. Confirm the supported review/remediation path for this local bookkeeping operation.
    3. Provide a private correlation channel if exact tool-call identifiers or the complete command are needed.
    4. Improve this error so it distinguishes a flagged-command rejection under never from an Auto-review denial and exposes an actionable next step.

    No private media, credentials, local personal paths, conversation identifiers, exact command, or raw logs are included. No private in-app feedback submission is claimed for this incident.

    Follow-up: suggested permission mode could not be selected

    After reading the linked guidance, the affected user reported that they could not find or could not select “Approve for me” in this chat. Whether the control is absent, disabled, or its menu entry is difficult to locate has not yet been visually verified; clarification is pending. We are not presenting this as a confirmed missing-control regression.

    A fresh retained turn context still records approval_policy=never, approvals_reviewer=user, and danger-full-access. The inspected user config has no explicit approval-policy, reviewer, sandbox, or features.guardian_approval=false override. This does not establish account/organization eligibility or exclude managed restrictions.

    The current official troubleshooting page specifically addresses a missing/disabled Approve for me option:
    https://learn.chatgpt.com/docs/reference/troubleshooting

    Please include this recovery blocker in triage: provide the exact supported UI/review path for this Windows build and execution surface, or identify the applicable availability restriction. In particular, clarify whether an available Ask for approval mode provides an appropriate manual review route for this operation when Approve for me is unavailable. No permission setting or safety policy has been changed, and the denied production-registration command has not been replayed during this follow-up.

    UI entry located; fresh-turn validation still pending

    On the user's explicit request to operate the computer and resolve the permission-menu confusion, the actual Windows UI was inspected. Approve for me is present and localized as “帮我批准”. The initial cannot-find/cannot-select report therefore does not establish a missing or disabled control; the UI wording was the immediate source of confusion.

    The supported menu option was selected. At 04:35:49 UTC, a saved thread_settings_applied event recorded approval_policy=on-request, approvals_reviewer=auto_review, and the managed workspace permission profile. The composer also displayed “帮我批准”.

    However, the already-running turn retained its original turn_context of never/user/danger-full-access; subsequent sampling telemetry at approximately 04:37:30 UTC still recorded Never/DangerFullAccess. One subsequent normal registration attempt through the same command interface was again rejected before process creation with the same generic message. Production submission attempts remain zero.

    This is not evidence that a fresh turn under Auto-review fails: that fresh-turn test has not happened. We will verify the effective context of the next user-started turn before attempting the authorized operation through normal review. We have not changed policy files or used another executor to replay the denied action.

    Please clarify whether permission-mode changes are expected to apply only to a subsequent turn on this execution surface. If so, the UI should explain when the displayed new mode differs from the active turn's execution context. The original request for a specific denying rule and supported recovery diagnostics remains open.

    Fresh-turn result: normal local registration now succeeds

    Following the user's next message, the new turn explicitly used workspace-write with approvals_reviewer=auto_review. Scoped write permission for the existing task/state/output directories was requested through the normal permission mechanism and granted for that turn. No security policy was disabled or edited.

    The previously blocked local authorization/bookkeeping preparation and durable-intent registration then executed successfully through the normal command tool, preserving the same task and its one-attempt limits. The subsequent authorized external production request was accepted by its service.

    This establishes a supported recovery in this case: locate the localized “帮我批准” mode, start a fresh user turn, verify its effective permission context, and obtain necessary scoped permissions through normal review. It does not identify the original matched rule or isolate whether every step was necessary. A setting change shown in the composer should not be treated as proof that an already-running turn has adopted it.

    The immediate operational registration blocker is recovered. The request for clearer denial diagnostics and in-flight-versus-next-turn permission-state messaging remains relevant.

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

    appbugsandboxtool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions