Repository navigation
Description
Summary
The ChatGPT Windows desktop Work command executor cannot start even a read-only environment query. Its MXC launcher rejects the desktop-selected PowerShell executable inside the OpenAI PrimaryRuntime MSIX package before the command body executes. This blocks fresh command-network and SSH diagnostics.
The user explicitly authorized this sanitized report on November 8, 2026 America/Chicago.
Verified environment
- Native Windows local Work execution using the desktop-selected PowerShell.
- Selected package identity/version visible in the launcher diagnostic:
OpenAI.CodexPrimaryRuntime.v26-1104-709-0, package version26.1104.709.0. - Selected executable suffix:
dependencies\\native\\powershell\\pwsh.exeinside that package. - Local app-server version reported in desktop logs:
0.167.0-alpha.3.2. - Exact desktop application package version/build, Windows edition/build and bundled PowerShell version have not been independently verified.
Reproduction
- Use the Windows desktop Work environment with workspace file restrictions and local network access enabled in the UI.
- Ask for a read-only command that returns the current time and presence/value of the command-network-disable/managed-proxy flags. No network request, credential read or system mutation is required.
- The selected PowerShell never starts. The tool reports exit 1 with this diagnostic (private path replaced by a placeholder):
MXC launcher: The target executable '<OpenAI PrimaryRuntime MSIX package>\\dependencies\\native\\powershell\\pwsh.exe' appears to be a packaged (MSIX) app. Packaged apps cannot be launched inside a sandboxed container.
No environment-query result is produced, so this attempt does not establish the current network flags or SSH reachability.
Already observed
- The user fully quit/reopened the desktop app; the launcher refusal remained.
- The user completed Windows application Repair; the same read-only command continued failing before execution.
- Selecting the existing system Windows PowerShell executable through the command tool's shell parameter was rejected by the execution environment with
only supports powershell. That attempt did not launch an alternative shell. - A later temporary Full access comparison was attempted at the user's request, but the tool still invoked MXC and refused the packaged executable. The effective permission change could not be verified. This is an inconclusive comparison, not proof that correctly applied Full access also fails.
- Read-only desktop-log summaries show primary runtime selection
runtimeSource=framework,reason=framework-activeon the two recent launches. During one launch an archive bundle installation for26.1104.22356reported installed, followed by framework selection; a previous-runtime cleanup also logged EPERM. These are temporal observations only, not a demonstrated cause.
Separate connection evidence
The desktop application's own saved SSH connection can connect when the user revisits Connections: remote path/version/bootstrap probes return 0 and the app reaches connected. Its delayed startup auto-connect behavior is separately reported in #59931. Successful app-managed SSH does not prove command-executor networking is available, and this report does not assert a shared root cause.
Expected result / requested guidance
The desktop-selected shell should start under the intended sandbox permissions, or the app should provide a supported runtime/shell selection repair. Please clarify whether the MSIX framework activation and MXC executable-selection paths are compatible, and which supported desktop/runtime build resolves this refusal while preserving workspace and network policy.
No private runtime directory was modified, no package was uninstalled/replaced, and no sandbox bypass, credential/trust change or server change was performed. Private paths, host identities, account/conversation identifiers, credentials and raw logs are omitted.
Activity
yao-charlie commentedon Nov 11, 2026
Drafted by Sol 6.1 High:
I’m seeing the same MXC refusal with Computer Use on Windows desktop build 26.1106.6628.0. The first call, await cua.getApp("Calculator"), exits with code 1 before selecting an app. MXC rejects app\resources\cua_node\bin\node.exe under the Codex WindowsApps package with “Packaged apps cannot be launched inside a sandboxed container.”
My last successful Computer Use session ran from the per-user cache. On the failing attempt, %LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\76f5b5935a63c7ba\bin\node.exe had already been present for about 23 minutes when the launcher selected the packaged copy. Is there a supported repair or a build that fixes runtime selection for Computer Use?
Kseoklab commentedon Nov 16, 2026
I’m experiencing the same issue on Windows. ChatGPT cannot run PowerShell commands in the connected computer environment and returns:
Packaged apps cannot be launched inside a sandboxed container.
Restarting Windows did not resolve it. Is there a fix or workaround?
mdruy commentedon Nov 25, 2026
Additional data point for the packaged PowerShell path. On Windows 11 26H2 build 26300.10075, desktop MSIX 26.1120.6357.0 and PrimaryRuntime 26.1123.915.0, a read-only command started successfully in a local Codex session. It ran PowerShell 7.6.9 under the same
dependencies\native\powershell\pwsh.exepackage layout. An explicit System32 PowerShell 5.1 child also ran, although requesting that executable as the outer shell still gave me the packaged host. This checks a later Codex launcher path. The Work MXC refusal reported here and the independent packaged Node rejection remain separate cases. Could maintainers compare the executable eligibility checks for those surfaces and state the supported fallback if a package executable is rejected before command startup?JZHANG-484088 commentedon Dec 1, 2026
I encountered a similar Windows 11 desktop execution failure on December 2, 2026 (UTC+8), and recovered without resetting application data.
Environment: Desktop MSIX version referenced by the configuration:
26.1120.6357.0; PrimaryRuntime before repair:26.1123.915.0; after repair:26.1130.1169.0(x64, verified from the package manifest). PowerShell after repair:7.6.9.Observed:
The terminal failed before command execution, and desktop computer-use tools failed to connect. Restarting Windows did not resolve the issue.
Successful recovery in my environment: Windows Settings > Apps > Installed apps > ChatGPT > Advanced options > Terminate, then Repair (not Reset). Reopen ChatGPT and start a fresh Codex conversation. The runtime version had changed,
Get-Datereturned exit code 0, and desktop window enumeration and read-only accessibility inspection succeeded. Interactive desktop actions were not tested. No Windows reinstall, application reset, manual package replacement, or sandbox bypass was used.The underlying cause is not established; the runtime update and Repair occurred together, so their individual effects are not isolated. A separate default sandbox network restriction was subsequently diagnosed and resolved (see #53278). I hope these recovery observations help the investigation.