codex - 💡(How to fix) Fix Codex Desktop Chrome plugin: Native Messaging Host registry key missing on Windows

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…

Root Cause

The Codex Chrome Extension appears to be installed and enabled, but the Chrome-backed browser automation path is unusable because the Windows Native Messaging Host registry key is missing.

Code Example

HKCU\Software\Google\Chrome\NativeMessagingHosts\com.openai.codexextension

---

node <codex-home>\plugins\cache\openai-bundled\chrome\26.519.31651\scripts\check-native-host-manifest.js --json

---

{
  "manifestPath": "%LOCALAPPDATA%\OpenAI\extension\com.openai.codexextension.json",
  "registryKey": "HKCU\Software\Google\Chrome\NativeMessagingHosts\com.openai.codexextension",
  "registryManifestPath": null,
  "expectedHostName": "com.openai.codexextension",
  "expectedExtensionId": "hehggadaopoacecdllhhajmbjkdcmajg",
  "expectedOrigin": "chrome-extension://hehggadaopoacecdllhhajmbjkdcmajg/",
  "exists": true,
  "correct": false,
  "problem": "Windows native host registry key does not exist: HKCU\Software\Google\Chrome\NativeMessagingHosts\com.openai.codexextension"
}

---

%LOCALAPPDATA%\OpenAI\extension\com.openai.codexextension.json
RAW_BUFFERClick to expand / collapse

Environment

  • OS: Windows
  • Codex Desktop
  • Codex Chrome Extension installed and enabled
  • Chrome extension ID: hehggadaopoacecdllhhajmbjkdcmajg
  • Native host name: com.openai.codexextension

Problem

The Codex Chrome Extension appears to be installed and enabled, but the Chrome-backed browser automation path is unusable because the Windows Native Messaging Host registry key is missing.

The missing key is:

HKCU\Software\Google\Chrome\NativeMessagingHosts\com.openai.codexextension

Diagnostic output

Running the bundled checker:

node <codex-home>\plugins\cache\openai-bundled\chrome\26.519.31651\scripts\check-native-host-manifest.js --json

returns this structure:

{
  "manifestPath": "%LOCALAPPDATA%\OpenAI\extension\com.openai.codexextension.json",
  "registryKey": "HKCU\Software\Google\Chrome\NativeMessagingHosts\com.openai.codexextension",
  "registryManifestPath": null,
  "expectedHostName": "com.openai.codexextension",
  "expectedExtensionId": "hehggadaopoacecdllhhajmbjkdcmajg",
  "expectedOrigin": "chrome-extension://hehggadaopoacecdllhhajmbjkdcmajg/",
  "exists": true,
  "correct": false,
  "problem": "Windows native host registry key does not exist: HKCU\Software\Google\Chrome\NativeMessagingHosts\com.openai.codexextension"
}

Expected behavior

Installing or enabling the Codex Chrome Extension from Codex Desktop should create or repair the Windows Native Messaging Host registration so the Chrome-backed browser automation path works without manual registry repair.

Actual behavior

The native host manifest file exists under:

%LOCALAPPDATA%\OpenAI\extension\com.openai.codexextension.json

but the Chrome Native Messaging Host registry key is missing, so Chrome cannot discover the native host.

Impact

Codex cannot reliably use the Chrome Extension path for authenticated browser automation. This forces fallback to the in-app browser, which is not equivalent because it does not share the user's Chrome profile/session state.

Related note

This appears separate from an in-app Browser Use runtime issue where an incomplete runtime caused Browser Use virtual clipboard is not installed. The in-app browser issue could be worked around by bootstrapping from a complete bundled browser runtime, but the Chrome Extension Native Messaging Host registration issue remains.

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…

FAQ

Expected behavior

Installing or enabling the Codex Chrome Extension from Codex Desktop should create or repair the Windows Native Messaging Host registration so the Chrome-backed browser automation path works without manual registry repair.

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 Codex Desktop Chrome plugin: Native Messaging Host registry key missing on Windows