Windows Codex Chrome plugin reinstall does not create native messaging host
Open 💬 11 comments Opened May 18, 2026 by dz1115
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
Codex Chrome plugin issue on Windows
Environment:
- OS: Windows
- Codex app version visible in path: OpenAI.Codex_26.513.4821.0_x64__2p2nqsd0c76g0
- Chrome plugin cache: C:\Users\123\.codex\plugins\cache\openai-bundled\chrome\0.1.7
- Time checked: 2026-05-18T18:30:22+08:00
Problem:
- After reinstalling the Codex Chrome plugin from the Codex plugin UI, Codex still cannot connect to Chrome.
- Runtime error from Chrome backend: Browser is not available: extension
- Chrome Web Store page for the Codex Chrome Extension shows "Item not available".
Diagnostics:
- Missing native host manifest:
C:\Users\123\AppData\Local\OpenAI\extension\com.openai.codexextension.json
- Missing Windows registry key:
HKCU\Software\Google\Chrome\NativeMessagingHosts\com.openai.codexextension
- Expected host name:
com.openai.codexextension
- Expected extension ID:
hehggadaopoacecdllhhajmbjkdcmajg
- Expected allowed origin:
chrome-extension://hehggadaopoacecdllhhajmbjkdcmajg/
- check-extension-installed.js output:
Chrome user data directory does not exist: C:\Users\123\AppData\Local\Google\Chrome\User Data
Expected:
- Reinstalling the Chrome plugin should create the native messaging host manifest and HKCU registry key, then allow Codex to communicate with the Codex Chrome Extension.
Actual:
- The plugin entry is installed in Codex, but the native host manifest and registry key are not created, so Chrome automation remains unavailable.
11 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I’m seeing the same failure on Windows after Codex update/reinstall, with the current bundled plugin cache now verified clean/current but the native messaging host still not created.
Environment:
OpenAI.Codex_26.609.4994.0_x64__2p2nqsd0c76g026.609.4994.0chrome@openai-bundled26.609.41114, installed/enabledcomputer-use@openai-bundled26.609.41114, installed/enabledhehggadaopoacecdllhhajmbjkdcmajg1.1.5_0Profile 1.Steps already tried:
chrome@openai-bundledvia CLI.browser@openai-bundledstate.%USERPROFILE%\.codex\plugins\cache\openai-bundledfrom the current WindowsApps Codex package and re-added Chrome/Computer Use plugins.plugins/chrome/scripts/browser-client.mjs:27DCA86FD6B571C49414A4B78E46B57BCF683A46CD1319799C11FBB6CFAE3110plugins/chrome/extension-host/windows/x64/extension-host.exe:8FDFBDE04D68A0CFC66E9F0A0737E79CB308011C59F2DE99B80D1F7CBC0385B3plugins/chrome/.codex-plugin/plugin.json:51533AF990E3B15F41DD29A95D1312F739E9DF19ACC420AFD4850E1A1BEDE260Current result:
chrome@openai-bundledinstalled/enabled at26.609.41114.1.1.5_0.%LOCALAPPDATA%\OpenAI\extension\com.openai.codexextension.jsondoes not exist.HKCU\Software\Google\Chrome\NativeMessagingHosts\com.openai.codexextensiondoes not exist.Windows native host registry key does not exist: HKCU\Software\Google\Chrome\NativeMessagingHosts\com.openai.codexextension; Native host manifest does not exist: %LOCALAPPDATA%\OpenAI\extension\com.openai.codexextension.jsonBrowser is not available: extension.This looks like the Codex app/plugin install path is not running (or is failing before completing) the native host manifest/registry creation step, even when the bundled plugin cache is clean and current and the Chrome extension itself is installed/enabled.
Adding another current Windows reproduction. This still reproduces after a full Codex reinstall and repeated Chrome plugin reinstalls from the Codex plugin UI.
Environment:
OpenAI.Codex_26.609.4994.0_x64__2p2nqsd0c76g026.609.4994.0openai-bundled/chrome/26.609.41114hehggadaopoacecdllhhajmbjkdcmajg1.1.5_0DefaultWhat was tried:
chrome@openai-bundledis installed/enabled.What works:
check-extension-installed.js --jsonreports the Codex Chrome Extension is installed and enabled:What still fails:
%LOCALAPPDATA%\OpenAI\extension\com.openai.codexextension.jsonis not created.HKCU\Software\Google\Chrome\NativeMessagingHosts\com.openai.codexextensionis not created.Current native host diagnostic:
Health check summary:
config.toml: okcache for chrome@openai-bundled: okbrowser-client: okThis looks like the Chrome plugin install/repair UI is not running, or is silently failing before completing, the native host manifest + HKCU NativeMessagingHosts registration step. The failure persists even after the Store app and Codex app itself have been repaired/reinstalled.
I'm hitting this exact issue on a fresh Windows install and did some digging that might help narrow down the root cause. Environment: Windows 11, Codex Microsoft Store package OpenAI.Codex_26.623.11225.0_x64__2p2nqsd0c76g0 (latest as of writing), Chrome extension hehggadaopoacecdllhhajmbjkdcmajg v1.1.5_0 (installed and enabled, confirmed via the bundled check-extension-installed.js diagnostic).
This happens even after a completely clean reinstall. I fully uninstalled Codex (including the Store package via Get-AppxPackage | Remove-AppxPackage), rebooted, reinstalled from the Store, and used the in-app "reinstall Chrome plugin" option. Neither the manifest nor the registry key gets created:
{
"manifestPath": "C:\\Users\\<user>\\AppData\\Local\\OpenAI\\extension\\com.openai.codexextension.json",
"registryKey": "HKCU\\Software\\Google\\Chrome\\NativeMessagingHosts\\com.openai.codexextension",
"exists": false,
"correct": false,
"problem": "Windows native host registry key does not exist: ...; Native host manifest does not exist: ..."
}
(output from the bundled scripts/check-native-host-manifest.js --json)
What I ruled out, in case it's useful:
What would help debug this further: Codex doesn't appear to write any log file for this install step (no AppData\Local\Codex\Logs, no AppData\Roaming\Codex at all get created), so there's no way for users to see what's actually failing inside installManifest.mjs when the "reinstall Chrome plugin" action runs. Would it be possible to add logging around this step (e.g., a log line if execFile('reg', ...) fails, or if the manifest writeFile throws) so we can report back the actual error instead of just "it didn't work"?
Happy to run more diagnostics if someone can point me at what else would help.
I’m encountering the same issue on Windows after reinstalling the Chrome plugin numerous times through the ChatGBT (formerly Codex) plugin UI.
My diagnostics differ slightly from the original report:
Profile 326.623.101652Browser is not available: extension%LOCALAPPDATA%\OpenAI\extension\com.openai.codexextension.jsonRepeated plugin reinstalls do not recreate the manifest or restore the Chrome extension connection. This suggests the reinstall/repair flow can leave a stale registry entry pointing to a missing native-host manifest.
I maintain WinBridge Recovery, an independent Windows recovery tool focused on this exact class of Codex Desktop bundled-plugin state drift.
This issue is a strong match because the failure is not simply “Chrome extension missing”: the Chrome plugin can be present/current while both Native Messaging layers are absent:
%LOCALAPPDATA%\OpenAI\extension\com.openai.codexextension.jsonHKCU\Software\Google\Chrome\NativeMessagingHosts\com.openai.codexextensionWinBridge v3.1.1 diagnoses the current Store package, bundled marketplace, versioned plugin cache/
latest, Node/CLI/runtime paths, Native Host manifest, Chrome/Edge HKCU registration, andchrome-native-hosts-v2.jsonas separate layers. That helps distinguish a clean/current plugin cache from a failed Native Host reconciliation step instead of reinstalling everything blindly.The current recovery path can restore inconsistent user-side Native Host state with backup/rollback coverage. I am also moving the roadmap toward a safer default: restore/verify the official runtime + marketplace + plugin cache first, let Codex Desktop perform its own Native Host reconciliation when possible, then validate the result; direct manifest/registry reconstruction should remain a controlled fallback rather than the first action.
One diagnostic improvement I picked up from related reports: a checker that fails to execute
reg query(for examplespawnSync reg EPERM) should be reported asquery failed / indeterminate, not automatically asregistry key missing. WinBridge is tracking that distinction so it does not “repair” a registration that may already exist.The project only uses the official package already installed on the target machine and does not modify WindowsApps ownership/ACLs or bypass browser/enterprise policy.
I can reproduce this on Windows with the current Store build, even though Settings reports that the Chrome browser extension is installed and enabled.
Environment (sanitized):
OpenAI.Codex 26.810.7004.026.810.52044hehggadaopoacecdllhhajmbjkdcmajg1.2.27259.19709_0Observed state:
%LOCALAPPDATA%\OpenAI\extension\com.openai.codexextension.jsonis missingHKCU\Software\Google\Chrome\NativeMessagingHosts\com.openai.codexextensionis missing%USERPROFILE%\.codex\chrome-native-hosts-v2.jsonis missinglatestjunction is missingI also tested the community WinBridge Recovery v3.1.1 source at release commit
42262f1b0d34f12a07d8b3ea187ffe41498e9f85:latest, missing native manifest, both missing registry keys, and missingchrome-native-hosts-v2.json.This looks like a Desktop/plugin materialization and native-host registration failure, not a disabled Chrome extension. I am proceeding with a controlled, backed-up repair while Desktop is closed and will report the runtime result separately.
Recovery follow-up: the user-side native-host repair succeeded, and live Chrome control is working.
WinBridge Recovery v3.1.1 completed its static repair, but its generated registration covered only one extension origin while the current bundled Chrome plugin expects two. After aligning the registration with the current plugin's own extension-ID configuration, the bundled native-host diagnostic passed with no missing origins.
Final runtime verification also passed: Chrome was discovered as an extension-backed browser, a real Chrome tab was created through the extension, navigation to
https://example.com/succeeded, and the page title was read back asExample Domain.The official Desktop/plugin install path still failed to create this working registration on its own, so the original Windows bug remains reproducible even though this machine is now repaired.
Adding another current Windows reproduction, this time on ARM64 and a newer Microsoft Store build. The native-host failure persists after a full app uninstall/reinstall, and browser runtime initialization now also fails trusted-path validation.
Environment (sanitized)
26200.9168OpenAI.Codex_26.814.5167.0_arm64__2p2nqsd0c76g026.814.41407151.0.7922.138hehggadaopoacecdllhhajmbjkdcmajg1.2.27259.19709_0Profile 1Observed state
The current internal native-host state file exists:
%USERPROFILE%\.codex\chrome-native-hosts-v2.jsonIt has a current entry for app/plugin version
26.814.41407, both expected extension IDs, and the ARM64 host path:%USERPROFILE%\.codex\plugins\cache\openai-bundled\chrome\latest\extension-host\windows\arm64\extension-host.exeHowever, the externally required Native Messaging registration is still absent:
%LOCALAPPDATA%\OpenAI\extension\com.openai.codexextension.jsonHKCU\Software\Google\Chrome\NativeMessagingHosts\com.openai.codexextensionThe bundled diagnostic reports:
Chrome browser setup also fails before a Chrome backend can be selected:
Recovery attempts already completed
The result is unchanged. This appears to show two related/current failures: internal native-host state is materialized, but the Windows manifest/HKCU registration is not reconciled; separately, the Browser runtime rejects its bundled
browser-service.mjstrusted path.Additional reproduction on a newer Windows/Codex build
I can still reproduce this issue after removing and reinstalling the Chrome plugin through the Codex plugin UI.
I followed the current [Chrome extension troubleshooting guidance](https://learn.chatgpt.com/docs/chrome-extension#troubleshooting), including removing and re-adding the plugin. The reinstall did not restore Chrome connectivity.
Environment
26200.9168OpenAI.Codex_26.814.5167.0_x64__2p2nqsd0c76g026.814.41407hehggadaopoacecdllhhajmbjkdcmajg1.2.27259.19709_0Default2026-08-19(UTC+8)Installation result
The Codex desktop log reports a successful plugin installation:
The Chrome extension diagnostic also succeeds:
The reinstall now creates this manifest:
The manifest is valid and points to:
The
latestjunction andextension-host.exeboth exist.However, the required registry key is still absent:
check-native-host-manifest.js --browser chrome --jsonreports:A direct registry query also confirms that the HKCU Chrome
NativeMessagingHostskey does not exist.Reconciliation does not repair the incomplete installation
After the incomplete installation, the app considers both the plugin and extension current:
It then skips installation:
This suggests the plugin health/reconciliation check validates the plugin and Chrome extension but does not validate the native-host registry registration. As a result, the missing key is not self-healed.
Additional trusted-path runtime failure
There is also a second error before Chrome discovery can complete. Loading the Chrome plugin’s client:
fails with:
The Chrome client is loaded from the
chromebundle, but its RPC dependency resolves from the siblingbrowserbundle and is rejected by the trusted-path check. Resetting the browser JavaScript runtime and retrying produces the same error.This may be a separate packaging/trusted-root issue, but it also prevents Chrome from being used even before the missing native-host registry entry can be reached.
Likely fault boundaries
plugin_install_succeeded.browser-service.mjs, or the dependency is resolving from the wrong bundle.Expected behavior
I can provide the complete sanitized Codex desktop log if it would help.
Update 2026-08-20: Chrome control now works, but native-host diagnostic still fails
The functional problem appears resolved with this newer combination:
OpenAI.Codex_26.814.5517.0_x6426.814.41957I successfully:
The previous trusted-path error involving the sibling
browser-service.mjsis no longer present.However, the bundled diagnostic still reports:
The manifest and host executable exist, but this registry key remains absent:
Therefore, one of the following appears to be true:
check-native-host-manifest.jsoutdated for the new transport; orThe original user-facing failure is fixed for me, but the diagnostic and expected installation state are still inconsistent. It may be worth updating the diagnostic or clarifying whether the HKCU native-host key is still required.