You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows attached executor rejects read-only commands: registered Core owns sandbox accounts; legacy provisioning is not permitted #60582
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingtool-callsIssues related to tool callingwindows-osIssues related to Codex on Windows systems
On 2026-11-10, a cloud-coordinated task attached to an existing connected Windows desktop environment successfully, but its first shell process could not start. A second, minimal read-only smoke command reproduced the same failure.
Reproduction observed
Attach an existing cloud child task to the connected Windows desktop through the supported environment attachment tool. Attachment returns attached; environment discovery reports connected.
Run an ordinary read-only PowerShell directory listing through exec_command.
Run the smaller smoke command Write-Output 'sandbox-readonly-smoke' through the same default execution route.
Both fail before a process starts:
Failed to create unified exec process:
exec-server rejected request (-32603):
registered Core owns these sandbox accounts; legacy provisioning is not permitted
Environment and scope
Windows desktop, PowerShell; exact Windows build and full desktop application version not verified because shell startup is blocked.
The user had completed a desktop app update immediately before these checks.
Tool discovery advertised codex-app-tools version 26.1103.60933; this is a plugin version, not a claim about the application or executable version.
Existing task-history reads and environment discovery still succeed. Whether all native local threads have the same shell failure is not yet established.
Expected result
A supported attached task should use the registered Core execution/provisioning route, or return an actionable supported recovery step. A trivial permitted command should not be routed into forbidden legacy provisioning.
Recovery and safety
No sandbox accounts, ACLs, registry, permissions, credentials, service configuration, or security settings were changed. No unrestricted execution fallback was attempted. No raw logs, private paths, source code, conversations, device/account IDs, or user data are attached.
Searches found related Windows Core/setup reports such as #47383 and #60057, but not this exact attached-executor error. Please advise the supported recovery that preserves the current sandbox and existing tasks.
I can reproduce this attached Windows executor failure while ordinary native local commands work. The user authorized these diagnostics and publication of this sanitized report.
Environment
Windows 11 Home, x64, version 10.0.26200.
Microsoft Store package OpenAI.Codex 26.1103.7773.0; package status OK, Store signature.
The configured Desktop update channel reported up_to_date.
Actual cloud-connected failure
At approximately 09:00 CST on November 11, a minimal PowerShell Write-Output command in the original connected-computer route failed before process launch with:
registered Core owns these sandbox accounts; legacy provisioning is not permitted
This was after official Core provisioning had succeeded and the registered ready_package had been updated to match the installed package. Ordinary native local PowerShell commands still execute successfully.
The corresponding sandbox log records this request at 09:00:48:
Windows GetPackageFullName on both fresh Desktop workers returns 15700 / APPMODEL_ERROR_NO_PACKAGE. Their executable is the app-managed copied runtime.
CODEX_CLI_PATH and CODEX_EXEC_SERVER_PATH are absent in Process, User and Machine scopes. Runtime selection is source=copied, not source=override.
SHA-256 comparisons show that copied codex.exe, codex-windows-sandbox-setup.exe and codex-command-runner.exe are byte-identical to the corresponding current package files; all copied signatures are valid. This checks file identity, not Windows package identity.
Controlled recovery attempts and their limits
Started the existing official sandbox service and performed official elevated setup through a fresh, genuine installed-package process using the matching packaged app-server. setupCompleted returned success=true, error=null.
In that package context, a read-only command using temporary proxy environment settings for ports 3128/8081 and local binding succeeded. An unpackaged official app-server could then execute with those same settings while the marker matched.
Returning to the ordinary empty-proxy local context triggered the reverse settings mismatch and an ownership failure. The ordinary local settings were restored through the official Core interface, and local execution recovered.
Temporarily tested unelevated with user permission. Ordinary/proxy-variable/ordinary-again local tests passed, but these tests did not create a real cloud managed proxy or prove enforce_managed_network=true. Version-matched source explicitly rejects unelevated when managed networking is enforced, so this was not treated as a cloud fix. The setting was restored to elevated.
One complete Desktop restart did not change the Legacy runtime selection. A post-restart local command/exec reproduction of the same proxy-settings mismatch still returned:
orchestrator_helper_exit_nonzero: setup helper exited with status Some(1)
The post-restart command/exec test is a local settings-reconciliation reproduction, not a new observation of the actual cloud route. The actual cloud error above was observed at 09:00 after successful Core registration but before that restart.
Assessment and request
The evidence is consistent with existing RegisteredCore ownership conflicting with a connected execution path that selects Legacy. It does not establish which feature-selection or provisioning component is the root cause.
Please provide a supported recovery that aligns the attached executor with the registered Core route, or identify a fixed Desktop release. A procedure preserving existing conversations, configuration and projects is needed. No reliable reinstall/downgrade recovery for this exact error was found in the related reports.
No manual registry, ACL or sandbox-account edits were made; no binaries or hidden feature gates were patched. Official setup did update sandbox state, as described above. The current state is elevated, the service is running, and local execution works. No credentials, user/device IDs, private paths, raw conversations or full logs are included.
Follow-up: isolated minimal user configuration test
On November 11 I also tested the Chinese-community workaround of recreating config.toml, using an isolated minimal user configuration rather than deleting existing data:
Same Codex home, executable, working directory and elevated mode.
Started one temporary official stdio app-server with --strict-config. Its minimal configuration contained only ordinary approval/sandbox settings and system-proxy support.
Restored the original config bytes immediately after initialize, before running commands against that server's loaded configuration snapshot. No permissionProfile reload was requested.
Read-only ordinary command: exit 0.
Read-only proxy-settings reproduction (3128/8081, local binding): failed before launch with the exact error:
registered Core owns these sandbox accounts; legacy provisioning is not permitted
The original configuration was verified byte-for-byte restored, and local execution still succeeds. Existing Desktop/app-server/exec-server processes retained their original start times; no further Desktop restart was performed.
This excludes the original user-config contents as the sufficient cause of this controlled reproduction. It does not exclude system/cloud/project configuration layers and is not a fresh cloud managed-network test. Recreating user configuration did not provide a recovery here.
Desktop-managed app-server version previously observed in local logs: 0.167.0-alpha.4.1.
Existing native local shell commands work. A local native read of the intended Codex chat also returned successfully.
Attached-route failure, reported from the Dot call record
Dot's exec_command invocation of the read-only command Get-Location failed during process creation with:
registered Core owns these sandbox accounts; legacy provisioning is not permitted
The actual executable path for that failed invocation was not available. This diagnostic did not repeat the failing command through Dot.
Read-only evidence collected on this desktop
The Dot device page reports this computer online and access allowed.
CodexSandboxService.OpenAI.Codex is Running, with ExitCode 0.
An existing RegisteredCore registration is present.
The current desktop startup log records coreGateEnabledAtStartup=false, selectedRuntimeSource=bundled, and coreRuntimeInUse=false. The observed app-server and remote exec-server use desktop-managed copied runtime executables.
At 14:34:16, 14:46:38, 14:54:42, and 15:04:13 local time, the existing sandbox log records a settings mismatch: stored ports [10810], requested ports [3128, 8081], and local binding false -> true.
These facts resemble the earlier attached-executor report, but there is no exact request correlation proving that a particular mismatch entry belongs to the failed Get-Location call. No root cause is asserted.
Separate unresolved symptom
Two Dot codex_app.send_message_to_thread calls and subsequent native status/host discovery queries were reported as remaining pending without a success/error receipt. The two sends remain outcome-unknown and have not been retried during this diagnostic. We have not established that this symptom shares the provisioning failure's cause.
Requested guidance
Please identify a supported recovery or fixed desktop release that aligns attached execution with the registered Core route while preserving existing tasks and security settings. Guidance for correlating pending Dot native-tool calls would also help.
No restart, process termination, configuration change, registry/ACL/account modification, credential read, or fresh failing-route reproduction was performed during this diagnosis. This comment contains no conversation text, user-specific paths, account/device/chat identifiers, credentials, raw logs, or attachments.
Windows Dot: sandbox provisioning blocked by registered Core
Environment: Windows 11 Pro build 22631; Codex desktop 26.1111.21308 (build 27194), Store package 26.1111.2228.0; CLI 0.169.0-alpha.11.1. Windows sandbox mode is elevated. Codex home and runtime are stored on D: through junctions at their original C: paths.
Dot cannot execute even Get-Location on the connected Windows PC. Managed networking requests ports 3128/8081 and local binding, triggering sandbox setup. Setup fails before PowerShell starts:
registered Core owns these sandbox accounts; helper provisioning is not permitted
The desktop selects the legacy runtime while registered Core owns the sandbox accounts.
Please provide a supported fix that aligns runtime selection with Core ownership while preserving existing data, D: storage, and sandbox protections.
Could the Windows desktop app support selecting a custom app-server for local model conversations while leaving Local Work and its Windows sandbox on the runtime selected by the installed app? If a supported setting already exists for the existing Windows local profile, please point us to it and its applicable release.
On Windows x64 with the Store package OpenAI.Codex 26.1120.6357.0, we started Desktop with a custom CLI selected through CODEX_CLI_PATH. In the same Desktop run, its local app-server and its remote Local Work exec-server both used that custom binary. Local Work connected, but an attached Dot request for Get-Location was rejected before PowerShell started with error -32603: “registered Core owns these sandbox accounts; legacy provisioning is not permitted”. Get-Location in an ordinary local chat succeeded.
The installed package advertises app-contained Core. On this build, a non-blank CODEX_CLI_PATH prevented the app-contained Core selection branch from being taken. Could Desktop provide a model-only app-server setting that leaves Local Work runtime selection and sandbox authorization unchanged? This is an additional reproduction with an explicit override. We have not established that other reports in this issue have the same cause.
We can validate a documented route or a fixed release by checking both operations in one launch: the selected model and effort produce a reply in the same GUI turn, and the attached Dot Get-Location command returns the directory using the app-selected executor.
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingtool-callsIssues related to tool callingwindows-osIssues related to Codex on Windows systems
Activity
sandwither commentedon Nov 11, 2026
Additional reproduction — 2026-11-11
I can reproduce this attached Windows executor failure while ordinary native local commands work. The user authorized these diagnostics and publication of this sanitized report.
Environment
Actual cloud-connected failure
At approximately 09:00 CST on November 11, a minimal PowerShell Write-Output command in the original connected-computer route failed before process launch with:
This was after official Core provisioning had succeeded and the registered ready_package had been updated to match the installed package. Ordinary native local PowerShell commands still execute successfully.
The corresponding sandbox log records this request at 09:00:48:
Verified current state
CodexSandboxService.OpenAI.Codex is Running, exit code 0.
RegisteredCore runtime.ready_package matches the installed OpenAI.Codex 26.1103.7773.0 package; retiring is null.
A complete Desktop restart created new app-server and exec-server processes. The fresh startup log at 09:19:26 still records:
Windows GetPackageFullName on both fresh Desktop workers returns 15700 / APPMODEL_ERROR_NO_PACKAGE. Their executable is the app-managed copied runtime.
CODEX_CLI_PATH and CODEX_EXEC_SERVER_PATH are absent in Process, User and Machine scopes. Runtime selection is source=copied, not source=override.
SHA-256 comparisons show that copied codex.exe, codex-windows-sandbox-setup.exe and codex-command-runner.exe are byte-identical to the corresponding current package files; all copied signatures are valid. This checks file identity, not Windows package identity.
Controlled recovery attempts and their limits
Started the existing official sandbox service and performed official elevated setup through a fresh, genuine installed-package process using the matching packaged app-server. setupCompleted returned success=true, error=null.
In that package context, a read-only command using temporary proxy environment settings for ports 3128/8081 and local binding succeeded. An unpackaged official app-server could then execute with those same settings while the marker matched.
Returning to the ordinary empty-proxy local context triggered the reverse settings mismatch and an ownership failure. The ordinary local settings were restored through the official Core interface, and local execution recovered.
Temporarily tested unelevated with user permission. Ordinary/proxy-variable/ordinary-again local tests passed, but these tests did not create a real cloud managed proxy or prove enforce_managed_network=true. Version-matched source explicitly rejects unelevated when managed networking is enforced, so this was not treated as a cloud fix. The setting was restored to elevated.
One complete Desktop restart did not change the Legacy runtime selection. A post-restart local command/exec reproduction of the same proxy-settings mismatch still returned:
The post-restart command/exec test is a local settings-reconciliation reproduction, not a new observation of the actual cloud route. The actual cloud error above was observed at 09:00 after successful Core registration but before that restart.
Assessment and request
The evidence is consistent with existing RegisteredCore ownership conflicting with a connected execution path that selects Legacy. It does not establish which feature-selection or provisioning component is the root cause.
Please provide a supported recovery that aligns the attached executor with the registered Core route, or identify a fixed Desktop release. A procedure preserving existing conversations, configuration and projects is needed. No reliable reinstall/downgrade recovery for this exact error was found in the related reports.
No manual registry, ACL or sandbox-account edits were made; no binaries or hidden feature gates were patched. Official setup did update sandbox state, as described above. The current state is elevated, the service is running, and local execution works. No credentials, user/device IDs, private paths, raw conversations or full logs are included.
Related source for the managed-network limitation:
https://github.com/openai/codex/blob/rust-v0.167.0-alpha.3.2/codex-rs/exec-server/src/process_sandbox_tests.rs
Follow-up: isolated minimal user configuration test
On November 11 I also tested the Chinese-community workaround of recreating config.toml, using an isolated minimal user configuration rather than deleting existing data:
Same Codex home, executable, working directory and elevated mode.
Started one temporary official stdio app-server with --strict-config. Its minimal configuration contained only ordinary approval/sandbox settings and system-proxy support.
Restored the original config bytes immediately after initialize, before running commands against that server's loaded configuration snapshot. No permissionProfile reload was requested.
Read-only ordinary command: exit 0.
Read-only proxy-settings reproduction (3128/8081, local binding): failed before launch with the exact error:
The original configuration was verified byte-for-byte restored, and local execution still succeeds. Existing Desktop/app-server/exec-server processes retained their original start times; no further Desktop restart was performed.
This excludes the original user-config contents as the sufficient cause of this controlled reproduction. It does not exclude system/cloud/project configuration layers and is not a fresh cloud managed-network test. Recreating user configuration did not provide a recovery here.
Zeider-Lliu commentedon Nov 13, 2026
Additional observation — Windows desktop, 2026-11-13 (UTC+8)
The user authorized publication of this sanitized diagnostic summary.
Observed environment
Attached-route failure, reported from the Dot call record
Dot's
exec_commandinvocation of the read-only commandGet-Locationfailed during process creation with:The actual executable path for that failed invocation was not available. This diagnostic did not repeat the failing command through Dot.
Read-only evidence collected on this desktop
CodexSandboxService.OpenAI.Codexis Running, with ExitCode 0.coreGateEnabledAtStartup=false,selectedRuntimeSource=bundled, andcoreRuntimeInUse=false. The observed app-server and remote exec-server use desktop-managed copied runtime executables.These facts resemble the earlier attached-executor report, but there is no exact request correlation proving that a particular mismatch entry belongs to the failed
Get-Locationcall. No root cause is asserted.Separate unresolved symptom
Two Dot
codex_app.send_message_to_threadcalls and subsequent native status/host discovery queries were reported as remaining pending without a success/error receipt. The two sends remain outcome-unknown and have not been retried during this diagnostic. We have not established that this symptom shares the provisioning failure's cause.Requested guidance
Please identify a supported recovery or fixed desktop release that aligns attached execution with the registered Core route while preserving existing tasks and security settings. Guidance for correlating pending Dot native-tool calls would also help.
No restart, process termination, configuration change, registry/ACL/account modification, credential read, or fresh failing-route reproduction was performed during this diagnosis. This comment contains no conversation text, user-specific paths, account/device/chat identifiers, credentials, raw logs, or attachments.
liuhon33 commentedon Nov 13, 2026
Windows Dot: sandbox provisioning blocked by registered Core
Environment: Windows 11 Pro build 22631; Codex desktop 26.1111.21308 (build 27194), Store package 26.1111.2228.0; CLI 0.169.0-alpha.11.1. Windows sandbox mode is elevated. Codex home and runtime are stored on D: through junctions at their original C: paths.
Dot cannot execute even Get-Location on the connected Windows PC. Managed networking requests ports 3128/8081 and local binding, triggering sandbox setup. Setup fails before PowerShell starts:
registered Core owns these sandbox accounts; helper provisioning is not permitted
The desktop selects the legacy runtime while registered Core owns the sandbox accounts.
Please provide a supported fix that aligns runtime selection with Core ownership while preserving existing data, D: storage, and sandbox protections.
M-T-D-N commentedon Dec 2, 2026
Could the Windows desktop app support selecting a custom app-server for local model conversations while leaving Local Work and its Windows sandbox on the runtime selected by the installed app? If a supported setting already exists for the existing Windows local profile, please point us to it and its applicable release.
On Windows x64 with the Store package OpenAI.Codex 26.1120.6357.0, we started Desktop with a custom CLI selected through CODEX_CLI_PATH. In the same Desktop run, its local app-server and its remote Local Work exec-server both used that custom binary. Local Work connected, but an attached Dot request for Get-Location was rejected before PowerShell started with error -32603: “registered Core owns these sandbox accounts; legacy provisioning is not permitted”. Get-Location in an ordinary local chat succeeded.
The installed package advertises app-contained Core. On this build, a non-blank CODEX_CLI_PATH prevented the app-contained Core selection branch from being taken. Could Desktop provide a model-only app-server setting that leaves Local Work runtime selection and sandbox authorization unchanged? This is an additional reproduction with an explicit override. We have not established that other reports in this issue have the same cause.
We can validate a documented route or a fixed release by checking both operations in one launch: the selected model and effort produce a reply in the same GUI turn, and the attached Dot Get-Location command returns the directory using the app-selected executor.