codex - 💡(How to fix) Fix Windows Browser Use fails before opening: Node Access Denied / os error 5 [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#20747Fetched 2026-05-03 04:46:18
View on GitHub
Comments
2
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×4commented ×2

Error Message

Main error: failed to execute Node: Access is denied. (os error 5) 6. Codex reports: failed to execute Node: Access is denied. (os error 5)

  • Node access denied / os error 5: yes
  • Network blocked error: no
RAW_BUFFERClick to expand / collapse

What version of the Codex App are you using (From “About Codex” dialog)?

26.430.10722

What subscription do you have?

ChatGPT Plus

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

Feedback ID: 019de73a-b764-7b83-95a4-85f29698aad3

I’m using Codex Desktop on Windows 11. Normal workspace/file access works, but Browser Use fails before the browser opens.

Main error: failed to execute Node: Access is denied. (os error 5)

The failure happens before navigation, so this does not appear to be a website or network issue.

What steps can reproduce the bug?

Uploaded thread: 019de73a-b764-7b83-95a4-85f29698aad3

  1. Open Codex Desktop on Windows 11.
  2. Open a simple test workspace: C:\CodexTest
  3. Confirm workspace access works:
    • Read AGENTS.md
    • List project folder
    • Run pwsh
  4. Ask Codex to open Browser Use and navigate to https://example.com
  5. Browser does not open.
  6. Codex reports: failed to execute Node: Access is denied. (os error 5)

What is the expected behavior?

Expected: Browser Use should open the in-app browser and load https://example.com.

Actual: Browser Use fails before the browser opens.

Result:

  • Browser opened: no
  • example.com loaded: no
  • Node access denied / os error 5: yes
  • Network blocked error: no

Additional information

Normal Codex functions work:

  • Workspace file reads work.
  • PowerShell 7 / pwsh works.
  • Workspace folder listing works.
  • Network access test works.
  • Dependency Diagnose reports healthy.
  • Reset and install Workspace eventually completed successfully.

Tried:

  • Rebooted Windows.
  • Closed Codex and ended all Codex background processes in Task Manager.
  • Changed Windows sandbox from elevated to unelevated.
  • Enabled workspace network access: [sandbox_workspace_write] network_access = true
  • Tested with Full Access enabled: still fails.
  • Tested with Full Access disabled: still fails.
  • Ran Dependency Diagnose: healthy.
  • Ran Reset and install Workspace: initially failed, later succeeded when running Codex as administrator, and later also succeeded normally.
  • Checked Windows Security → Protection History: no recent blocks.
  • Reinstalled Codex: Browser Use still fails.
  • Tested clean reinstall before opening: still fails on https://example.com.

Current config highlights: approval_policy = "on-request" sandbox_mode = "workspace-write"

[sandbox_workspace_write] network_access = true

[windows] sandbox = "unelevated"

extent analysis

TL;DR

The issue is likely related to Node execution permissions, and running Codex as an administrator may resolve the "Access is denied" error.

Guidance

  • Verify that the issue persists when running Codex as an administrator, as the Reset and install Workspace process succeeded in this mode.
  • Check the Windows Security settings to ensure that Node or Codex is not being blocked or restricted.
  • Review the sandbox_mode and approval_policy configurations to ensure they are not contributing to the permission issue.
  • Consider testing with a different browser or URL to isolate if the issue is specific to https://example.com.

Example

No code snippet is provided as the issue seems to be related to configuration and permissions rather than code.

Notes

The issue may be specific to the Windows 11 environment or the Codex Desktop version 26.430.10722. Further investigation into the system's security settings and Codex configurations is needed to determine the root cause.

Recommendation

Apply workaround: Run Codex as an administrator to potentially resolve the "Access is denied" error, as it allowed the Reset and install Workspace process to succeed.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Windows Browser Use fails before opening: Node Access Denied / os error 5 [2 comments, 2 participants]