Windows Codex Desktop Browser Use fails to start app-server despite working npm CLI
What version of the Codex App are you using (From “About Codex” dialog)?
26.422.8496.0
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Windows 10 Home, 64-bit, build 26100
What issue are you seeing?
Codex Desktop Browser Use does not work on Windows.
When I use the Browser Use plugin, it only sees an about:blank tab and cannot navigate or inspect the in-app browser. Attempting to navigate with Browser Use fails with:
failed to start codex app-server: The system cannot find the path specified. (os error 3)
Inside Codex, Browser Use returns:
agent.browser.tabs.list() => about:blank
agent.browser.user.openTabs() => []
A simple test like navigating to https://example.com fails with the same app-server error.
I also tested the packaged Codex executable directly in PowerShell:
& "C:\Program Files\WindowsApps\OpenAI.Codex_26.422.8496.0_x64__2p2nqsd0c76g0\app\resources\codex.exe" --help
That fails with:
Access is denied
I installed the standalone npm CLI:
npm.cmd install -g @openai/codex
Then:
codex.cmd app-server --help
works correctly and prints the app-server help text.
So the standalone CLI appears healthy, but Codex Desktop Browser Use still fails, likely because it is trying to start the packaged WindowsApps codex.exe or otherwise not resolving the working codex.cmd from PATH.
I already tried:
- Restarting Windows
- Terminating Codex
- Repairing Codex from Windows Apps settings
- Resetting Codex
- Uninstalling/reinstalling Codex Desktop
- Fully quitting/reopening Codex Desktop
- Installing the npm CLI
The issue still persists.
What steps can reproduce the bug?
- Install and open Codex Desktop on Windows.
- Open a Codex thread with the Browser Use plugin enabled.
- Ask Codex to use Browser Use or run a basic Browser Use navigation test.
- Browser Use initializes but only sees an about:blank tab.
- Attempt to navigate the Browser Use tab to a simple site such as https://example.com.
- The navigation fails with:
failed to start codex app-server: The system cannot find the path specified. (os error 3)
Additional reproduction/check:
- In PowerShell, run the packaged Codex executable directly:
& "C:\Program Files\WindowsApps\OpenAI.Codex_26.422.8496.0_x64__2p2nqsd0c76g0\app\resources\codex.exe" --help
- It fails with:
Access is denied
- Install standalone CLI:
npm.cmd install -g @openai/codex
- Run:
codex.cmd app-server --help
- This works, but Browser Use in Codex Desktop still fails with the same app-server error.
What is the expected behavior?
Browser Use should start or connect to a working Codex app-server, attach to the in-app browser tab, and allow normal browser automation actions such as navigation, screenshots, DOM snapshots, clicks, and form interactions.
For example, navigating to https://example.com through Browser Use should load the page and allow DOM/screenshot inspection instead of failing with an app-server path error.
Additional information
Additional context: I am logged into GitHub with a different account than my ChatGPT/Codex account. I do not know if this is related, but I wanted to mention it. The Browser Use failure appears to happen before any GitHub-specific action, during Codex app-server startup/navigation. m_m_gh@windowslive.com is my account for codex
9 Comments
Additional confirmation: after installing the standalone CLI with npm,
codex.cmd app-server --helpworks successfully, but Browser Use in Codex Desktop still fails with the app-server error. This suggests the Desktop Browser Use bridge is not using the working npm CLI or is still trying to launch the packaged WindowsApps codex.exe.Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Work Around bellow. I also uninstalled and "DELETED" everything codex related and did a clean install. Everything works fine after clean install. But a clean install is painful if you have a lot of setup done.
Workaround:
I manually recreated the missing local directory and copied
node_repl.exefrom the packaged app resources into the stale AppData path. That changed the failure from:to:
Searching strings in
node_repl.exeshowed it starts:So I also copied the packaged
codex.exeinto the same AppData bin directory:After that, the authenticated fetch bridge started working. This call succeeded:
Response:
Browser Use then no longer failed with the app-server error. Programmatic navigation to
https://www.fox.com/homereached the page, and DOM access worked afterward.This seems to confirm that the bug is Codex Desktop launching
node_repl.exefrom a stale/missing user-local binary path, and thatnode_repl.exeexpects a companioncodex.exebeside it forcodex app-server. The fix likely needs to ensure the AppData bin cache is created/refreshed correctly, or that Desktop launches the packaged resource binaries directly.I can confirm the packaged WindowsApps executable failure on another Windows install with the same Codex Desktop package version.
Environment:
User-visible symptom:
Direct packaged executable check:
fails with:
Sandbox diagnostics also show the WindowsApps ACL/setup failure family:
and later setup refresh failures against the WSL workspace and temp path:
%USERPROFILE%\.codex\.sandbox\setup_error.jsoncontains:This looks like the same underlying issue: the Desktop app can authenticate and render initial UI, but startup/runner initialization fails when it needs the packaged
codex.exe/ sandbox setup path. The WSL UNC workspace may be an additional trigger, but the directcodex.exe --helpaccess-denied repro seems independent of Browser Use.Thanks for the workaround, I've linked this thread and Codex fixed everything itself
I can also reproduce this issue on Windows Codex Desktop.
My case is very similar, with one additional data point: the manual app-server startup works, not just
--help.Environment:
What works:
C:\Users\zhang\.codex\plugins\cache\openai-bundled\browser-use\0.1.0-alpha1\scripts\browser-client.mjscodex app-server --listen ws://127.0.0.1:0It starts successfully, for example on:
ws://127.0.0.1:60095curl.exe -i http://127.0.0.1:60095/healthzcurl.exe -i http://127.0.0.1:60095/readyzBoth return:
HTTP/1.1 200 OKcontent-length: 0What fails:
https://example.com/fails.https://www.baidu.com/also fails.failed to start codex app-server: The system cannot find the path specified. (os error 3)So in my case the app-server can run manually, but the Browser Use / in-app browser integration still fails to auto-start or bind to it when navigating to an external URL.
Having the same issue:
Codex desktop Browser Use runtime issue
Date: 2026-05-02
OS: Windows
In-app browser state: open, not currently navigated
What I tried:
Codex attempted to initialise Browser Use / in-app browser automation using the Browser Use skill and Node REPL bridge.
Result:
The Node REPL tool was discovered, but Browser Use failed before navigation.
Exact error:
failed to start codex app-server: The system cannot find the path specified. (os error 3)
Expected:
Browser Use should start the Codex app-server/runtime and allow Codex to open or inspect the in-app browser tab.
Impact:
The visible in-app browser can be opened manually, but Codex cannot automate or verify pages through Browser Use.
您好,您的邮件我已收到,我会及时处理的!谢谢!
Cross-linking a local workaround that fixed this same Windows Codex Desktop / Browser Use
failed to start codex app-server: ... (os error 3)failure here: https://github.com/openai/codex/issues/19562#issuecomment-4356858649On my machine,
%LOCALAPPDATA%\OpenAI\Codex\binwas expected/on the Desktop path but missing. The helper binaries already existed at:%LOCALAPPDATA%\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache\Local\OpenAI\Codex\binCreating a junction from the expected path to the packaged helper-bin path fixed Browser Use / in-app browser control:
After adding the junction and retrying in Codex Desktop, Browser Use could attach to the selected in-app browser tab, navigate to external pages, read DOM snapshots, click links, and continue navigating.
This may not cover every Windows Browser Use failure, but it looks relevant when the IAB backend can initialize/list tabs and then navigation/DOM/screenshot work fails with
failed to start codex app-server: ... (os error 3).