Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Version 26.1007.71326
What subscription do you have?
pro 200
What platform is your computer?
windows 11
What issue are you seeing?
Description
Codex Desktop on Windows consistently fails to initialize Computer Use (CUA) when invoked through Dot-delegated sessions.
The failure occurs immediately during MXC launcher initialization, before the browser can be accessed.
Exact error:
MXC launcher: cannot locate required Windows platform directory: HRESULT 0x80070003
Additional diagnostic output:
node_repl kernel exited unexpectedly
kernel_status: exited(code=1)
Environment
- Operating system: Windows (exact build not yet collected)
- Codex Desktop: 26.1007.71326
- Previous version: 26.1007.21434
- Execution route: Dot-delegated Codex session
- MXC sandbox: Enabled; no changes made
- Application: Codex Desktop for Windows
Steps to reproduce
- Open Codex Desktop on Windows.
- Connect Dot to the computer through the supported delegation workflow.
- Have Dot initiate a harmless CUA browser-state or tab-list request.
- Observe that initialization fails before browser information can be retrieved.
Actual result
On version 26.1007.71326, the browser-state attempt failed after approximately 0.263 seconds with HRESULT 0x80070003.
The same error was observed before upgrading from 26.1007.21434.
Rebooting Windows did not resolve the issue.
A separate direct Codex session successfully controlled Chrome through its attached DevTools browser connection, suggesting this is specific to certain execution paths rather than a general inability to run Chrome.
However, direct CUA initialization has also timed out in an earlier diagnostic.
Suspected cause
Investigations in existing Codex GitHub issues suggest that Windows environment variables, particularly SystemDrive and LOCALAPPDATA, may not be propagated correctly into Dot-delegated execution environments.
Affected users have captured child processes missing these variables. An unresolved %SystemDrive%\ProgramData path has been associated with HRESULT 0x80070003.
Independent reproduction tests support this failure mechanism, but we have not verified the exact environment of the failing process on this particular installation.
This may indicate a Codex process-launch environment-filtering defect rather than a Windows operating system failure.
Troubleshooting completed
- Upgraded Codex Desktop to 26.1007.71326.
- Repeated a single read-only CUA initialization test.
- Confirmed that the exact error persists.
- Previously rebooted Windows without improvement.
- Verified that Chrome DevTools browser control works through a separate execution route.
No MXC security settings were disabled. No runtime patches, application resets, or session deletions were performed.
Related issues
- Windows Dots: CUA MXC launcher fails with HRESULT 0x80070003 after direct shell recovery #52407
- [Windows] Browser tools fail to initialize: MXC launcher HRESULT 0x80070003 #53188
- Windows 26.1007: native node_repl tools absent while browser CUA kernel fails in MXC #53255
- Windows browser control fails with MXC platform directory HRESULT 0x80070003 on Desktop 26.1007.2314.0 #52857
Impact
This issue blocks Dot from supervising browser-dependent development work on our Windows workstation.
Multiple active business application projects are affected because automated browser access and acceptance testing cannot proceed.
Requested investigation
Please investigate whether the Dot-delegated CUA/MXC process launcher is incorrectly filtering required Windows environment variables.
We would appreciate:
- Confirmation of the root cause.
- An official fix for the environment-variable propagation issue.
- A supported diagnostic procedure.
- A workaround that preserves MXC sandbox security and existing session history.
- Confirmation of which Windows Desktop release contains the repair.
This problem remains reproducible after updating to Codex Desktop 26.1007.71326.
What steps can reproduce the bug?
Steps to Reproduce
-
Install and open Codex Desktop for Windows, version
26.1007.71326. -
Start a new Codex session on the Windows computer, preferably through Dot delegation.
-
Allow the session to initialize using its normal Windows sandbox and default security settings.
-
Ask Codex to execute this harmless PowerShell command:
Write-Output 'CODEX_SHELL_OK'
-
Observe that the command produces no stdout, stderr, or exit code after 10 seconds.
-
Interrupt the stalled command. In our test, interruption returned exit code 1.
-
Repeat once using:
Write-Output PREFLIGHT_OK -
Observe that the second command also hangs without output or an exit code, even after 30 seconds.
Actual Behavior
Basic PowerShell commands hang indefinitely or until interrupted. No output or exit status is returned during execution.
This failure occurs before any repository operations begin.
Expected Behavior
Both PowerShell commands should complete almost immediately, print their respective text markers, and return exit code 0.
Environment
- OS: Windows
- Codex Desktop:
26.1007.71326 - Execution: Dot-delegated Windows session
- Shell: PowerShell
- Sandbox: Existing/default configuration, unchanged
- No STELLA repository modifications
Additional Information
The same failure was previously observed before updating Codex Desktop. Updating to 26.1007.71326 did not resolve it.
Related GitHub issues: #39574, #50725, #51882.
The underlying cause is not confirmed. The failure could involve process launching, command dispatch, or result delivery in Codex Desktop.
What is the expected behavior?
Codex Desktop should preserve the Windows environment information required to initialize supported Computer Use processes.
Dot-delegated CUA operations should successfully initialize the browser-control environment, read browser state, enumerate tabs, and perform authorized interactions without HRESULT 0x80070003.
Updating Codex Desktop should preserve existing conversations, worktrees, settings, and security protections.
If initialization fails, Codex should return actionable diagnostic information identifying the missing dependency or failed launcher operation.
Additional information
Codex Desktop version: 26.1007.71326
Previous version: 26.1007.21434
CUA failure duration: 0.263 seconds
Error:
MXC launcher: cannot locate required Windows platform directory: HRESULT 0x80070003
Additional output:
node_repl kernel exited unexpectedly
kernel_status: exited(code=1)
Result:
CUA initialization failed before reading browser state.
Activity
github-actions commentedon Oct 14, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
sidrew commentedon Oct 15, 2026
Also affected on Windows 11, version
26.1007.71326.Browser control fails to initialize with:
Other attempts return:
Restarting the application and then rebooting Windows did not resolve it. The underlying cause has not been confirmed on this machine. Please share a supported fix or recovery procedure.
olfencealcadia-debug commentedon Oct 16, 2026
Confirmed root cause + a workaround that keeps the MXC sandbox (Codex Desktop 26.1013.31256, Windows 11, Dots → local Windows PC).
Verification. I read the environment block of each running process directly. The Dots-path
cua_replprocesses (node.exe …\@oai\cua-repl\bin\cua-repl.mjsand itsnode_repl.exe, spawned bycodex.exe exec-server --remote) start with only ~24 variables:Path, PATHEXT, SHELL, SystemRoot, TEMP, TMPplus theenventries from the plugin's.mcp.json.SystemDrive,windir,USERPROFILE,LOCALAPPDATA,APPDATAandProgramDataare all missing. The parentChatGPT.exe/codex.exeprocesses, and the local (non-Dots)node_replprocesses, do haveSystemDrive.cua-repl'slaunch.jsforwardsprocess.envas-is, so the variables are dropped when the exec-server spawns the stdio MCP server. This matches what #54069 fixes.Workaround (no Full Access needed). Add the missing variables to
mcpServers.cua_repl.envinThen restart Dots only, not the desktop app. After this, MXC initialization succeeded, and listing Chrome tabs, opening a page and clicking links all worked.
Caveats:
.mcp.jsonon every launch, so this has to be re-applied after each app restart, until a build that includes Fix Windows environment handling for remote MCP servers #54069 ships.config.toml[mcp_servers.node_repl.env]orHKCU\Environmentdoes not help.Native computer APIs are disabledafterwards is expected: the Dots path usesCUA_REPL_ENABLED_SURFACES=browser.Related: #54477