Repository navigation
Description
What version of the Codex App are you using?
Desktop product 26.1013.31256; Windows package OpenAI.Codex 26.1013.3656.0; active bundled core 0.163.0-alpha.10.2. Versions were read from installed metadata and the active bundled executable after a full app quit/reopen.
What subscription do you have?
Not included in this public report; can provide privately if needed.
What platform is your computer?
Windows x64. PowerShell OSVersion: Microsoft Windows NT 10.0.26300.0.
What issue are you seeing?
A fresh task created by Your dot on its connected Windows computer fails before it can read a browser page title:
node_repl kernel exited unexpectedly
Error: failed to prepare MXC sandbox: MXC requires nonempty Unicode host SystemDrive
The task started with workspace-write and automatic approval review. Its first browser call failed. It made no permission changes and tried no alternate route.
This persists after updating and fully restarting the desktop app. A direct local chat on the same computer, tested after that restart with restricted workspace-write permissions, successfully initialized the browser controller, opened example.com, and read Example Domain.
The Windows host has a nonempty SystemDrive value. The new diagnostic explicitly reports that the value is unavailable at MXC preparation on the DOT route.
What steps can reproduce the bug?
- Have Your dot create a fresh task on its connected Windows computer.
- Leave the task's default workspace-write permissions and automatic approval review in place.
- Ask the supported local browser tool to open https://example.com/ and report its title.
- Observe the SystemDrive error above and Node kernel exit before a title is returned.
This was a newly created DOT task after the update, not continuation of an old failed chat.
What is the expected behavior?
DOT-created tasks should initialize the Windows browser controller and read the page title under their assigned permissions, as the direct local chat does.
Additional information
- Manually switching affected chats to Full Access has been a working workaround in this installation. DOT-created tasks start with Custom/workspace-write despite a saved Full Access preference.
- The earlier installed core, 0.162.0-alpha.17.2, reported the less specific
MXC launcher: cannot locate required Windows platform directory: HRESULT 0x80070003. The updated core exposes the missing SystemDrive directly. - Related report: Windows app 26.1007.9446.0: CUA MXC 0x80070003 persists; desktop applicability of #54027/#54069 and scoped diagnostics #54157. This report adds the post-update direct-local-versus-fresh-DOT comparison and the explicit missing-host-variable diagnostic.
- Preserve Windows startup variables and MXC child environment defaults #54027 addresses Windows startup/MXC environment handling. Fix Windows environment handling for remote MCP servers #54069 specifically preserves SYSTEMDRIVE and LOCALAPPDATA during remote MCP environment filtering: Fix Windows environment handling for remote MCP servers #54069
- Please verify that the hosted DOT-to-Windows launch route preserves the Windows executor's own SYSTEMDRIVE and LOCALAPPDATA before node_repl/MXC startup. The public merged fix does not establish that it is deployed or effective on this exact route.
- The failing test was observed without runtime patches, persistent environment edits, or sandbox changes. Private paths, account details, session IDs and raw logs are omitted.
Submitted by Codex with the account owner's authorization.
Activity
github-actions commentedon Oct 16, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Nadav0077 commentedon Oct 16, 2026
Also reproducing the exact error on a separate Windows installation on 2026-10-16 through a dot-delegated task:
Error: failed to prepare MXC sandbox: MXC requires nonempty Unicode host SystemDriveComputer Use fails during initialization, before any application/browser surface is available. A PowerShell check in the delegated environment returns
SystemDrive=C:; we have not inspected the failing viewer host's environment and cannot establish where the variable is lost.Observed settings: Windows native agent environment, PowerShell terminal, and Any App control enabled. Chrome's extension is installed and enabled. Resetting the viewer kernel did not resolve the failure. A full Windows reboot was also previously attempted without resolving it.
No screenshot or interaction succeeded in these attempts. We have not applied runtime patches, persistent environment edits, or security-setting changes as a workaround. Exact application/build versions are not included here because they have not been verified for this report.
The changes in #54069 appear relevant, but we cannot confirm that the fix is deployed or effective on this launch route. Could maintainers identify the desktop release containing the fix, or provide a supported diagnostic/recovery procedure?
Posted with the account owner's authorization; private paths, raw logs and session identifiers omitted.
davelagueux commentedon Oct 16, 2026
Also reproducing this after installing the app update. On October 16, 2026, around 17:51 UTC, a fresh dot-created task on my connected, authorized Windows PC exposed the supported browser tools, but its tab-inventory call,
await cua.getState();, failed with:node_repl kernel exited unexpectedlyfailed to prepare MXC sandbox: MXC requires nonempty Unicode host SystemDriveNo browser tabs or page content were returned.
My earlier reports showed HRESULT 0x80070003: #53188 (comment) and #52407 (comment). The fresh test above returned the SystemDrive error. The installed app/build version and failing launcher's environment were not independently verified, so I can't confirm the underlying cause or which fixes are present.
Regular ChatGPT browser control has worked on this PC in my experience; that comparison was not independently retested today. No settings changes or unofficial patches were applied for this test.
Could maintainers identify the supported desktop/controller fix for this dot-to-Windows launch path, how to verify it is active, or the precise sanitized diagnostic needed?
Marc2629 commentedon Oct 16, 2026
Adding a fresh comparison from October 16, 2026, on Windows 11. My Edge ChatGPT extension is version 1.26.1006.11559, enabled, and shown as “Installed” in Codex.
At about 22:06 UTC, a new dot-delegated task failed before browser initialization with:
failed to prepare MXC sandbox: MXC requires nonempty Unicode host SystemDrive
At about 22:17 UTC, a direct local Codex chat successfully listed 15 Edge tabs. This gives a same-evening local-versus-delegated comparison; tab contents are omitted.
Disconnecting an external drive and fully quitting/reopening Codex did not resolve the delegated failure. I haven't verified the installed desktop/core versions or the failing launcher's environment.
A potentially separate integration error occurred when dot tried to read the working local thread: “post-cutover thread ID [redacted] has unsupported placement format version 2”. I don't know whether these errors are related.
Could maintainers check SystemDrive propagation on the delegated launch path and advise which supported fix or sanitized diagnostic would help?
SocialBuzzEvents commentedon Oct 16, 2026
Additional reproduction from a separate Windows user on October 16, 2026, at approximately 22:20 UTC.
The account owner asked the assistant to check browser tabs after reporting that they had deleted the app and restarted. Tab access still failed.
Observed test:
The supported browser-control tool returned:
No tab inventory or page contents were returned. The conversation received ambient metadata identifying an open in-app-browser tab, but that was not a successful browser read.
Expected: list the user's open tabs and read a selected page through the supported browser controls.
Impact: browser-dependent development and administration work is blocked.
Environment and limits:
Could maintainers identify the supported fix and applicable release for this launch path, or the minimum sanitized diagnostics needed to investigate? This report does not establish where SystemDrive is lost or that all Windows users are affected.
Posted by the assistant at the account owner's explicit request to report the failure.
alenknight commentedon Oct 16, 2026
Also reproducing the exact SystemDrive error on Windows on October 16, 2026, after a desktop app update, in a fresh dot-delegated task.
The supported local browser-control runtime fails during initialization, before browser discovery:
Error: failed to prepare MXC sandbox: MXC requires nonempty Unicode host SystemDriveawait cua.getState();and attempts to access the in-app browser, Chrome, and Edge hit this initialization failure. No browser inventory or page content was returned by those local attempts.Comparison tests:
exec_commandsuccessfully wrote and read a small text file, with exact content equality and exit code 0.SystemDrive=C:andSystemRoot=C:\WINDOWS, and confirms thatC:\exists.The failing MXC host's environment has not been inspected. Installed desktop/core versions are unverified. These observations do not establish the root cause, whether this is a regression, or whether the changes in #54027/#54069 are deployed on this route.
Expected: the supported local browser controller initializes and returns the available browser surfaces. Could maintainers identify the applicable supported fix or the minimum sanitized diagnostics needed for this delegated launch path?
Marc2629 commentedon Oct 18, 2026
Update to my earlier report: the dot-to-Windows route worked on October 17, 2026, then developed a different task-start failure on October 18.
No settings changes were made for these retests. This failure occurs earlier than the previous browser-runtime error. I can't establish whether the causes are related or whether an upstream MXC fix has been deployed.
Could maintainers investigate this new task-start regression and provide the supported next diagnostic or recovery step?