Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.1013.40934 (build 20770)
What subscription do you have?
Plus
What platform is your computer?
Windows 11 Pro, build 26300.9711
What issue are you seeing?
The Codex desktop app cannot initialize its browser tools on Windows. Listing browser tabs and creating a browser tab fail before the browser can be accessed.
Error:
node_repl kernel exited unexpectedly
MXC launcher: failed to create the process security environment:
CreateProcessSecurityEnvironment failed (HRESULT = 0x80070020)
Diagnostic findings:
- An explicit MXC sandbox startup probe fails with the same error.
- An elevated legacy sandbox startup probe succeeds with exit code 0.
- The configuration already contains windows.sandbox = "elevated".
- The app-server command line includes prefer_mxc=true.
- The specific locked file or responsible process has not been identified.
Restarting Codex, restarting Windows, resetting the browser tool, and disabling Norton VPN did not resolve the issue.
The successful legacy probe only validates command startup; browser operation through that fallback has not been verified.
Bundled CLI version: 0.163.0-alpha.10.2
The app updater reports that this installation is up to date.
Feedback ID: 01a127a5-9675-7e50-aa09-c8b3aba14caa
What steps can reproduce the bug?
- Open the Codex desktop app on Windows.
- Ask Codex to list browser tabs or open a browser tab.
- The browser tool fails during initialization with CreateProcessSecurityEnvironment error 0x80070020.
The following browser tool calls failed:
- await cua.getState();
- await cua.createBrowserTab("iab", "https://example.com/", { visible: true });
Expected behavior:
The browser tools initialize successfully and can list or open browser tabs.
Actual behavior:
The tool kernel exits before accessing the browser.
What is the expected behavior?
The browser tools should initialize successfully and allow Codex to list, open, and inspect authorized browser tabs without the tool kernel exiting.
Additional information
Related issue: #54876
That issue also contains a report of the exact HRESULT 0x80070020 error. My case may be related, although the underlying cause has not been confirmed.
In my tests, an explicit MXC startup probe fails, while an elevated legacy sandbox startup probe succeeds.
Feedback ID: 01a127a5-9675-7e50-aa09-c8b3aba14caa
Activity
github-actions commentedon Oct 18, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
oOTheOo-coder commentedon Oct 21, 2026
Additional reproduction on a separate Windows machine, with a bounded fallback-policy test that may help narrow the launcher behavior.
Environment
up_to_date.codex-cli 0.163.0-alpha.10.2.Observed failure
await cua.getState()fails before browser discovery, with:Native Computer Use initialization through the documented Node REPL /
@oai/skyentry point also failed at this startup boundary in the original chat. A separately created fresh chat reproduced the CUA failure; its prerequisite skill-file read also failed at MXC startup, so native initialization was not retried there. Resetting the tool sessions did not recover the browser.Controlled sandbox comparison
The documented minimal probe using
windows.sandbox=elevatedsucceeds (ELEVATED_OK), while the explicit MXC probe fails with the HRESULT above. This validates command startup only; no browser/desktop interaction has succeeded.User configuration already contains:
Additional managed-policy experiment
With the machine owner's explicit approval, we temporarily installed this supported policy in the previously absent system
requirements.toml:The CLI recognized the policy and the elevated probe still succeeded. After resetting each tool session, both CUA and native Node REPL instead failed with:
This shows the tool launch paths consume the policy but still explicitly request MXC rather than selecting the working legacy implementation. The exact unchanged trial policy file was hash-verified and removed, restoring the prior state.
Recent sandbox logs continue to show
MXC availability: trueandWindows sandbox selection: mxc. We have not identified the failing resource or established whether the HRESULT is caused by the same ACL/runtime locking path described in #52054. No security protections, ACLs, helper binaries, browser profiles, or private protocols were modified as a workaround.Could the team provide a supported browser/control-runtime fallback or hot-reload path that preserves the filesystem/network/approval boundaries and does not require another Windows restart? More detail about the failing resource in
CreateProcessSecurityEnvironmentwould also help. Existing app/OS restarts reported by the user did not restore control; no further restarts were performed during these tests.No credentials, personal paths, raw session history, or raw log bundles are included in this report.
AngusLange commentedon Nov 4, 2026
Codex Windows: in-app browser fails with error 0x80070020
The agent could not start its browser tools. The error was:
CreateProcessSecurityEnvironment failed (HRESULT = 0x80070020)
The Node kernel then exited with code 1 / stdout_eof.
Restarting the app and Windows did not resolve it. An explicit MXC startup test failed, while the protected legacy startup test passed. User configuration already had windows.sandbox="elevated" and features.prefer_mxc=false, but the desktop app-server command line set features.prefer_mxc=true.
This managed policy in %ProgramData%/OpenAI/Codex/requirements.toml restored browser operation after a full app restart:
The agent could then connect to the in-app browser and navigate signed-in pages. Existing permission and approval settings were retained.
Environment: Windows 11 Home 25H2, build 26200.9711. App 26.1029.61003, build 24614. Windows package 26.1029.7803.0. Bundled CLI 0.166.0-alpha.6.
The cause of the MXC failure is still unknown. Is there an upstream fix or a recommended next diagnostic step?