Skip to content

Windows: Local CreateProcess command blocked by policy without explanation #58550

Open

Description

@leticiamanrique1

Bug description

While using Codex Desktop on Windows, a local command intended to create two JSON evidence files inside the project workspace was rejected before execution.

Error message:
CreateProcess: blocked by policy

The operation was part of a controlled software development verification process.

The command did not require network access, credential access, file deletion, permission changes, or production modifications.

The specific policy rule responsible for the rejection was not provided.

Environment

  • Client: Codex within ChatGPT Desktop
  • Operating system: Windows
  • ChatGPT application version: 26.1013.4894.0
  • Independent Codex version: Not identified
  • Feedback ID: 01a15e90-3254-7470-821a-d7e82a9c54c7

Technical information

  • Error timestamp: 2026-10-31T02:38:30.071Z
  • Operation: Local creation of two JSON evidence files
  • Result: Rejected before execution
  • Policy explanation: Not provided
  • Review or approval identifier: Not provided

Expected behavior

The permitted local file operation should execute successfully, or Codex should provide a clear explanation identifying the restriction and the appropriate review or approval procedure.

Actual behavior

Codex rejected the operation with blocked by policy, without identifying the specific restriction or explaining how to request a review.

The verification workflow remained incomplete, and the temporary evidence subsequently expired.

I have not retried the rejected operation or attempted to bypass the restriction.

Request

Could the Codex team please:

  1. Identify the policy restriction responsible for this rejection?
  2. Clarify whether the operation can be reviewed or explicitly authorized?
  3. Explain the supported procedure for resolving this issue without broadening permissions or bypassing security controls?

The original feedback was already submitted through Codex using the feedback ID provided above.

Thank you for your assistance.

Activity

  1. added
    bug
    app
    windows-os
    sandbox
    on Oct 31, 2026
  2. gggroma commented on Nov 3, 2026

    @gggroma

    I encountered the same Windows Codex desktop denial on 2026-11-03 during a user-authorized cleanup. The workspace reported danger-full-access and approval_policy=never. A PowerShell Remove-Item -LiteralPath command targeting three verified task-owned temporary artifacts inside the active workspace was rejected before process creation with only “blocked by policy”; PowerShell never ran. A pre-existing temporary directory was explicitly excluded. Updating the agent cleanup instructions did not change the runtime result.

    Please identify the enforcing policy layer and provide an actionable, supported way to review or allow a narrowly scoped, user-authorized cleanup. I am asking for correct diagnostics and a supported remedy, not a general security bypass. I also reported this through OpenAI Help Support, but its assistant said it could not create a case or escalate to a human.

  3. zbw19810914-boop commented on Nov 5, 2026

    @zbw19810914-boop

    I have five additional recorded Windows Codex desktop cases where development operations were rejected before process creation with “CreateProcess … rejected: blocked by policy”:

    • Creating a synthetic transport-test helper.
    • Preparing candidate corrections, an environment helper, and synthetic contract tests.
    • Preparing and running a synthetic manifest/browser validation.
    • Preparing and running focused source/browser tests.
    • Preparing and running compiled-output validation after a successful isolated build.

    The saved records report that these rejected batches did not execute. No specific policy rule, review ID, or supported approval entry was returned. The blocked operations were stopped without equivalent retries through another command, path, tool, or executor.

    In-app feedback was submitted on 2026-11-02 at approximately 09:43 UTC and on 2026-11-03 at 08:16:33 UTC. The displayed feedback ID was 01a124f7-5d46-7cb2-9e02-7e7a4f55594e. This equals the session ID; no separate case number was shown.

    Could the team identify the enforcing layer and advise on the supported review procedure for these recorded calls? I have seen the explanation in #54476, but the historical approval-policy, reviewer, and sandbox settings for these five cases have not been verified, so I cannot confirm that the same cause applies.

    Evidence limits: exact rejection timestamps, full original commands, and per-call identifiers are incomplete. The current app version, subscription, and Windows build have not yet been verified. This is a historical evidence summary, not a freshly reproduced test. No project source, personal records, credentials, or raw logs are attached.

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

    appbugsandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions