


























1
Ran Get-Command bat -ErrorAction SilentlyContinue | Select-Object -ExpandProperty Source
└ execution error: Io(Custom { kind: Other, error: “windows sandbox: runner error: CreateProcessAsUserW failed:
1312” })
codex在运行的时候总是出现这样的问题,我是在pwsh中启动的codex
配置文件:
model_provider = "OpenAI"
model = "gpt-5.5"
review_model = "gpt-5.4"
model_reasoning_effort = "high"
disable_response_storage = true
network_access = "enabled"
windows_wsl_setup_acknowledged = true
model_context_window = 1000000
model_auto_compact_token_limit = 900000
service_tier = "fast"
notify = [ "C:\\Users\\用户名\\AppData\\Local\\OpenAI\\Codex\\runtimes\\cua_node\\1b23c930b\\bin\\node_modules\\@oai\\sky\\bin\\windows\\codex-computer-use.exe", "turn-ended" ]
sandbox_mode = "workspace-write"
personality = "pragmatic"
[model_providers.OpenAI]
name = "OpenAI"
base_url = "url"
wire_api = "responses"
[marketplaces.openai-bundled]
last_updated = "2026-06-01T13:31:41Z"
source_type = "local"
source = "\\\\?\\C:\\Users\\用户名\\.codex\\.tmp\\bundled-marketplaces\\openai-bundled"
[marketplaces.openai-primary-runtime]
last_updated = "2026-06-25T11:29:30Z"
source_type = "local"
source = '\\?\C:\Users\用户名\.cache\codex-runtimes\codex-primary-runtime\plugins\openai-primary-runtime'
[notice]
fast_default_opt_out = true
[notice.model_migrations]
"gpt-5.3-codex" = "gpt-5.4"
[plugins."chrome@openai-bundled"]
enabled = true
[plugins."documents@openai-primary-runtime"]
enabled = true
[plugins."presentations@openai-primary-runtime"]
enabled = true
[plugins."spreadsheets@openai-primary-runtime"]
enabled = true
[plugins."claude-code-setup@claude-plugins-official"]
enabled = true
[plugins."frontend-design@claude-plugins-official"]
enabled = true
[plugins."latex@openai-bundled"]
enabled = true
[plugins."github@openai-curated"]
enabled = true
[plugins."computer-use@openai-bundled"]
enabled = true
[plugins."cloudflare@openai-curated"]
enabled = true
[plugins."browser@openai-bundled"]
enabled = true
[plugins."pdf@openai-primary-runtime"]
enabled = true
[plugins."template-creator@openai-primary-runtime"]
enabled = true
[shell_environment_policy]
inherit = "core"
[tui.model_availability_nux]
"gpt-5.5" = 4
[windows]
sandbox = "elevated"
langhun (狼魂) 2
以管理员身份启动pwsh终端试试,
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。