Skip to content

Windows Codex isolated service launch blocked by policy #44695

Open

Description

@Damon-chao

Problem

In the Codex desktop app on Windows, a request to start isolated Docker services for pre-release testing was rejected with:

exec_command failed: CreateProcess … rejected: blocked by policy

The rejection occurred before the command executed. No browser automation was involved.

Test environment

  • Web binding: 127.0.0.1:23015 only
  • Dedicated Docker network with Internal=true
  • Isolated PostgreSQL database and dedicated storage
  • No production database connection or production directory mounts
  • Existing verified image; no rebuild

The launch remained blocked after the isolation configuration was revised. Further attempts have stopped. The exact blocking rule is unknown.

Expected behavior

Allow the isolated test if permitted, or provide an actionable explanation of the restriction and a supported recovery path.

Environment

  • Windows desktop
  • Codex desktop app; exact version not yet collected
  • Incident date: September 11, 2026, Beijing time (UTC+8)

Feedback ID

01a05c87-7673-73c0-a81c-69d4cdff6b0a

Please help identify the rejecting component and determine whether this is a false positive. I am not requesting a bypass of safety controls.

Activity

  1. added
    bug
    app
    windows-os
    sandbox
    tool-calls
    on Sep 11, 2026
  2. Firefulcar commented on Sep 27, 2026

    @Firefulcar

    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.

  3. Solve4x-ai commented on Oct 29, 2026

    @Solve4x-ai

    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:

    1. Creating a per-user TPM-backed application identity.
    2. Exporting its public identity.
    3. Registering the application’s per-user launch handler.
    4. 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.
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