Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
OpenAI.Codex_26.820.9563.0_x64__2p2nqsd0c76g0.
What subscription do you have?
Free
What platform is your computer?
Windows x64
What issue are you seeing?
Reproduced on the latest Windows Store build as of today (2026-08-27): OpenAI.Codex_26.820.9563.0_x64__2p2nqsd0c76g0.
Same signature as the original report — bundled_plugins_marketplace_resolve_failed / plugin_marketplace_folder_write_failed, errorCode=UNKNOWN, copyfile ... The specified file could not be encrypted. Confirmed via Copy-Item reproduction on the exact source file (plugins\chrome.codex-plugin\plugin.json), which has NTFS attributes Archive, Encrypted. robocopy succeeds on the same file (writes a plain, unencrypted copy); Copy-Item/Node fs.copyFile do not.
The codex plugin marketplace add workaround from the comments below no longer works on current builds. I fully robocopied the entire app\resources\plugins\openai-bundled package (826/826 files, including .agents\plugins\marketplace.json) into a user-owned directory and tried both (a) manually adding [marketplaces.openai-bundled] to config.toml, and (b) codex plugin marketplace add via codex-cli 0.150.1. (a) is silently ignored — codex plugin marketplace list never shows it. (b) now fails explicitly:
Error: marketplace openai-bundled is reserved and cannot be added from this source
So it looks like a newer build added a guard that rejects manually registering openai-bundled, which closes off the workaround several commenters below reported success with on older builds (~26.527.x). At this point there is no user-side workaround left that I can find — the fix has to come from either not attempting a copy that preserves EFS attributes, or reading bundled plugin metadata directly from the installed package instead of staging a copy.
Environment: Windows 11 (domain-joined lab-style hostname), Codex 26.820.9563.0, codex-cli 0.150.1, install via Microsoft Store.
What steps can reproduce the bug?
OpenAI.Codex_26.820.9563.0_x64__2p2nqsd0c76g0.
What is the expected behavior?
No response
Additional information
No response
Activity
github-actions commentedon Aug 27, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
zemeng5208 commentedon Aug 27, 2026
This looks like a high-confidence match for one of the Windows local-state failure classes I track. I maintain WinBridge Recovery: https://github.com/zemeng5208/winbridge-recovery
For this specific report, the relevant layer is the bundled marketplace materialization/staging path from the MSIX/WindowsApps payload into the user-writable Codex state. WinBridge can help diagnose whether the failure is specifically the Application Protected/EFS copy case (rather than a missing package, stale cache, or file lock), inspect incomplete
openai-bundled.staging-*/ managed marketplace state, and validate any user-side materialized copy against the packaged files before recovery attempts.The important limitation on current
26.820.9563.0is exactly what you found:openai-bundledis now reserved, so a manually copied marketplace cannot simply be re-registered throughconfig.tomlorcodex plugin marketplace add. WinBridge cannot change that product-side rule, modifyWindowsApps, bypass Application Protected/EFS, or guarantee a durable fix. If Codex keeps using a copy path that fails on the protected source every startup, the real fix still needs to be upstream (for example a decrypted-destination/stream-copy fallback or direct use of the packaged metadata).So in this case I would use WinBridge mainly to preserve/inspect the local staging state and separate recoverable user-state damage from the underlying
copyfileregression; I would not treat it as a substitute for the Codex-side fix.lixinlong1998 commentedon Sep 6, 2026
I can confirm this still reproduces on a much newer Windows Store build, and I was able to isolate the failure and recover Computer Use without modifying WindowsApps ACLs or decrypting the installed package.
Environment
Symptoms
codex plugin marketplace listdid not containopenai-bundled.The MSIX package itself did contain:
.agents/plugins/marketplace.jsonplugins/computer-useplugins/browserplugins/chromebut these did not exist under:
~/.codex/.tmp/bundled-marketplaces/openai-bundledThe key log failure was:
[BundledPluginsMarketplace] plugin_marketplace_folder_write_failed errorCode=UNKNOWNwith:
copyfile '...\openai-bundled\plugins\sites\.app.json' -> '~\.codex\.tmp\bundled-marketplaces\openai-bundled.staging-...\plugins\sites\.app.json'followed by:
bundled_plugins_marketplace_resolve_failedI checked the exact source file with:
cipher /c <path>\plugins\sites\.app.jsonResult:
E .app.jsonCompatibility Level: Application ProtectedA normal PowerShell copy reproduces the failure independently of Codex:
Copy-Item ...returns:
The specified file could not be encrypted.Importantly,
xcopy /Gsucceeds on the exact same file, and the resulting destination is unencrypted (U).I then used the following diagnostic workaround:
Fully quit Codex.
Copy the complete bundled marketplace using
xcopy /E /I /Y /G /Hfrom the MSIX package to:~/.codex/.tmp/bundled-marketplaces/openai-bundledConfirm
.agents/plugins/marketplace.jsonand.bundle-idexist.Add the reserved bundled root to config.toml:
[marketplaces.openai-bundled]source_type = "local"source = 'C:\Users\<user>\.codex\.tmp\bundled-marketplaces\openai-bundled'codex plugin marketplace listthen correctly showedopenai-bundled.codex plugin list --marketplace openai-bundledcorrectly showed:codex plugin add computer-use@openai-bundledRestart Codex Desktop.
After this, the Windows Computer Control settings immediately exposed "Any app", and Computer Use became functional.
One additional useful datapoint:
Changing the default AppX volume from
D:\WindowsAppsto the systemC:\Program Files\WindowsAppsand reinstalling Codex did NOT fix the problem. The freshly installed.app.jsonwas stillE / Application Protected, and normalCopy-Itemstill failed.So in this reproduction the root cause is not simply the AppX installation volume. It appears to be the copy semantics used when materializing Application Protected bundled resources into the user's Codex marketplace.
The fact that Windows
xcopy /Gsucceeds may be useful:/Gexplicitly creates decrypted destination files when necessary.I did not modify WindowsApps ACLs, ownership, or encryption attributes.
This workaround is obviously not suitable as a permanent user-facing fix, but it confirms that the bundled plugin contents and Computer Use runtime are otherwise valid.
Wynn-lim commentedon Sep 9, 2026
Reproduced on Windows Microsoft Store package 26.903.8094.0 on 2026-09-09. Computer Use is absent from the Plugins UI/search although its packaged files are present.
Sanitized diagnostics from this installation:
plugin_marketplace_folder_write_failed,folderWritePhase=copy_plugins, followed bybundled_plugins_marketplace_resolve_failed.<MSIX installation>/app/resources/plugins/openai-bundled/plugins/sites/.app.json; the target is the managedopenai-bundled.staging-<id>directory.Archive, Encryptedattributes.fs.copyFileSyncfailure: codeUNKNOWN, errno-4094.fs.readFileSyncand writing it withfs.writeFileSyncsucceeds (105 bytes).Potentially actionable detail: inspection of the shipped
windows-file-copy-Dm31CRG0.jsshows that a stream-copy fallback already exists, but its error predicate checkserror.errno === 6000. The reproduced error is-4094, so that fallback is not selected in this case. Please investigate whether confirmed encrypted-resource copy failures should reach the existing fallback; this is not a suggestion to indiscriminately suppress every UNKNOWN error.Standard CLI recovery also fails: adding the packaged marketplace reports that
openai-bundledis reserved; directly installingcomputer-use@openai-bundledreports the plugin was not found.No WindowsApps files, application code, ACLs, or feature gates were modified. After restarting, the Computer Use runtime could enumerate apps and read an Explorer accessibility tree, but the plugin directory entry remained missing. This suggests that runtime connectivity and bundled-marketplace materialization should be diagnosed separately. Other availability conditions after successful materialization remain unverified.
seamusmore commentedon Sep 13, 2026
Additional reproduction and tested fallback candidate — Windows package 26.908.4834.0
Submitted by Codex on behalf of the affected user, with their explicit authorization. This adds an independent reproduction and whole-marketplace validation to the error-code mismatch already reported above.
Environment and impact
OpenAI.Codex_26.908.4834.0_x64__2p2nqsd0c76g0; app-reported build26.908.40834.v24.20.0,win32.Reproduced failure
The source
<package>/app/resources/plugins/openai-bundled/plugins/sites/.app.jsonhasArchive, Encryptedattributes. Repeated desktop logs show:File.Copyreports “The specified file could not be encrypted.”fs.copyFilereports{code:"UNKNOWN", errno:-4094, syscall:"copyfile"}.Existing fallback is skipped
The shipped
app.asar/.vite/build/windows-file-copy-Dm31CRG0.jsalready has file/directory stream-copy fallback, a Windows guard, a timeout, and a reparse-point rejection. Its error predicate only acceptserror.errno === 6000. The observed-4094does not enter that fallback.A candidate predicate tested locally, expressed as a readable source-level diff:
This is a review candidate. UNKNOWN is generic and does not uniquely establish encryption. The added branch allows the existing content-copy fallback for the narrowly matched copyfile failure; production review should consider a more precise native error signal and validate partial-write cleanup/overwrite behavior. Keep the existing Windows guard, timeout, reparse-point handling, and staging cleanup. Fallback logging should also report the actual error code rather than hardcoding 6000.
Actual validation
The original and modified extracted helpers were evaluated using the app-bundled Node and real encrypted package resources. Only the logger and bundler interop shim were stubbed; filesystem operations and Windows errors were real.
Requested durable fix
Please fix the shared resource-copy path and add regression coverage for the app-bundled Node's error mapping, so initial setup, future app upgrades, and newly bundled plugins can materialize on supported installation/cache volumes.
The installed application, its ACLs, encryption attributes, configuration, and active plugin cache were left unchanged. These tests verify the helper and file integrity; UI restoration and upgrade survival have not been validated. Usernames, private paths, session contents, and full logs are omitted.
shshdfxh-cloud commentedon Sep 15, 2026
Additional verification on current stable Windows package 26.908.9136.0 (app version 26.908.70816), checked on 2026-09-15. The production Windows update manifest still identifies this build as current.
This confirms the error-mapping mismatch already reported in #41164, with a direct native check and an isolated version-transition test:
OpenAI.CodexWindows package identity.CopyFileWon the failing packagedplugins/sites/.app.jsonreturns 6000 (ERROR_ENCRYPTION_FAILED).{code:"UNKNOWN", errno:-4094, syscall:"copyfile"}for the same source.windows-file-copy-Dm31CRG0.jsfallback predicate still only acceptserror.errno === 6000.Using an unmodified extracted helper reproduces the failure. In an isolated copy of that helper, permitting the narrowly matched
UNKNOWN/-4094/copyfilecase to reach its existing stream-copy fallback succeeds with identical bytes. EACCES, EPERM, ENOENT and an unrelated UNKNOWN/stat remain failures.A copy-stage transition from the real 26.901.41600 Chrome cache to the current encrypted 26.908.70816 packaged resources also succeeds with the candidate: all 382 new-version files match their sources byte for byte. This tests the installation copy phase, not a complete live application upgrade. No installed application code, ACLs, encryption settings, feature gates, or update mechanisms were modified for these tests.
The practical impact remains that Settings-driven bundled-plugin setup can fail before generating/updating
chrome-native-hosts-v2.json. Restoring current runtime files and invoking the existing native-host synchronization logic recovered both Chrome and Cent browser connections, but this is not a durable replacement for a functioning official installation/update path.Please fix the production error mapping/fallback selection and cover this case in initial-install and app-upgrade regression tests. UNKNOWN is generic, so a more precise native error signal may be preferable for production.
brandenburger0726 commentedon Sep 24, 2026
Additional reproduction on Windows 11, build 26200, with OpenAI.Codex_26.917.9434.0_x64__2p2nqsd0c76g0. The same copy-stage failure was also observed on package 26.917.6896.0.
Impact
The bundled marketplace preparation fails on the Chrome plugin manifest, and the shared installation failure leaves codex-app-tools uninstalled. Cross-task tools (send_message_to_thread, read_thread, wait_threads) and automation_update are absent from the affected session. Local shell and project file access work, so widening project permissions does not address this upstream failure.
Verified startup timeline
Desktop log, 2026-09-24 UTC (2026-09-25 JST):
Sanitized error excerpt from line 127 of the startup log:
The core loader subsequently reports:
Checks and limitations
Could the Windows bundled-marketplace copy path handle these packaged-source copy failures more robustly, preserve the underlying Windows error, and avoid one bundled plugin's copy failure preventing codex-app-tools installation?
itlatte commentedon Oct 5, 2026
Same failure on the current Windows build, with a clean reproduction of the EFS cause. Adding data in case it helps.
Environment
OpenAI.Codex 26.930.4958.0, Windows 11 Pro (build 26300)C:\Program Files\WindowsApps\OpenAI.Codex_…is a junction toD:\WindowsApps\…)fsutil behavior query disableencryption→DisableEncryption = 0, EFS service running), so this is not the "Windows Home has no EFS" caseWhat happens
plugin_marketplace_folder_write_failed(folderWritePhase=copy_plugins) thenbundled_plugins_marketplace_resolve_failed,UNKNOWN: unknown error, copyfile '…\app\resources\plugins\openai-bundled\plugins\chrome\.codex-plugin\plugin.json' -> '%USERPROFILE%\.codex\.tmp\bundled-marketplaces\openai-bundled.staging-…\…'%USERPROFILE%\.codex\plugins\cache\openai-bundled\never gets created.-c [email protected]_servers.codex_app.enabled=true, but core logsfailed to load plugin: plugin is not installed plugin="codex-app-tools@openai-bundled" path=%USERPROFILE%\.codex\plugins\cache\openai-bundled\codex-app-tools.resources/list failed: unknown MCP server 'codex_app', and the old dynamiccodex_app__read_threadsays to use thecodex_appMCP server instead. So task delegation / thread reading between agents is unavailable, in addition to Computer Use / Browser / Chrome.Reproduction of the root cause
…\app\resources\plugins\openai-bundled\have theEncryptedattribute.Copy-Itemofplugins\codex-app-tools\.codex-plugin\plugin.jsonto a normal folder →The specified file could not be encrypted.xcopy /G(copy allowing a decrypted destination) of the same file → succeeds, destination not encrypted.So the staging copy needs decrypted-destination semantics (e.g.
COPY_FILE_ALLOW_DECRYPTED_DESTINATION, or a read/write stream copy) for EFS/Application-Protected package files. The same failure was already in my logs on 2026-09-23 and is still there after updating to 26.930.4958.0. The config.toml marketplace workaround is rejected asreserved, so there is currently no supported way to getcodex-app-toolsinstalled on this machine.Happy to provide more logs (with paths redacted) if useful.
almeziashop commentedon Oct 9, 2026
Hello,
I'm experiencing the same issue with the ChatGPT Windows desktop app.
Environment:
Errors:
marketplace.json does not existplugin_marketplace_folder_write_failedUNKNOWN: unknown error, copyfileThe bundled-marketplaces directory remains empty.
The
cipher /ccommand confirms that the sourceplugin.jsonfile is encrypted and marked as "Application Protected".Already attempted:
None of these actions resolved the issue.
Feedback ID:
no-active-thread-01a1227f-afa6-7330-b237-56b4fcc64468Could you confirm whether a fix is planned for this issue?
Thank you.
CFMAGIC-ai commentedon Oct 11, 2026
I can confirm the same issue on a newer Windows Codex build.
Environment
Observed failure
The failed copy involves
codex-app-tools/.codex-plugin/plugin.jsoninside the WindowsApps package and the correspondingopenai-bundled.staging-*directory.The original files exist and are marked
Encrypted / Application Protected.The required
browser-service.mjsruntime cache is missing, and Computer Use is unavailable in the Plugins UI.Troubleshooting performed
backend=windows_mxc)The installed fallback copy logic checks
errno === 6000. The current application's errno was not captured, although a previous separate Node reproduction returnedUNKNOWN / -4094.Please investigate the bundled marketplace copy fallback and provide a durable fix that preserves existing projects and conversations.
Previous feedback ID:
01a0d2ea-2b26-75a2-aa7f-1e277527bf40dev2089 commentedon Oct 16, 2026
I reproduced the bundled Browser failure on the current Windows install and recovered it without changing the MSIX package.
Environment:
The app bundle contained the complete Browser plugin, but the expected user cache directory and browser-service.mjs were missing. The configured trusted service path pointed to:
D:\codex-data\plugins\cache\openai-bundled\browser\26.1013.31256\scripts\browser-service.mjs
I copied the complete Browser plugin from the installed package using a decrypted-destination copy, then compared every file with SHA-256:
After restarting the Browser runtime, setup succeeded. I opened example.com, httpbin.org/forms/post, and github.com/openai/codex/issues. DOM snapshots, semantic locators, form filling, checkbox clicks, screenshots, history navigation, and tab listing all worked.
This looks like the same bundled-marketplace materialization problem described here, with the additional point that a complete byte-identical user-side copy is usable once the expected versioned service path exists.
danySFG commentedon Oct 17, 2026
Additional reproduction on a newer Windows Codex build (2026-10-17)
I am reporting a matching bundled plugin marketplace copy/materialization failure, with downstream Browser/Chrome integration failure. This is based on local diagnostics reported by the affected user; the raw diagnostic log is not attached.
Version chain
OpenAI.Codex 26.1013.4894.0.26.1013.40934(the packagedscripts/browser-service.mjsexists).26.1013.40934.26.924.20706.browser/26.1013.40934cache directory is incomplete: after a narrow manual diagnostic recovery it contains justscripts/browser-service.mjs, with no plugin manifest or skill instructions. SHA-256 matched the signed-package source. This isolated file restoration did not repair marketplace materialization or Chrome access.Errors observed
The installed version differs from the stale cached version, and the application's own startup logs repeatedly report the marketplace write failure. The user last observed the failure at approximately 2026-10-17 21:23 Europe/Prague. The failure also affects materialization of the separate
chromeplugin.Additional checked facts
%USERPROFILE%\.codex\plugins\cache\openai-bundled\chromedid not exist.Browser is not available: chrome.Expected behavior: desktop app updates should materialize the matching signed bundled marketplace and both Browser/Chrome plugins, with valid manifests, skills, and native-host setup. When the copy fails, report the underlying Windows error rather than
UNKNOWNand recover automatically.Actual behavior: app package and expected runtime are current, but user runtime cache/marketplace remains stale or incomplete, leading to version mismatch and unavailable Chrome backend.
This looks related to #47443 (stale Browser cache vs expected version) and #53306 (Chrome browser unavailable), though these may not share a single root cause. Please investigate the Windows bundled-plugin marketplace copy path, including handling of encrypted MSIX package source files as described in this issue.
Sensitive usernames, private project URLs, browser contents, credentials, and full local log paths have been omitted.
danySFG commentedon Oct 17, 2026
Follow-up: exact diagnostic-log confirmation (2026-10-17)
After the initial report, I reviewed the user's desktop application diagnostic log. The following entries confirm that the bundled marketplace write failure is reproducible and that Browser version mismatch follows it:
plugin_marketplace_folder_write_failed errorCode=UNKNOWNduring Nodecopyfileofplugins/codex-app-tools/.codex-plugin/plugin.jsonfrom the current signed WindowsApps package into theopenai-bundled.staging-*user-cache marketplace.bundled_plugins_reconcile_failed errorMessage="Bundled CUA skill version mismatch: browser".errorCode=UNKNOWNmarketplace staging failure specifically copyingplugins/chrome/.codex-plugin/plugin.json.EBUSY: resource busy or lockedcopyingplugins/codex-app-tools/.codex-plugin/plugin.jsontoexecutor-plugins. This supports investigating file locks but does not establish that EBUSY is the cause of theUNKNOWNmarketplace error.browser_use_availability_resolved available=true release=26.1013.40934, even though plugin reconciliation fails and agent Chrome discovery remains unavailable.codex_appsMCP initialization failure appears in the same session:HTTP request failed: error decoding response body, when send discover request. This may affect connected apps (including Google Drive) but is not asserted to share the Browser-plugin copy failure's root cause.The latest failure in this log occurred at 21:23:29 Europe/Prague (19:23:29 UTC). These observations are quoted in normalized, privacy-redacted form, without uploading the full log, host username, private project information, or conversation identifiers.
Potential diagnostic priority: report the underlying OS/copy failure rather than
UNKNOWN, and ensure an unsuccessful bundled marketplace update does not leave an older Browser plugin and absent Chrome integration active.gguoyc commentedon Oct 19, 2026
Direct reproduction and live recovery verification - Windows package 26.1013.4894.0 (2026-10-19)
Confirming the earlier error-mapping reports with a direct reproduction on this package, an unmodified production-helper comparison, and subsequent live application verification.
Environment and impact
OpenAI.Codexpackage: 26.1013.4894.0, reported signature kindStore, package statusOk.cua_node/bin/node.exe.codex-app-toolsunavailable, soread_threadwas absent from the agent's tool list. This was tool-registration failure, not a failed request to read an existing conversation. Other bundled plugins were also affected.Same-file copy comparison
Tested packaged resource, relative to
app/resources:The source exists, is readable, and has the Windows
Encryptedattribute. Direct measurements repeated on 2026-10-19:CopyFileWto an ordinary writable destinationGetLastError() == 6000fs.copyFileSynccode=UNKNOWN,errno=-4094,syscall=copyfileMinimal Node reproduction, using the package-matched Node executable and the packaged file above as
process.argv[2]:Shipped fallback and production-helper verification
Read-only inspection of this package's
windows-file-copy-B2PsciEv.jsshows the fallback predicate is equivalent to:The shipped minified constant is
c=6e3; the predicate compareserror.errno===c. The actual Node-4094therefore does not select the existing fallback in this reproduction.Production-helper SHA-256:
I executed that helper without changing its code or predicate, using real Node
fs.cp; only logger/bootstrap dependencies were stubbed:UNKNOWN / -4094 / copyfile.app.asarand reproduced RED/GREEN on the five-filecodex-app-toolsdirectory.These are extracted-helper tests, not instrumentation of Electron's live exception object. The live recovery below is separate evidence.
Live application verification after diagnostic recovery
For diagnosis, I selected a same-version ordinary resource mirror through the resource-root override present in this build and restarted the app. The mirror included the CLI dependencies and a verified Node runtime locator. No installed MSIX files,
app.asar, package ACLs, ownership, or source encryption attributes were changed;CODEX_HOMEand existing conversation data were retained.Normalized, path-redacted desktop log entries:
plugin_marketplace_folder_write_failedentry appeared in the inspected restarted-process log.read_threadcalls successfully read three previously referenced conversations.about:blanktab successfully; no test tab remained.Limits: Chrome itself still had no available connection, so Chrome end-to-end operation is not claimed. The newer local version-checking launcher has only been tested with a launch plan and fixtures; its cold start and survival of a future real application upgrade are not validated. The fixed-version mirror's maintenance cost is a workaround limitation, not a separate proven product defect.
Please fix the shared Windows protected-resource copy/fallback path and cover both initial materialization and application upgrades with the bundled runtime's actual error mapping.
UNKNOWNis generic, so production handling should use sufficiently precise native/source context and retain normal failures for permission, missing-file, and disk-space errors.Only normalized diagnostics, public package identifiers and file hashes are included here. Usernames, private paths, project details, conversation/session identifiers, browser contents, credentials, raw logs, configuration backups and binaries are omitted.
zaigaigai5-glitch commentedon Oct 24, 2026
[CODEX] Additional matching symptom on Windows x64, observed 2026-10-24.
Versions: installed desktop/MSIX package
26.1016.6573.0; running CLI0.163.0-alpha.11.User action / actual result: opening Settings > Browser / Browser Use reports that
<CODEX_HOME>/.tmp/bundled-marketplaces/openai-bundled/.agents/plugins/marketplace.jsondoes not exist. Read-only filesystem checks confirm the entire finalopenai-bundleddirectory is absent. Expected: the bundled marketplace initializes and the Browser settings can load it.Existing log excerpts, personal paths replaced:
A separate existing entry fails copying
plugins/latex/.codex-plugin/plugin.jsonin the same way.The installed package's original marketplace JSON is present, parses successfully, and includes
browser. These observations localize the symptom to bundled-resource staging; they do not establish the underlying Windows error or confirm the encryption/fallback mechanism discussed above.No update/restart comparison, manual resource copy, cache deletion, ACL change, or workaround was performed in this diagnostic pass. No relationship to any separate browser-process crash is asserted. This adds current-version evidence to the existing issue, with no full logs, session transcript, configuration, or diagnostic attachments.