Skip to content

“CreateProcess: Rejected: blocked by policy” error #51644

Open

Description

@jayceebasa

{
"diagnostic": "harmless generated PowerShell process probe",
"marker": "CODEX_HARMLESS_POLICY_PROBE_20261007",
"executionExitCode": 0,
"actualProcessArgv": [
"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe",
"-NoProfile",
"-Command",
"try { [Console]::OutputEncoding=[System.Text.Encoding]::UTF8 } catch {}\n$ErrorActionPreference='Stop'\n[pscustomobject]@{marker='CODEX_HARMLESS_POLICY_PROBE_20261007';argv=[Environment]::GetCommandLineArgs();powershellEdition=$PSVersionTable.PSEdition;languageMode=[string]$ExecutionContext.SessionState.LanguageMode;exitIntent=0}|ConvertTo-Json -Depth 4 -Compress"
],
"argvSource": "Environment.GetCommandLineArgs in the harmless process; not reconstructed from historical command source",
"powershellEdition": "Desktop",
"languageMode": "FullLanguage",
"localPolicyEvaluation": {
"rules": [
"C:/Users/JAYCEE/.codex/rules/default.rules"
],
"exitCode": 0,
"result": {
"matchedRules": []
},
"scope": "Current explicitly supplied local rule file only; not historical or managed-policy clearance"
},
"logging": {
"path": "C:/Users/JAYCEE/.codex/diagnostic-logs/codex-tui.log",
"exists": true,
"wholeLogProbeMarkerMatchesAtInspection": 0
},
"conclusions": {
"harmlessPatternWorks": true,
"originalRejectionsReproduced": false,
"originalBlockingCauseKnown": false,
"originalOperationsRetried": false
},
"safety": {
"credentialsRead": false,
"securityControlsChanged": false,
"cloudActions": false,
"deletedFiles": false,
"deployed": false
}
}

Activity

  1. added
    bug
    CLI
    windows-os
    sandbox
    tool-calls
    on Oct 7, 2026
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

    CLIbugsandboxtool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions