I previously wrote an article about the issue where Browser Use cannot navigate to external sites in the Windows version of Codex.
At that time, my assessment was that it didn't seem like Browser Use itself was broken, but rather that it was failing around the Codex app-server or Node REPL required when navigating to external URLs.
Since then, while checking Reddit and GitHub Issues, I provided the situation to Codex in my own environment and had it isolate the cause.
Furthermore, this time, I didn't just have it investigate the cause.
I proceeded by instructing Codex on everything from creating PowerShell procedures to determining where to copy the necessary auxiliary EXEs.
As a result, although it is a temporary measure, I was able to build a workaround to restore Browser Use in the Windows version of Codex.
What is interesting about this story is that it is not just about 'trying a method found on the internet'.
I had Codex investigate its own bug and even build the PowerShell copy process.
This is the most important point.
Of course, this is not an official fix.
There is a possibility that it may not work with the same procedure depending on the environment.
However, for those who are stuck with errors like
failed to start codex app-server
os error 3
Access is denied
I think it is a temporary solution worth trying.
Last time, I categorized it as an issue on the app-server side rather than Browser Use
In my previous article, I addressed the issue where Browser Use cannot navigate to external sites in the Windows version of Codex.
What I saw at that time was that rather than Browser Use not starting at all, it could see an empty tab, but failed when trying to navigate to an external URL.
In other words, viewing the problem simply as 'the browser is broken' is slightly off the mark.
If Browser Use can recognize the tab, the connection to the browser itself is working to some extent.
What is failing is the next stage.
It appears to be stopping around the startup of the Codex app-server or the Node REPL when trying to navigate to an external site.
That was as far as I had organized things last time.
However, at that point, I still didn't see how to make it work.
This time, I instructed Codex to build the PowerShell and copy process.
After that, as I followed related GitHub Issues and Reddit posts, I found multiple reports of very similar symptoms.
What stood out in particular was that when the Windows version of Codex tried to launch a helper EXE, it appeared to be hitting Windows permission restrictions.
At this point, I provided Codex with information about my environment.
The error details, the Codex installation environment, the files that actually exist, and the timing when Browser Use stops.
Based on that, I instructed Codex to isolate this issue and build a workaround that I could test in my local environment.
This time, I didn't write the PowerShell by hand from scratch.
I explained the situation to Codex, had it organize the potential causes, and had it identify the necessary files.
Then, I had Codex assemble which helper EXEs should be copied from which folder to which folder.
In other words, the PowerShell itself, the organization of the copy targets, and the assembly of the source and destination paths were all created while consulting with Codex.
This was a very interesting part of the process.
Feeding Codex's own bug into Codex.
Having Codex think about the cause.
Having Codex write the PowerShell.
Having Codex build the copy procedure for the helper EXEs.
Looking at what I was doing, it was a bit of a nested structure, but in reality, it was quite practical.
The core of the problem appears to be the launch path of the helper EXEs
The helper EXEs that seem to be involved in this issue are as follows:
codex.exe
node.exe
node_repl.exe
codex-command-runner.exe
codex-windows-sandbox-setup.exe
In the Windows version of Codex, the application itself and its related files are placed in a management area on the Windows side.
In particular, the area under C:\Program Files\WindowsApps is a location with stronger restrictions than a normal application folder.
Even if it exists as an application, if you try to launch it directly as a separate process, you may get an 'Access is denied' error.
Browser Use is, in appearance, a browser operation feature.
However, behind the scenes, it relies on mechanisms like app-server or Node REPL.
Therefore, if the launch of the auxiliary EXE fails, operations such as external browser navigation, DOM retrieval, and screenshot capture are also affected and stop.
In other words, the problem this time can be summarized as follows.
The external site itself is not the problem.
The Browser Use screen itself is not the problem either.
It is highly likely that the Windows version of Codex is not launching the auxiliary EXE required for Browser Use as expected.
Looking at it this way, it becomes easier to understand why sites can be opened in a normal browser but fail in Codex's Browser Use.
The workaround is to copy the auxiliary EXE to the user's bin folder.
The workaround I built in my environment this time is simple.
I place the auxiliary EXE in a local folder on the user side, rather than in a location where Codex has difficulty launching it directly.
The destination is the following location.
%LOCALAPPDATA%\OpenAI\Codex\bin
In actual paths, it will look like the following in many environments.
C:\Users\USER\AppData\Local\OpenAI\Codex\bin
Copy the Codex auxiliary EXE here.
The following five items are the targets for copying.
codex.exe
node.exe
node_repl.exe
codex-command-runner.exe
codex-windows-sandbox-setup.exe
These also exist in the local cache on the Codex app side.
Therefore, instead of forcing them to launch from the app package itself, I decided to copy them from the local cache to a user-side bin folder that Codex can easily reference.
PowerShell built by Codex
The following PowerShell was built by instructing Codex based on the symptoms and folder structure I was seeing locally.
Rather than writing it from scratch myself, I had Codex organize 'which files should be copied from where to where' and then had it translate that result into PowerShell.
$pkg = Get-AppxPackage OpenAI.Codex $source = Join-Path $env:LOCALAPPDATA "Packages\$($pkg.PackageFamilyName)\LocalCache\Local\OpenAI\Codex\bin" $target = Join-Path $env:LOCALAPPDATA "OpenAI\Codex\bin" $files = @( "codex.exe", "node.exe", "node_repl.exe", "codex-command-runner.exe", "codex-windows-sandbox-setup.exe" ) New-Item -ItemType Directory -Force -Path $target | Out-Null foreach ($file in $files) Copy-Item -LiteralPath (Join-Path $source $file) -Destination (Join-Path $target $file) -Force
What it does is not that complicated.
First, it retrieves the currently installed Codex package.
Next, it uses the bin folder within the local cache corresponding to that package as the copy source.
Then, it creates the user-side %LOCALAPPDATA%\OpenAI\Codex\bin as the copy destination and overwrites/copies the necessary auxiliary EXEs.
After execution, restart the Codex app.
Then, check if you can open external sites from Browser Use.
In my case, I determined that the basic functionality of Browser Use had returned once I could open an external site and retrieve the URL, title, and DOM.
For example, it is easy to verify by opening your own company website or a page you usually use for display checks.
However, since this process involves copying files and overwriting existing files via PowerShell, it is safer to check that the copy source and destination match your environment before running it.
After an update, first check to see if the issue recurs.
One thing to keep in mind is updates to the Codex app.
This workaround involves manually copying the auxiliary EXE file.
Therefore, when the main Codex app is updated, the auxiliary EXE in the local cache may also be updated.
On the other hand, the EXE already copied to the user side may remain as the old version.
Because of this, I have adopted the following approach after an update.
Immediately after updating Codex, do nothing first. If Browser Use works normally, leave it as is. Only re-run the PowerShell script if the same error recurs.
It is safer to treat it as something to update when the issue recurs, rather than running it mechanically every time.
Also, if an official fix is released by Codex in the future, this manual copying itself may become unnecessary.
In that case, you can verify it by checking if Browser Use works after deleting C:\Users\USER\AppData\Local\OpenAI\Codex\bin on the user side.
However, if it is working at the moment, there is no need to force a deletion.
This is only if you want to check after an official fix has been implemented.
What is interesting is that I had Codex solve a bug in Codex.
The workaround itself is relatively simple: copying the auxiliary EXE to the user's bin folder.
However, what was truly interesting was not the procedure itself.
When Codex's Browser Use broke, I provided the situation to Codex, had it isolate the cause, and even had it write the PowerShell copy process.
Having AI write code is no longer a rare experience.
But this time, I had the AI development tool investigate its own environmental issues.
This is a slightly strange composition, but it was quite effective in practice.
Organizing the error message. Checking relevant paths. Identifying necessary files. Assembling the source and destination paths. Formatting it into an executable PowerShell script.
When you can leave these tasks to Codex, the speed of resolving environmental issues changes significantly.
Of course, it is dangerous to unconditionally trust the steps provided by Codex as they are.
Especially when copying files or overwriting existing files via PowerShell, you need to verify what the process is actually doing.
However, in cases like this where there are multiple potential causes and the issue involves Windows-specific paths or permission constraints, Codex becomes a quite powerful partner.
Summary
Regarding the Browser Use error in the Windows version of Codex, in my environment, copying the helper EXE to the user-side bin folder made navigation to external sites and DOM retrieval functional.
The important thing is that this workaround is not an official fix.
Fundamentally, the ideal state is for Codex to properly resolve the helper EXE in the Windows environment and be fixed so that Browser Use and Node REPL run stably.
However, if you are encountering the same error at this moment, this can serve as a hint for isolating the cause.
This issue is easier to organize if viewed not just as a simple Browser Use bug, but as a problem involving the startup paths of the Windows version of Codex, app-server, Node REPL, and the helper EXE.
And another thing I realized is that Codex can also be used to investigate its own bugs.
Feeding the error to the tool that throws it to have it search for the cause.
It is a slightly strange composition, but in practice, it was quite pragmatic.
Beyond just having AI write code, it is about breaking down the structure of environmental troubles together.
I think this Browser Use issue was an example where I could experience that way of using it quite clearly.
References
Codex for almost everything (OpenAI)
ChatGPT — Release Notes (OpenAI Help Center)
Codex changelog (OpenAI Developers)
Windows native browser use fix (Reddit / r/codex)
Browser use error on codex windows app? (Reddit / r/codex)
Windows Codex app: Browser Use external navigation fails because nodeRepl.fetch cannot start codex app-server #19187 (GitHub / openai/codex)
Windows Codex app: bundled node.exe fails with Access is denied, breaking Node REPL and Browser Use plugin #19271 (GitHub / openai/codex)
Windows browser-use external navigation fails when Codex helper bin path is missing #19562 (GitHub / openai/codex)