Skip to content

Windows desktop: source-generation command rejected as “blocked by policy” without explanation #57566

Open

Description

@fwca-geo

Summary

On October 27, 2026, around 4:29 PM Eastern, a command-execution request in the Windows Codex desktop app was rejected before process creation. The returned error provided no actionable reason or review identifier.

Actual result

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

This is the retained abbreviated error; the full original command is not available in the retained record.

Intended operation

The user had authorized preparation of local application source files. A PowerShell here-string was to be piped to the bundled Python executable to copy five existing source files into a draft upgrade folder and generate proposed usage-limit and future token-reader source code. The operation was not intended to read a real token, contact a provider, or deploy to staging. The process did not start.

Environment and observations

  • Windows desktop app; exact app version and Windows build not yet collected.
  • Project workspace is on an SMB network share, also mapped as a drive.
  • Read-only source commands succeeded before the rejection.
  • After restarting the client computer and subsequently the file server, basic command execution and a read-only workspace check succeeded.
  • The rejected operation has not been rerun; these successful checks do not establish that the restriction was cleared.
  • No denial rationale, policy-layer identification, process/session ID, or approval-request ID was returned with the rejection.
  • No evidence identifies the network share, token-related source text, sandbox, or automatic reviewer as the cause.

Feedback reference

In-app feedback was successfully submitted. Feedback ID: 01a14fe0-5e9c-77b0-a3dc-06b0657aba02

Expected result / request

Please identify the enforcement layer and explain the supported next step for this rejection. If the action should remain blocked, provide an actionable reason. If this was an incorrect denial, provide the supported remediation. We are not requesting a bypass or weaker security settings.

Reproduction limits

Observed once. The complete original command was truncated in the retained record, so an exact reproducer is currently unavailable. No credentials, private files, or raw logs are attached.

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