Windows Codex Desktop notification click launches Electron with type=click&tag as app path
What version of Codex App are you using?
26.527.3686.0
What platform is your computer?
Windows x64
What issue are you seeing?
Clicking a Windows toast notification from Codex opens an Electron error dialog instead of focusing/opening the Codex app. The Codex app itself can run normally; the failure is specific to clicking the Windows notification.
The error dialog says:
Error launching app
Unable to find Electron app at C:\Program Files\WindowsApps\OpenAI.Codex_26.52...\type=click&tag=<notification-tag>
Cannot find module 'C:\Program Files\WindowsApps\OpenAI.Codex_26.52...\type=click&tag=<notification-tag>'
This looks like the toast activation payload (type=click&tag=...) is being appended/interpreted as an Electron app path rather than being handled as notification activation data.
Steps to reproduce
- Install/run Codex Desktop for Windows from the Microsoft Store package.
- Wait for a Codex Windows toast notification.
- Click the notification in the bottom-right toast/notification center.
- Observe the Electron "Error launching app" dialog.
Expected behavior
Clicking a Codex notification should focus/open Codex and route to the relevant conversation/message, or at minimum do nothing gracefully. It should not launch Electron with the notification click payload as an app path.
Troubleshooting already attempted
- Verified the AppX package is installed and Codex launches normally.
- Verified the AppUserModelID is
OpenAI.Codex_2p2nqsd0c76g0!App. - Cleared Codex notification history.
- Attempted AppX re-registration, but it was blocked while Codex background processes were still running.
- New notifications can still reproduce the same
type=click&tag=...error.
Additional information
This report intentionally omits local usernames, local file paths outside the standard WindowsApps package path, notification tag values, screenshots, and machine-specific identifiers.
8 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I can confirm this still reproduces after clearing Windows notification history, fully exiting Codex, reopening Codex, and rebooting Windows.
Environment observed locally:
C:\Program Files\WindowsApps\OpenAI.Codex_26.527.3686.0_x64__2p2nqsd0c76g0\...The failing dialog continues to show a fresh notification activation payload each time, for example:
The
tagvalue changes between occurrences, so this does not appear to be only a stale notification-center entry. It still looks like new Windows toast activation arguments are being interpreted as an Electron app path.Temporary workaround is to disable Codex notifications in Windows settings, but that means notification click routing remains unusable.
Additional evidence: the same Electron launch error also occurs when invoking Codex from the Codex Chrome extension. In that case, the path ends with
google-chromeinstead oftype=click&tag=....This suggests the issue is not limited to Windows toast notifications. External activation arguments such as
type=click&tag=...andgoogle-chromeappear to be interpreted as an Electron app path under the AppX WindowsApps directory.I also checked the Chrome Native Messaging host registration and manifest path locally; they appear to point to the expected Codex extension host, so this does not look like a broken Chrome native host manifest.
I can reproduce this on another Windows Codex Desktop install, and one extra data point may be useful: a successful AppX re-registration did not fix the issue.
Environment:
OpenAI.Codex_26.527.3686.0_x64__2p2nqsd0c76g026.527.3686.0Minimal repro from PowerShell:
Observed result:
That new process opens the Electron dialog:
Troubleshooting performed:
codex://protocol overrides underHKCU\Software\Classes\codex.AppXybfp6cjpb1wf0pftw0fd4bz59gzn1401overrides.The registration completed successfully, and
HKCR\AppXybfp6cjpb1wf0pftw0fd4bz59gzn1401\Shell\open\commandwas restored to:However, triggering
codex://?type=click&tag=...still launched a newCodex.exeprocess with the raw URI as a normal argument and reproduced the Electron app-path error.Temporary local workaround:
Overriding the user-level
AppXybfp6cjpb1wf0pftw0fd4bz59gzn1401\Shell\open\commandto a no-opwscript.exehandler stops the popups, but it also disablescodex://deep link activation entirely. So this is only a workaround, not a real fix.This makes it look like the AppX protocol activation reaches
Codex.exe, but the Windows deep link / notification activation argument is not being consumed before Electron interprets it as an app path.Adding another Windows repro from Codex Desktop.
Environment:
OpenAI.Codex_26.527.3686.0_x64__2p2nqsd0c76g0C:\Program Files\WindowsApps\OpenAI.Codex_26.527.3686.0_x64__2p2nqsd0c76g0app\Codex.exeandapp\resources\app.asarare present%LOCALAPPDATA%\OpenAI\Codex\bincodexprotocol registration exists under HKCU/HKCRTrigger observed by user: tabbing/focusing back into Codex after receiving/returning from a desktop notification.
Observed dialog:
Screenshot from the affected machine: https://i.imgur.com/ghe8f7v.png
This appears to be the same notification/deep-link activation path issue where the
type=click&tag=...payload is interpreted as an Electron app/module path rather than activation data.Repro confirmed on Windows 11 with Codex Desktop 26.527.3686.0.
Steps to reproduce
Expected result
The existing Codex window should be focused, or the completed thread should open.
Actual result
Windows launches a fresh packaged Codex activation and shows an Electron error dialog instead of focusing Codex.
The dialog says:
Error launching app
Unable to find Electron app at
C:\Program Files\WindowsApps\OpenAI.Codex_26.527.3686.0_x64__2p2nqsd0c76g0\...\type=click&tag=...Cannot find module
C:\Program Files\WindowsApps\OpenAI.Codex_26.527.3686.0_x64__2p2nqsd0c76g0\...\type=click&tag=...Environment
OpenAI.Codex_26.527.3686.0_x64__2p2nqsd0c76g0OpenAI.Codex_2p2nqsd0c76g0!AppEvidence
Microsoft-Windows-AppModel-Runtime/Adminlogs a freshOpenAI.Codex_2p2nqsd0c76g0!Applaunch when the popup is clicked.Microsoft-Windows-PushNotifications-Platform/Operationalshows the toast being delivered immediately before the error.Workarounds tried
codex:protocol overrideAdding another Windows repro that appears to be the same AppX/Electron activation routing bug, this time triggered while trying to use the bundled Browser plugin from Codex Desktop.
Environment observed:
OpenAI.Codex_26.527.7698.0_x64__2p2nqsd0c76g0openai-bundled/browser/26.527.60818openai-bundled/computer-use/26.527.60818Observed behavior:
Additional notes from inside the Codex session:
.codex-plugin/plugin.jsonandscripts/browser-client.mjsboth existed under the plugin cache.jsexecution tool required by the Browser plugin skill (mcp__node_repl__js), so the in-app browser backend was not usable from the agent.Expected behavior:
Invoking the bundled Browser plugin should initialize the Browser/IAB backend or report a normal plugin availability error. It should not cause Electron to interpret
google-chromeas an app/module path under the WindowsApps Codex package directory.This looks consistent with the existing report: external activation/backend arguments such as
google-chromeare being interpreted as an Electron app path instead of being routed/handled by the Codex desktop app.Workaround!!
**1. Go to Chat GPT Connector Settings Link
<img width="1837" height="1337" alt="Image" src="https://github.com/user-attachments/assets/b094bb11-1f8c-4b6c-aede-a12fc317b945" />
3. Then you click the right arrow on the app
<img width="992" height="785" alt="Image" src="https://github.com/user-attachments/assets/1aa28298-6de0-4059-b5ae-c87d79e6da02" />
4. connect app on this page
<img width="791" height="692" alt="Image" src="https://github.com/user-attachments/assets/4d8531e0-b35b-451b-9321-38192db5126b" />
5. Then simply restart your codex desktop app (crash it via task manager) and the plugin should be enabled and auth should be callable when selecting it from the plugins menu
<img width="537" height="440" alt="Image" src="https://github.com/user-attachments/assets/784dc55f-0c40-4172-94cd-33726c77460c" />