Skip to content

[Windows] Bundled plugins (Computer Use, Browser, Chrome, LaTeX) unavailable — copyfile fails on EFS-encrypted WindowsApps files #25220

Open

Description

@lumingfei334-create

内容:

Environment

  • Codex version: 26.527.3686.0 (also reproduced on 26.519.11010.0)
  • OS: Windows 11 Home China (Build 26200)
  • Install method: Microsoft Store

Description

All bundled plugins (Computer Use, Browser, Chrome, LaTeX) show as unavailable in the plugin marketplace. The logs show two related errors:

Error 1: Marketplace copy fails

Node.js copyfile cannot copy plugin manifests from C:\Program Files\WindowsApps\ to the user's .codex\.tmp\bundled-marketplaces\ staging directory. This affects all 4 bundled plugins.

Error 2: Computer Use native pipe startup fails

Computer Use native pipe fails with "Windows Computer Use helper paths are unavailable", reason=missing-helper-path.

Logs

Marketplace resolve failure (affects browser, chrome, computer-use, latex):
[BundledPluginsMarketplace] bundled_plugins_marketplace_resolve_failed errorCode=UNKNOWN
errorMessage="UNKNOWN: unknown error, copyfile 'C:\Program Files\WindowsApps\OpenAI.Codex_26.527.3686.0_x64__2p2nqsd0c76g0\app\resources\plugins\openai-bundled\plugins\computer-use.codex-plugin\plugin.json' -> 'C:\Users...\bundled-marketplaces\openai-bundled.staging-...\plugins\computer-use.codex-plugin\plugin.json'"

Computer Use native pipe failure:
[computer-use-native-pipe] computer-use native pipe startup failed
errorMessage="Windows Computer Use helper paths are unavailable"
errorStack="Error: Windows Computer Use helper paths are unavailable
at Ft (E:\WindowsApps\OpenAI.Codex_26.527.3686.0_x64__...\main-DGcSGf52.js:7:12783)"

Bundled plugins reconcile skipped:
[bundled-plugins] bundled_plugins_reconcile_skipped_features_unavailable reason=focus

Suspected Root Cause

Files in C:\Program Files\WindowsApps\ are protected by EFS (Encrypting File System). Node.js fs.copyFile / fs.cp cannot handle EFS-encrypted files when copying outside the package directory. Manual testing confirmed Copy-Item and robocopy also fail with "The specified file could not be encrypted".

Workaround Attempted

Manually reading files with System.IO.File.ReadAllBytes and writing to user .codex\plugins\ succeeded for text and binary files, but the app does not recognize manually-placed plugins.

Steps to Reproduce

  1. Install Codex from Microsoft Store on Windows 11
  2. Open Codex → Plugins
  3. Observe that Computer Use, Browser, Chrome, LaTeX show as unavailable

Activity

  1. added
    bug
    app
    windows-os
    skills
    on May 30, 2026
  2. github-actions commented on May 30, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. Statusnone420 commented on May 30, 2026

    @Statusnone420

    Additional data point from the same Windows Store build family. This appears to affect more than just Computer Use; other bundled plugins are also missing/unavailable in the UI after the update.

    Environment:

    • OS: Windows 11 Pro
    • Codex package: OpenAI.Codex_26.527.3686.0_x64__2p2nqsd0c76g0
    • Installed via Microsoft Store / Windows Update
    • Windows Update installed the Codex update on May 29, 2026

    Symptoms:

    • Settings > Computer use shows: Computer Use plugins unavailable
    • Other bundled plugins also appear missing/unavailable after the update
    • computer-use is still enabled in config.toml
    • Computer Use plugin files exist on disk
    • Installed app bundle contains computer-use plugin version 26.527.31326
    • Local plugin cache still has computer-use version 26.527.30818
    • chrome@openai-bundled logs missing or invalid plugin.json

    Computer Use health check fails before reaching Windows automation:

    Computer Use native pipe path is unavailable
    

    Node REPL runtime state:

    hasNativePipeObject: false
    hasCreateElicitation: true
    SKY_CUA_NATIVE_PIPE_DIRECTORY: missing
    nodeRepl.nativePipe: missing
    

    Process / pipe evidence:

    No running codex-computer-use process
    No Computer Use named pipe under \\.\pipe\
    

    There had been a codex-computer-use client alive earlier on May 29, but after the update/restart there is no helper process and no native pipe available to the plugin session.

    This looks like Codex Desktop is failing to reconcile/start/expose the bundled plugin native IPC services after the update, rather than the user disabling Computer Use or the plugin being completely absent.

  4. Koratun commented on May 30, 2026

    @Koratun

    I submitted a bug report (019e77ef-a2c0-73c1-aeee-01cfffa81c1a contains details) showing that after the most recent public update Computer Use shows the same pipe missing error and Chrome plugin has regressed and no longer functions. This is the most similar open issue I could find to my errors. I have replicated the issue on three separate devices and 2 different ChatGPT accounts. Running Diagnose issues in Codex Workspace returns Codex dependencies look healthy.

  5. Statusnone420 commented on May 30, 2026

    @Statusnone420

    Follow-up: full clean reinstall resolved this on my machine.

    I do not know if this confirms the root cause, but it may help narrow the failure mode.

    What fixed it for me:

    • Fully uninstalled the Codex Windows app
    • Fully uninstalled the Codex CLI
    • Closed/killed remaining Codex-related processes
    • Deleted remaining .codex folders under my user profile
    • Reinstalled the Codex Windows app
    • Reinstalled the Codex CLI
    • Reopened Codex and confirmed bundled plugins were available again

    Important detail from cleanup: deleting .codex was initially blocked by a bundled Chrome extension-host.exe path inside .codex plugin/cache/temp folders, which makes me think stale or locked per-user bundled plugin state may survive the app update and prevent the updated app from reconciling/starting bundled plugins cleanly.

    After the clean reinstall, Computer Use works again for me.

    I would not recommend this as a normal user workaround without warning, because deleting .codex is effectively a destructive reset. But as a diagnostic datapoint: clearing the app/CLI plus per-user .codex state fixed the bundled plugin unavailable state on Windows 11 Pro.

  6. 2agathon commented on May 30, 2026

    @2agathon

    Adding another Windows reproduction with extra diagnostics. I originally suspected this might be a local cache/home migration issue, but after a clean reset and reinstall it still reproduces.

    Environment

    • Codex app package: OpenAI.Codex_26.527.3686.0_x64__2p2nqsd0c76g0
    • Install method: Microsoft Store
    • OS: Windows 11, x64
    • Network/region checks: reproduced with system-level egress in both Singapore (SG) and United States (US), so this does not look like only the EEA/UK/CH region gate.
    • Accounts: reproduced with two different ChatGPT/Codex accounts on the same Windows machine.

    User-visible symptom

    Settings → Computer Use shows:

    Computer Use plugins unavailable
    Always-allowed apps
    None yet
    

    No Install button is shown.

    What was tried

    1. Clean home/config/cache migration check

    The Codex/Claude home path changes were ruled out:

    • CODEX_HOME and CODEX_SQLITE_HOME cleared.
    • Codex active home reset to %USERPROFILE%\.codex.
    • Later performed a full clean reset: moved/removed .codex, %LOCALAPPDATA%\OpenAI\Codex, %LOCALAPPDATA%\Packages\OpenAI.Codex_2p2nqsd0c76g0, cleared workaround env vars, uninstalled Codex, rebooted, reinstalled from Store.
    • After clean reinstall and login, Computer Use still showed unavailable.

    2. WindowsApps/Application Protected copy behavior

    Source files inside the Store package show EFS/Application Protected behavior. Copy-Item fails when copying from C:\Program Files\WindowsApps\OpenAI.Codex_26.527.3686.0_x64__2p2nqsd0c76g0\app\resources\...:

    The specified file could not be encrypted.
    

    Directory EFS pollution was ruled out: %TEMP%, %LOCALAPPDATA%, %USERPROFILE%, C:\Users\Public, C:\Windows\Temp, and D:\data\save_tmp all showed U / “New files added to this directory will not be encrypted.”

    Observed copy-method difference:

    • Copy-Item: fails with The specified file could not be encrypted
    • cmd copy /b: fails with the same error
    • robocopy: succeeds
    • .NET File.Copy: succeeded in one source copy test, but later the safer workaround was to use robocopy

    3. Manual prewarm workaround did not make the app recognize Computer Use

    Manually copied/prewarmed these binaries to %LOCALAPPDATA%\OpenAI\Codex\bin:

    codex.exe
    node.exe
    node_repl.exe
    rg.exe
    codex-command-runner.exe
    codex-windows-sandbox-setup.exe
    

    Verified local bin was unencrypted:

    U bin
    

    Also copied/decrypted bundled marketplace/plugin cache:

    %USERPROFILE%\.codex\.tmp\bundled-marketplaces\openai-bundled
    %USERPROFILE%\.codex\plugins\cache\openai-bundled
    

    Verified important files were present and U:

    %USERPROFILE%\.codex\plugins\cache\openai-bundled\.agents\plugins\marketplace.json
    %USERPROFILE%\.codex\plugins\cache\openai-bundled\plugins\computer-use\.codex-plugin\plugin.json
    

    Also tried adding the bundled marketplace and enabling plugins in %USERPROFILE%\.codex\config.toml:

    [marketplaces.openai-bundled]
    source = '\\?\C:\Users\Administrator\.codex\plugins\cache\openai-bundled'
    
    [plugins."browser@openai-bundled"]
    enabled = true
    
    [plugins."chrome@openai-bundled"]
    enabled = true
    
    [plugins."computer-use@openai-bundled"]
    enabled = true
    
    [plugins."latex@openai-bundled"]
    enabled = true

    Also set helper env vars based on a community workaround:

    CODEX_CLI_PATH=%LOCALAPPDATA%\OpenAI\Codex\bin\codex.exe
    NODE_REPL_NODE_PATH=%LOCALAPPDATA%\OpenAI\Codex\bin\node.exe
    

    Even after restarting Codex/Windows, the UI still showed Computer Use plugins unavailable.

    4. SQLite/log observation

    Logs showed plugin sync completing with an empty installed plugin set:

    completed remote installed plugin bundle sync installed_plugin_ids=[] removed_cache_plugin_ids=[] failed_remote_plugin_ids=[]
    

    This seems important: after manually making files/config available, the app still appears to not consider computer-use@openai-bundled installed/available.

    Current conclusion

    This no longer looks like only stale local state or a user home/cache migration problem. After clean reset + Store reinstall + testing with two accounts + non-restricted network egress, the Windows app still shows Computer Use unavailable.

    There may be two related issues here:

    1. The Store/MSIX WindowsApps package resources are Application Protected, and some copy paths fail with The specified file could not be encrypted.
    2. Even after manually prewarming the local cache and enabling computer-use@openai-bundled, Codex still reports no installed plugins / does not expose Computer Use.

    It would be helpful if Codex could either:

    • avoid a copy API that preserves/propagates the protected/encrypted attribute from WindowsApps, or
    • read bundled plugin metadata directly from the installed app package, or
    • provide a clearer diagnostic in Settings when Computer Use is disabled by feature flag/rollout/account policy rather than local plugin files.
  7. endfish commented on May 31, 2026

    @endfish

    I hit what appears to be the same Windows bundled-plugin issue and found a workaround that has survived repeated restarts of the Codex app.

    Environment:

    • Codex Desktop: 26.527.3686.0
    • Bundled plugin version: 26.527.31326
    • Windows, Microsoft Store / WindowsApps install

    Symptoms observed:

    • Settings showed Browser / Computer Use as unavailable.
    • Logs repeatedly contained:
      • Windows Computer Use helper paths are unavailable
      • reason=missing-helper-path
      • bundled_plugins_marketplace_resolve_failed ... EBUSY ... rmdir ... chrome\\extension-host\\windows\\x64
      • bundled_plugin_install_skipped_missing pluginName=computer-use
    • browser_use_availability_resolved available=true was often present, so Browser itself was actually able to start; the UI/plugin state seemed to be confused by the bundled marketplace/cache state.

    The key local finding was that the generated runtime marketplace under:

    %USERPROFILE%\.codex\.tmp\bundled-marketplaces\openai-bundled
    

    could become incomplete. In the broken state it only contained part of the Chrome extension-host tree, while the installed app resources still had the complete marketplace including browser, chrome, computer-use, and latex:

    <OpenAI.Codex install location>\app\resources\plugins\openai-bundled
    

    In that state, computer-use was absent from the user plugin cache, including the helper:

    %USERPROFILE%\.codex\plugins\cache\openai-bundled\computer-use\26.527.31326\node_modules\@oai\sky\bin\windows\codex-computer-use.exe
    

    Workaround that fixed it locally:

    1. Stop all Codex-related processes.
    2. Re-register the openai-bundled marketplace to the installed app resources directory, not the generated .codex\.tmp\bundled-marketplaces directory.
    3. Ensure the bundled plugins are present in %USERPROFILE%\.codex\plugins\cache\openai-bundled, especially computer-use.

    The rough PowerShell shape is:

    $pkg = Get-AppxPackage OpenAI.Codex
    $market = Join-Path $pkg.InstallLocation "app\resources\plugins\openai-bundled"
    $codex = (Get-ChildItem "$env:LOCALAPPDATA\OpenAI\Codex\bin\*\codex.exe" | Sort-Object LastWriteTime -Descending | Select-Object -First 1).FullName
    
    # If openai-bundled is already registered to the broken temp path, remove/re-add or otherwise update it.
    & $codex plugin marketplace add $market
    
    # Then make sure browser/chrome/computer-use are installed/enabled from openai-bundled.
    # In my local workaround I also mirrored the installed bundled plugin folders into:
    # %USERPROFILE%\.codex\plugins\cache\openai-bundled\<plugin>\26.527.31326

    After doing that, normal launching from the Codex desktop icon started working again. Logs changed from missing-helper-path to computer-use notify config ensure finished ... status=already-present / status=installed.

    This looks like a startup/reconcile race or source mismatch: Codex writes the runtime bundled marketplace under .codex\.tmp, but the Chrome extension-host path can be busy, leaving that generated marketplace incomplete. Subsequent plugin installation then treats computer-use as missing even though it is present in the installed app resources.

  8. dong990516 commented on May 31, 2026

    @dong990516

    I can confirm a very similar issue on another Windows installation.

    Environment

    • Codex Windows app: latest installed/reinstalled from the Windows app flow; local bundled plugin version observed under .codex/plugins/cache/openai-bundled: 26.527.31326
    • OS: Windows Home China, x64
    • Chrome: installed, version 148.0.7778.217

    User-visible symptoms

    • The Chrome plugin cannot be found in the Codex Plugins UI even after uninstalling and reinstalling Codex.
    • Computer Use is shown as unavailable.
    • The user can use task/computer features from ChatGPT mobile, but the local Codex Windows desktop plugins remain unavailable.

    Local diagnostics

    Bundled plugin packages exist locally:

    %USERPROFILE%\.codex\plugins\cache\openai-bundled\chrome\26.527.31326
    %USERPROFILE%\.codex\plugins\cache\openai-bundled\computer-use\26.527.31326
    

    Chrome extension is installed and enabled:

    {
      "extensionId": "hehggadaopoacecdllhhajmbjkdcmajg",
      "installed": true,
      "enabled": true,
      "selectedProfileDirectory": "Default",
      "versions": ["1.1.5_0"]
    }

    But the Chrome native host is still missing after reinstall:

    HKCU\Software\Google\Chrome\NativeMessagingHosts\com.openai.codexextension
    %LOCALAPPDATA%\OpenAI\extension\com.openai.codexextension.json
    

    Diagnostic output reports:

    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.json
    

    Attempting to bootstrap the Chrome backend from the desktop thread fails before tab access, with the Node/browser runtime exiting unexpectedly and reporting:

    windows sandbox failed: spawn setup refresh
    

    This looks like the bundled plugin package/cache exists, but the desktop app is not activating the plugin UI entry and is not installing/restoring the native host for Chrome. Reinstalling Codex did not restore the missing native host or make Chrome/Computer Use usable.

  9. zx2021210538 commented on Jun 1, 2026

    @zx2021210538

    There are numerous issues on Windows Desktop Codex related to openai-bundled plugins, and the community still has no fundamental fix — this deserves official attention.

    On my machine, the Windows Desktop Codex also has openai-bundled plugins completely unavailable. What's more frustrating is that I asked Codex to fix it itself, and it repeatedly exhausted the 5-hour usage limit multiple times without making any progress on this issue. This has severely degraded the Codex user experience.

    I believe that such critical core functionality being unavailable should be treated with considerable urgency, and I hope to see an official fix soon.
    @codex

  10. hugoaap-code commented on Jun 1, 2026

    @hugoaap-code

    Same situation here. I just can't control my browser using the extension nor my computer via computer use.

  11. 26 remaining items

  12. 2536112822-droid commented on Sep 14, 2026

    @2536112822-droid

    2026-09-26 follow-up: current deployment and three browser connections recovered; native browser test pending

    Correction to the pending native test in the September 18 update below: after the operator restored the Chrome window, the final supported sky.get_window_state call returned the same current-browser-URL-confidence stop. That turn ended immediately, so the result could not be added to this comment then. Extension/in-app browser success must not be taken as proof of native Computer Use repair.

    Current signed desktop MSIX is 26.924.2738.0 / internal build 26.924.22138; the deployed runtime contains @oai/sky 0.7.4. The upgrade had again left the old 26.915 materialization key/content and an older computer-use plugin. The preceding app instance logged repeated UNKNOWN copyfile failures in copy_plugins on September 26 at 11:24–11:33 UTC. Read-only inspection of the current copy helper still finds only errno === 6000 selecting its fallback.

    Recovery completed this run:

    • Captured the exact seven-plugin manifest generated by the current app after focus refresh, then materialized its official bundle with the current key schema/variants. Verified 815 files / 30,463,495 bytes and retained the complete prior deployment for rollback. The current key schema no longer has computerUseSkillVariant.
    • Refreshed the selected plugins through the official CLI: browser, chrome, computer-use and unified-computer-use are now installed/enabled at 26.924.22138; codex-app-tools is 0.1.5 and visualize is 1.0.41.
    • Official Browser diagnostics then found the shared native messaging host manifest/registration missing, although both browser extensions were installed/enabled. Following the official troubleshooting procedure, the operator reinstalled Browser in the Codex plugin UI. A subsequent official diagnostic returned correct:true with matching manifest, origins and registry. No native-host registry or manifest was manually patched.
    • Fresh connections to the in-app browser, Edge and Chrome each opened example.com, read the actual body, clicked Learn more and read the actual IANA destination body. All three passed on this current deployment. The in-app and Edge test tabs were closed; the public Chrome test page is retained temporarily for the final native test.
    • Native Calculator launch, activation and a correct window screenshot worked. Input testing is inconclusive because an input attempt was rejected after user interaction; no successful native Calculator input is claimed.

    Current app log files, including their package-redirected counterparts, remain empty. Therefore app-owned strict marketplace reuse and persistence after a cold restart are NOT verified for this repair. The file/CLI checks and live browser tests do not establish those separate properties. Native browser state acquisition has not yet been retested on this version; it is deliberately last because the previous URL-confidence stop requires ending the turn.

    For the separate native failure, community static findings in #45996 (comments 5787936335 and 5807039780) identify a possible localized-role versus invariant Document-type issue. This has not been established dynamically on this machine and is not an official diagnosis. Please provide a supported fixed build or a privacy-preserving failed-stage diagnostic. No app.asar, native helper, security policy, language setting or feature gate was patched. This is a local recovery result, not an official resolution notice.

    2026-09-18 update: upgrade-related materialization recovered; browser sessions retested

    This is a local workaround result, not an official resolution notice.

    • Current signed MSIX is 26.915.3509.0; its app/bundled browser components are 26.915.31029 and @oai/sky is 0.7.1.
    • The upgrade had left the previous bundled deployment/cache behind. Current app logs again showed UNKNOWN copyfile from the protected WindowsApps bundle during copy_plugins, this time on browser/unified-computer-use manifests. The current copy helper still limits its stream-copy fallback to errno 6000.
    • We materialized the current official bundle bytes with the exact seven-plugin manifest actually generated by the app and its current key/variants, retaining a rollback copy and verifying 810 files / 85,341,581 bytes. No app.asar, native helper, security policy, feature gate or registry was patched.
    • The official plugin manager refreshed browser, chrome, computer-use and unified-computer-use to 26.915.31029. After an app focus refresh, the app itself logged bundled_plugins_runtime_marketplace_reused with seven plugins at 13:51:00.062Z, resolved the Chrome extension host and completed reconciliation. Independent log review through 13:54:02Z found no subsequent same-class deployment/host failure.
    • Fresh post-refresh Chrome, Edge and in-app browser tabs all opened example.com, read the actual page body, clicked its Learn more link and read the IANA destination body. The test tabs were closed. One Chrome tab bound before the kernel refresh could not reattach its debugger; a fresh tab in the same connected browser worked. This is not evidence that every existing tab can reattach.
    • The stale CODEX_CLI_PATH workaround mentioned above does not apply here: Process/User/Machine values are absent.
    • Native Calculator launch/activation/screenshot worked in this run. This update does not yet claim that the separate native-browser URL-confidence stop is fixed; the last completed native-browser result remains the failure reported below. A current-version native test is being done separately. A full cold restart has not been tested for this new deployment.

    The deployment-copy defect and native browser URL-confidence failure should remain separate diagnoses. Please do not treat browser extension success as proof of native Computer Use repair.

    Current status, 2026-09-14: Bundled-plugin deployment is recovered and survives a full restart; Edge, Chrome, and the in-app browser pass normal page read/navigation tests. Native Windows Computer Use passes a foreground Calculator input/capture test, but Chrome state acquisition still stops on current-URL confidence. The latest isolated reproduction and verified component hashes are at the end of this comment.

    Reproduced on Windows x64, desktop package OpenAI.Codex 26.908.4834.0 on 2026-09-14. This adds a current-build reproduction of the sites/.app.json copy failure described above.

    Observed on the affected machine:

    • The app package contains bundled Browser 26.908.40834, but the registered local bundled marketplace and installed Browser cache still contain 26.901.31953.
    • Browser startup points at .codex/plugins/cache/openai-bundled/browser/26.908.40834/scripts/browser-service.mjs, which is absent. Initialization fails with Cannot find module .../26.908.40834/scripts/browser-service.mjs before selecting Edge or Chrome.
    • After a full app restart, desktop logs show browser_use_availability_resolved available=true ... reason=available release=26.908.40834.
    • The same startup then logs plugin_marketplace_folder_write_failed and bundled_plugins_marketplace_resolve_failed, with folderWritePhase=copy_plugins. The failing operation is copying app/resources/plugins/openai-bundled/plugins/sites/.app.json from the installed WindowsApps package to .codex/.tmp/bundled-marketplaces/openai-bundled.staging-<id>/plugins/sites/.app.json. The app reports UNKNOWN: unknown error, copyfile. It recurs on subsequent reconciliation attempts.
    • The source file has Archive, Encrypted attributes (16416) and is readable for SHA-256 calculation. A separate ordinary PowerShell Copy-Item into an isolated diagnostic folder fails with “无法加密指定的文件” (“The specified file could not be encrypted”), HRESULT -2147018896 / 0x80071770. No attributes, ACLs, or encryption settings were changed.

    The user has reinstalled the Browser plugin inside the desktop app and fully restarted the app. Edge and Chrome both show Manage / connected; the official extension checks report both installed and enabled (1.26.901.11451_0). Browser initialization still fails.

    The copy failure and the stale/missing deployed Browser versions are observed facts. The failed marketplace deployment appears to explain the missing new cache, but that causal chain has not been verified by a successful repair. An earlier Computer Use Edge window-state read also stopped because the current URL could not be reliably determined; its relationship to this deployment failure remains unproven. A Chrome-specific URL-detection failure has not been reproduced.

    Could maintainers provide a supported repair for the bundled marketplace deployment and investigate the encrypted-file copy path? The current recovery loop of reinstalling Browser and restarting the app does not resolve this installation. No native host, browser-policy code, trusted-directory scope, or package/cache source code was manually modified.

    Posted by Codex with the affected user's authorization. Local usernames, private URLs, task IDs, and raw account logs are omitted.
    Follow-up: I also ran the supported non-forced Store repair (winget repair --id 9PLM9XGG6VKS --exact --source msstore --disable-interactivity, without --force). WinGet's own log records Leaf command succeeded: root:repair. After the app restarted, its new startup log again reports the same sites/.app.json copy failure during bundled-marketplace deployment. The expected Browser 26.908.40834 service file remains absent and the registered bundled Browser remains 26.901.31953. Thus successful package repair did not resolve this reproduction.

    Isolated Browser-file recovery: With the user's authorization, I subsequently restored only the missing Browser 26.908.40834 directory from the already-installed Store-signed app package. All 382 files / 13,619,383 bytes were checked byte-for-byte by SHA-256 against that package; no original source bytes, source protection attributes, native-host registration, trust configuration, or policy code were changed. The registered bundled marketplace still remains at the older version, so this does not repair the overall deployment mechanism.

    Using the matching restored client and service through the normal Browser API now initializes successfully. The in-app browser successfully opened https://example.com/, read its URL and visible text, clicked its visible link, and read https://www.iana.org/help/example-domains. Edge and Chrome selectors still report Browser is not available; discovery lists only the in-app browser. The official native-host diagnostic still reports its expected manifest and registry entry missing. This is a partial, local recovery, not a complete fix for external-browser control or for the upstream encrypted-file deployment bug.

    Persistence follow-up and fuller local repair (2026-09-14): The individually restored Browser cache directory was later absent again, while the already-loaded browser service in the original session continued to work. Another task failed fresh initialization with the same missing-service error. I found continued marketplace reconciliation and copy failures, but no log directly identifying who removed the restored directory; deletion by reconciliation is not established.

    I then restored the complete official bundled-marketplace snapshot from the installed Store-signed package to its existing registered user-level directory. All 952 files / 82,779,095 bytes were verified against the official source, including the original bundle ID. The marketplace definition is identical between the old and new snapshots: the same plugin names, paths and installation/authentication policies. The complete previous directory is retained for rollback. No marketplace registration, source protection, native-host registration or trust/policy settings were changed.

    Normal codex plugin add browser@openai-bundled and codex plugin add computer-use@openai-bundled now both install 26.908.40834. Their installed files match the official source hashes, and the configured service exists. An independent worker with no existing Browser binding successfully completed fresh initialization. That worker had no browser backend in its context, so this is bootstrap validation, not a new-session navigation claim. The original desktop session also passed another in-app public-page navigation/text test. The expected native-host manifest/registry checks still fail for external browsers.

    This fuller local repair addresses the stale registered source as well as the missing cache. Its persistence across a future restart or app update has not been tested, and it does not fix the upstream encrypted-file copy implementation. A supported product fix is still requested.

    Further implementation diagnosis (same build, 2026-09-14): A direct Node fs.copyFile reproduction of the failing packaged sites/.app.json returns code: UNKNOWN, errno: -4094, syscall: copyfile. The bundled Windows copy helper only enters its stream-copy fallback when error.errno === 6000, so this observed failure does not reach that fallback.

    I also identified why a complete raw bundle mirror is insufficient for normal reconciliation: the app expects a materialized marketplace filtered to its current feature selection, an exact .materialization-key, and its applicable content variants. On this machine the logs expect 8 plugins, while the raw source contains 10. The missing materialization record makes the app attempt the same failing copy again. No feature gates, source protection, or safety policy were changed.

    The app's normal extension-sync lifecycle can install a missing Chrome plugin and provision its native transport after marketplace reconciliation succeeds. This supports prioritizing the marketplace materialization failure before further user-facing extension reinstalls. A guarded reconstruction using the app's own observed filtered manifest is being prepared; it has not yet been published or validated as accepted by the app. Please investigate the actual Node/libuv error mapping in the existing fallback condition and provide a supported recovery for the full materialization lifecycle.

    Validated materialization recovery and remaining separate Computer Use failure (2026-09-14): The guarded reconstruction has now been published using the app's own captured 8-plugin staging manifest, original installed-package bytes, and applicable official content transformations. All 940 files / 82,738,111 bytes were verified before and after publication, with the previous complete directory preserved for rollback. No feature gate, app executable, protection attribute, security policy, or trusted scope was modified.

    The app itself accepted the exact materialization record: at 11:43:31.699Z it logged bundled_plugins_runtime_marketplace_reused pluginCount=8. Its normal extension-sync lifecycle then chose Chrome install_missing, logged successful Chrome installation at 11:43:33.089Z, resolved the official native-host executable, and completed reconciliation at 11:43:35.284Z. The official native-host diagnostics now pass for both Edge and Chrome (exit 0). Native-host initialization was done automatically by the app, not by a manual registration repair.

    Using the normal Browser API, both Edge and Chrome now independently open https://example.com/, read actual page text, click its visible link, and read https://www.iana.org/help/example-domains. This establishes current external-browser recovery in this build. Full cold-start persistence and future app-update persistence have not been tested; the upstream copy implementation is still unchanged.

    A separate Computer Use failure remains: after this Browser and host recovery, the supported Windows sky.get_window_state call against a freshly listed Chrome window titled about:blank - Google Chrome was stopped because it could not reliably determine the current browser URL. No Computer Use input or safety bypass followed. The successful Browser tests used different tabs, so they do not establish Computer Use URL recognition for the foreground window. A same-window public-HTTPS-page comparison is pending. Maintainers: please also triage the Windows current-URL detection path and provide a supported recovery; reinstalling the Browser plugin alone did not address this remaining failure.

    Full app restart verified (2026-09-14, after 11:59Z): The local materialization recovery survived a full desktop-app restart. Startup and focus reconciliation both logged bundled_plugins_runtime_marketplace_reused pluginCount=8 at 11:59:25.255Z and 11:59:30.880Z. The materialization key and plugin versions remained unchanged. Chrome sync reported keep_installed, status=current, extensionInstalled=true, pluginInstalled=true, and resolved its host executable. The official shared native-host diagnostic still passes for Edge and Chrome.

    The restarted app normally installed unified-computer-use, and the fresh session exposes cua_repl. Through that supported browser interface, Edge, Chrome, and the in-app browser each passed actual navigation, visible body reading, and link-click navigation from example.com to the IANA example-domains page. Chrome was initially not running; it was started with the bundled diagnostic launcher before testing. These are fresh post-restart browser checks, not reuse of the previous process's binding. Future app-version/feature-selection changes remain untested.

    Native Computer Use is not claimed fixed. Before this restart, the same-window control experiment was completed: the known Chrome blank tab was navigated to https://example.com/ through Browser, its body was read successfully, and a fresh Windows window listing showed the matching page title. The documented native window-selection/activation/state-read flow still stopped on the same URL-confidence restriction. This is not limited to the earlier blank-page case. After restart the app logs its native pipe as ready. The unified tool has browser-only scope on Windows, but Windows also has its separate, officially configured node_repl / @oai/sky Computer Use path. The later tests below use that supported path without changing its settings. Browser success alone does not validate native URL resolution.

    One additional startup defect is distinct from the copy failure: automatic Sites installation reports plugin sites was not found in marketplace openai-bundled, although the actual source/materialized manifests contain Sites 0.1.70. The EFS copy error did not recur in the checked startup/focus cycles; the Sites catalog issue should not be confused with that earlier failure.

    Correction and Windows native-control isolation test (2026-09-14): The earlier interpretation of CUA_REPL_ENABLED_SURFACES=browser was too broad. In this build, the app only adds the native computer surface to the unified tool on macOS. Windows has a separate, officially configured node_repl / @oai/sky native path; the current configuration still registers the sky service and the new native pipe. No feature gate or trusted-service setting was changed to use it.

    A normal test through that Windows Computer Use plugin successfully launched the installed Calculator. An initial occluded-window capture was empty for accessibility text and showed part of the foreground app in the screenshot. No input was made against that mismatched image. After refreshing the exact returned Calculator window and using its supported activation API, capture showed Calculator correctly; entering the digit 2 and clearing it back to 0 both passed visual verification. Thus native desktop input/capture works in this session with the target in the foreground. This does not yet establish browser URL-resolution recovery.

    The virtualization hypothesis was checked read-only: system/BIOS/GPU identifiers indicate a standard physical laptop; HypervisorPresent=true coexists with Win32_DeviceGuard.VirtualizationBasedSecurityStatus=2 (VBS enabled and running). The app session equals the active physical-console session, and WTS protocol type is 0, not RDP. The inspected unified/native entrypoint configuration branches use platform and capability conditions, with no observed VM/Hypervisor condition in those branches. These findings do not support blaming a guest VM or recommending that VBS be disabled. The subsequent public-page check is now complete: native window activation succeeded, and the separate state-read request failed as detailed below.

    Post-restart native Chrome failure isolated; component integrity verified (2026-09-14): The fresh comparison now identifies the failing API without combining activation and capture in one call:

    1. Start Chrome with the official bundled launcher and use its supported browser connection to open https://example.com/. Reading the actual Example Domain body succeeds.
    2. Through the Windows Computer Use plugin, obtain a fresh list_windows() result and select its unique matching Chrome window. Use that exact returned window object.
    3. Execute sky.activate_window({window}) in its own call. This returns successfully.
    4. In a separate call execute sky.get_window_state({window, include_screenshot:true, include_text:true}). It stops with:
    Computer Use has been stopped for this turn because it could not determine the current browser URL on Windows with enough confidence to enforce policy. Stop your work and send a final message noting why Computer Use ended.
    

    The turn ended immediately. No native browser click or typing followed the stop. This failure remains after the full app restart, on a normal HTTPS page with an explicitly activated target; blank-page ambiguity and a combined activation/read call no longer explain this reproduction.

    Current installed/running components: Windows package 26.908.4834.0, app/plugin build 26.908.40834, @oai/sky 0.6.32, Chrome 152.0.7977.83, Edge 153.0.4234.32, Windows UI culture zh-CN. Read-only verification at 12:25:58Z found SHA-256 equality between the active copied runtime and corresponding signed Store-package files for the sky package descriptor, both Windows JavaScript clients, and both native helpers. Main helper SHA-256: BAD605EF7A800D2E2EBE2D9205DB6F9AB73EF193524392F5CAA1FA2E1A0DAE2C; Swift helper: D7A1657AEEFC934DED84B43876C6DCE71401E3A2A171DDF1F27AC791BF8FE519. There is no observed runtime-version drift or byte corruption to repair by another reinstall.

    The readable Windows client forwards actual window identity and capture/text options through the native pipe. Its public API does not expose a current-URL diagnostic or supported URL-resolution recovery parameter. This inspection does not establish whether the failing internal stage is UI Automation discovery, URL extraction, window/tab association, or another confidence check. Locale dependence is also unproven on this machine. No protected binaries, security checks, VBS, browser identity, trusted-service settings, or source protection attributes were modified.

    Related reports with matching symptoms: #25271, #31221, and #45177. These are corroborating operator reports, not a maintainer-confirmed common root cause. Please associate this narrowed reproduction with the native Windows URL-detection investigation, provide a supported diagnostic distinguishing URL acquisition/association failure from a resolved-URL policy denial, and identify a fixed build or supported recovery if available. The verified Browser deployment repair and working Edge/Chrome/in-app browser channels should remain separate from this unresolved native Computer Use defect.

  13. 2536112822-droid commented on Sep 14, 2026

    @2536112822-droid

    Requesting maintainer triage and a supported recovery path for the current-build reproduction documented in #25220 (comment).

    This is continuing to disrupt the affected user's normal browsing workflow. Reinstalling the Browser plugin, fully restarting the desktop app, and a successful non-forced Microsoft Store repair have already been tried. Those steps did not resolve the bundled-marketplace deployment failure.

    Restoring the complete authentic bundled snapshot and refreshing Browser/Computer Use through the normal CLI has restored local runtime initialization. However, this is a local workaround: persistence across restart/update remains unverified, and the expected external-browser native-host diagnostics still fail despite Edge and Chrome showing Manage / connected. The related Computer Use URL-detection failure has not been established as having the same cause.

    Could the responsible maintainers please confirm:

    1. Whether the WindowsApps/Application Protected copy failure is being actively investigated, and whether there is a target release or ETA.
    2. A supported recovery procedure for this installation that preserves existing tasks, settings and user data.
    3. How to restore and verify Edge/Chrome native transport when the UI says connected but runtime diagnostics disagree.

    If an ETA is not available, an acknowledgement and a supported diagnostic or recovery next step would still be useful. The earlier comment contains version numbers, exact error signatures and the validation boundaries, with private user data omitted.

    Follow-up posted by Codex at the affected user's explicit request.

  14. sebaagradeno-create commented on Sep 15, 2026

    @sebaagradeno-create

    Confirmed another Windows reproduction on Codex Desktop package OpenAI.Codex_26.908.9136.0_x64__2p2nqsd0c76g0, and I was able to restore the missing Codex thread/agent tools.

    Symptom

    Voice/Desktop could no longer create/read/wait for/manage independent Codex threads. codex_app thread tools such as create_thread, read_thread, wait_threads, and send_message_to_thread were missing even though the bundled plugin existed in the Store package.

    Root cause observed

    Desktop logs repeatedly showed the bundled marketplace failing to materialize from WindowsApps into the per-user managed marketplace:

    [BundledPluginsMarketplace] plugin_marketplace_folder_write_failed
    ... copyfile '<WindowsApps>\\...\\openai-bundled\\...' -> '%USERPROFILE%\\.codex\\.tmp\\bundled-marketplaces\\openai-bundled.staging-...'
    
    [BundledPluginsMarketplace] bundled_plugins_marketplace_resolve_failed
    

    The failure also occurred directly on:

    plugins\\codex-app-tools\\.codex-plugin\\plugin.json
    

    Copy-Item also failed against the protected package files, but reading bytes from the package and writing fresh files into the user profile worked.

    Workaround that restored codex_app

    1. Fully close Codex Desktop.
    2. Detect the current package path dynamically:
    $pkg = Get-AppxPackage -Name "OpenAI.Codex*" |
        Select-Object -First 1 -ExpandProperty InstallLocation
    $src = Join-Path $pkg "app\\resources\\plugins\\openai-bundled"
    $dst = "$HOME\\.codex\\.tmp\\bundled-marketplaces\\openai-bundled"
    1. Back up $dst if it already exists.
    2. Rebuild the marketplace by copying file contents as bytes rather than using the failing WindowsApps copy path:
    New-Item -ItemType Directory -Force -Path $dst | Out-Null
    $files = Get-ChildItem $src -Force -Recurse -File
    
    foreach ($file in $files) {
        $relative = $file.FullName.Substring($src.Length).TrimStart("\\")
        $target = Join-Path $dst $relative
        $targetDir = Split-Path $target -Parent
        New-Item -ItemType Directory -Force -Path $targetDir | Out-Null
    
        $bytes = [System.IO.File]::ReadAllBytes($file.FullName)
        [System.IO.File]::WriteAllBytes($target, $bytes)
    }
    1. Back up %USERPROFILE%\\.codex\\config.toml.
    2. Use the current Desktop-managed codex.exe and register the reconstructed official marketplace:
    $codex = Get-ChildItem "$env:LOCALAPPDATA\\OpenAI\\Codex\\bin\\*\\codex.exe" -File |
        Sort-Object LastWriteTime -Descending |
        Select-Object -First 1 -ExpandProperty FullName
    
    $env:CODEX_HOME = "$HOME\\.codex"
    & $codex plugin marketplace add $dst --json
    1. Install the bundled plugin through the official plugin manager:
    & $codex plugin add codex-app-tools@openai-bundled --json

    The resulting plugin state was:

    codex-app-tools@openai-bundled  installed, enabled  0.1.4
    

    with an installed path under:

    %USERPROFILE%\\.codex\\plugins\\cache\\openai-bundled\\codex-app-tools\\0.1.4
    

    Runtime verification

    After relaunching Desktop and starting a fresh conversation, logs changed to:

    server=codex_app status=starting
    server=codex_app status=ready error=null failureReason=null
    

    A final Voice test successfully created an independent task/thread, waited for it, and returned the child task response.

    Notes

    • I did not modify files inside WindowsApps.
    • Manually copying only codex-app-tools into the plugin cache was not enough; the missing piece was reconstructing and officially registering the openai-bundled marketplace first.
    • This is a workaround, not an upstream fix. Package/plugin paths should be re-detected after updates.

    This strongly suggests the Windows Store/Application Protected copy path is breaking the bundled-marketplace bootstrap, and that the resulting missing marketplace can surface as a higher-level Voice/multi-thread capability regression.

  15. xiaodeng2025 commented on Sep 17, 2026

    @xiaodeng2025

    Still reproducible on the current Windows Codex Desktop build.

    Environment

    • Windows 11 x64
    • Codex Desktop: 26.911.7940.0
    • Codex CLI: 0.155.0-alpha.2.6
    • Install type: Microsoft Store / MSIX

    User-visible symptom

    The built-in Browser panel opens, but Browser Use tools are not exposed to the Codex session:

    • no Browser / Tab control interface
    • no DOM access
    • no click/navigation interface
    • no CDP interface

    Settings → Browser reports:

    marketplace file `C:\Users\<USER>\.codex\.tmp\bundled-marketplaces\openai-bundled\.agents\plugins\marketplace.json` does not exist
    

    Retrying and fully restarting Codex does not resolve it.

    Bundled marketplace state

    The destination directory:

    C:\Users\<USER>\.codex\.tmp\bundled-marketplaces
    

    exists but remains empty.

    The bundled marketplace in the installed MSIX package is present and complete under:

    C:\Program Files\WindowsApps\OpenAI.Codex_26.911.7940.0_x64__2p2nqsd0c76g0\app\resources\plugins\openai-bundled
    

    The bundled Browser / Computer Use runtime is also installed locally, so this is not a missing-runtime issue.

    Logs

    The current build repeatedly reports:

    plugin_marketplace_folder_write_failed
    bundled_plugins_marketplace_resolve_failed
    

    Failed copies include files such as:

    plugins\browser\.codex-plugin\plugin.json
    plugins\unified-computer-use\.codex-plugin\plugin.json
    plugins\codex-app-tools\.codex-plugin\plugin.json
    

    into generated .staging-* directories under:

    %USERPROFILE%\.codex\.tmp\bundled-marketplaces\
    

    Encryption reproduction

    One failing source file is readable and valid JSON, but Windows reports:

    Attributes: Archive, Encrypted
    
    cipher /c plugin.json
    
    E plugin.json
      Compatibility Level:
        Application Protected
    

    Normal PowerShell copying fails with:

    System.IO.IOException
    The specified file could not be encrypted.
    HRESULT: -2147018896
    

    This corresponds to 0x80071770 / ERROR_ENCRYPTION_FAILED.

    However, copying the exact same source file with:

    xcopy /G "<source>" "<destination>\"

    succeeds.

    Verified after xcopy /G:

    • destination file exists
    • file size matches
    • SHA-256 matches the packaged source
    • JSON remains valid
    • destination is no longer encrypted (cipher reports U)

    Conclusion

    This appears to be the same Application Protected / EFS relocation issue reported here, and it is still reproducible on Codex Desktop 26.911.7940.0.

    The bundled marketplace source is valid and readable, but Codex's staging/copy path cannot materialize it into the user's unencrypted .codex cache. As a result, bundled Browser / Computer Use plugins cannot be resolved and Browser Use tools are not injected into Codex sessions.

    A Windows copy path equivalent to COPY_FILE_ALLOW_DECRYPTED_DESTINATION / xcopy /G, or a byte-stream read/write fallback, appears necessary for bundled marketplace synchronization as well.

  16. chenshangmo commented on Sep 17, 2026

    @chenshangmo

    Confirming the same issue on a newer Windows Codex Desktop build.

    Environment:

    • Codex Desktop: 26.911.7940.0
    • Codex CLI: 0.155.0-alpha.2.6
    • Windows x64
    • Microsoft Store / MSIX installation

    Impact:

    • openai-bundled fails to materialize successfully.
    • codex-app-tools is therefore unavailable.
    • The singular codex_app MCP and its thread/task tools are missing from runtime.

    Relevant log pattern:

    [BundledPluginsMarketplace] plugin_marketplace_folder_write_failed
    errorCode=UNKNOWN
    errorMessage="UNKNOWN: unknown error, copyfile '<WindowsApps>\...\openai-bundled\plugins\codex-app-tools\.codex-plugin\plugin.json' -> '<user-home>\.codex\.tmp\bundled-marketplaces\openai-bundled.staging-<GUID>\...\plugin.json'"
    
    [BundledPluginsMarketplace] bundled_plugins_marketplace_resolve_failed
    

    The same copyfile failure also occurs for other bundled plugins.

    The packaged source file reports an Application Protected compatibility level. Copying the bundled files out through a different Windows copy path, then decrypting the user-side copy, produces files with matching SHA-256 hashes, so the plugin contents themselves do not appear corrupted.

    Manually placing a complete openai-bundled marketplace in the expected user-side location does not resolve the issue, because Codex recreates a fresh staging directory on startup and retries its own failing copy operation.

    Manually adding openai-bundled as a local marketplace is also blocked on this build because the marketplace name is reserved.

    This appears consistent with the Windows Store/MSIX Application Protected copy problem described in this issue. A product-side fix may require using a Windows copy path that allows a decrypted destination, or avoiding this copy step for bundled plugin metadata.

  17. maybejasi commented on Sep 17, 2026

    @maybejasi

    @bherreraicon Thank you for the stale CODEX_CLI_PATH diagnosis and the clear recovery instructions in #25220 (comment). This resolved the Edge and Chrome side-panel connection errors on my Windows machine after restarting/reinstalling alone had not helped. The user-level override pointed to an older, no-longer-existing Codex app package. Backing up and removing that stale override, then fully exiting and reopening the affected apps, restored both side panels. Chrome had initially remained running with its old process environment and recovered after a full exit/relaunch.

    Scope clarification: this confirms the side-panel connection recovery. Agent browser-control calls in the existing conversation still show a separate nodeRepl.fetch request failed timeout, so I am not claiming all Browser Use functionality is fixed.

    Thanks for sharing this specific failure mode!

  18. amsu3 commented on Sep 19, 2026

    @amsu3

    Additional reproduction on Codex Desktop 26.915.4065.0, tested on 2026-09-19. There appears to be a specific error-code mismatch preventing the existing encrypted-copy fallback from running.

    Environment and scope

    • Windows 11 Pro x64, OS build 26200.
    • Registered MSIX package and running desktop processes: 26.915.4065.0 (also reproduced on 26.915.3509.0).
    • Packaged chrome and computer-use manifest versions: 26.915.31945.
    • Their installed per-user caches remain at 26.908.70816; Chrome's latest junction still selects that older version.
    • This is not a clean-profile reproduction: earlier troubleshooting used byte-identical resource copies. The current reproduction reads directly from the newly installed official package. WindowsApps files, ACLs, Windows encryption policy, and permanent resource-path environment variables were not modified.

    Controlled copy reproduction

    Source: <WindowsApps>/OpenAI.Codex_26.915.4065.0_x64__<publisher>/app/resources/plugins/openai-bundled/plugins/computer-use/.codex-plugin/plugin.json.

    The source has Archive, Encrypted attributes and can be read normally. The same test was performed into newly created temporary directories on both C: and E:, with identical results:

    Operation Observed result
    Win32 CopyFileExW, flags COPY_FILE_FAIL_IF_EXISTS Fails, GetLastError() = 6000
    Add COPY_FILE_ALLOW_DECRYPTED_DESTINATION Succeeds; destination bytes equal source
    Node fs.promises.copyFile code: "UNKNOWN", errno: -4094, syscall: "copyfile"
    Node fs.promises.cp Same UNKNOWN / -4094
    Node readFile followed by writeFile Succeeds; destination bytes equal source

    The Node test used the app-deployed v24.21.0 executable. Its SHA-256 matches the Node executable in the current official package:
    50c8bb8ab83593c6bd61511f9b3159b0cb8c9db70ffd3700f4359c28272c0768.

    All temporary test copies were removed.

    Existing fallback does not match the observed error

    Read-only inspection of the current package's .vite/build/windows-file-copy-B0DNtkPq.js shows an existing stream-based fallback, but its error predicate is equivalent to:

    error instanceof Error && error.errno === 6000

    The observed Node error has errno === -4094, so it does not satisfy this predicate. This module is byte-identical in packages 26.915.3509.0 and 26.915.4065.0 (SHA-256 7ee9a8c143ca22a9fae73ee777d760fd7655471f9c54d147037cd1e382da7db4).

    Desktop logs from the preceding 26.915.3509.0 session also contain the actual application failure, not only the standalone probe (paths sanitized):

    [BundledPluginsMarketplace] plugin_marketplace_folder_write_failed
    errorCode=UNKNOWN
    errorMessage="UNKNOWN: unknown error, copyfile '<WindowsApps>/.../resources/plugins/openai-bundled/plugins/browser/.codex-plugin/plugin.json' -> '<profile>/.codex/.tmp/bundled-marketplaces/openai-bundled.staging-<id>/plugins/browser/.codex-plugin/plugin.json'"
    folderWritePhase=copy_plugins
    [BundledPluginsMarketplace] bundled_plugins_marketplace_resolve_failed
    

    Suggested fix and evidence limits

    Please make the Windows copy layer reliably recognize this protected-source copy failure and invoke the fallback, or use a native copy path that preserves the Win32 error and allows a decrypted destination where appropriate. Treating every UNKNOWN error as an encryption failure would be too broad.

    The current-package probe used the separately deployed Node runtime, not the desktop's embedded Electron Node. Current-package copy tests, unchanged fallback code, and the preceding build's desktop logs are separate evidence, not a claim that a full clean plugin installation was tested on the new build.

    Computer Use can currently list windows through the existing installation. Chrome's extension/native-host diagnostics pass, but live browser commands have a separate request-header-policy loading error; I am not asserting that this second symptom is caused by the copy bug.

    Related detailed report: #34764.

  19. Henrypan0402 commented on Sep 22, 2026

    @Henrypan0402

    I can reproduce this on Windows with the Microsoft Store Codex desktop app.

    Environment:

    • Codex desktop package: OpenAI.Codex 26.915.4065.0 (x64)
    • Browser: Microsoft Edge
    • ChatGPT Edge extension: 1.26.901.11451

    Symptoms:

    • Settings > Browser shows: marketplace file … bundled-marketplaces/openai-bundled/agents/plugins/marketplace.json does not exist.
    • Settings > Computer Use reports Edge as installed and enabled, but the Edge side panel consistently shows Native transport disconnected.
    • The expected user-level native-host registration and manifest were absent.

    Troubleshooting performed:

    • Restarted Codex and Edge.
    • Reinstalled the Edge extension.
    • Confirmed the extension is enabled in the active Edge profile.
    • Attempted the native-host workaround. The signed bundled host binary exists, but copying it to the user-local extension directory fails with the Windows error “The specified file could not be encrypted.”

    This appears to be the same bundled-marketplace/EFS provisioning failure described here. No local paths, tabs, browsing history, or account data are included.

  20. IntoTheRain-Lee commented on Sep 29, 2026

    @IntoTheRain-Lee

    Additional current-build reproduction and implementation-level confirmation on Windows.

    Environment

    • Codex Desktop / MSIX: 26.917.9434.0
    • Windows x64
    • Microsoft Store / MSIX installation
    • app.asar SHA-256: D4234B03EB532FE0F3E9A7D90CAAD51EDB68AF45F771CC786D966377E7446F5A

    Current observed failure

    The packaged bundle contains computer-use, unified-computer-use, browser, chrome, cua_node, and @oai/sky.

    However, the user-side openai-bundled marketplace is not materialized.

    Current desktop logs repeatedly show failures while copying the computer-use / unified-computer-use plugin manifests from WindowsApps into generated openai-bundled.staging-* marketplace directories:

    plugin_marketplace_folder_write_failed
    folderWritePhase=copy_plugins
    errorCode=UNKNOWN
    

    followed by:

    bundled_plugins_marketplace_resolve_failed
    

    The affected packaged source files are still reported by Windows as Encrypted with compatibility level Application Protected.

    Read-only implementation audit

    I inspected the implementation in the installed 26.917.9434.0 app.asar.

    The bundled-marketplace copy_plugins path ultimately uses fs.promises.cp(...) through the Windows copy compatibility helper.

    A stream-copy fallback exists, but its classifier is effectively:

    error instanceof Error && error.errno === 6000

    The located marketplace path does not explicitly handle:

    code === "UNKNOWN"
    errno === -4094
    Application Protected
    

    The current runtime failure is logged as errorCode=UNKNOWN.

    The same current desktop log contains no windows_encrypted_copy_fallback_started, windows_encrypted_copy_fallback_succeeded, or windows_encrypted_copy_fallback_failed event for these failures.

    This strongly supports the following path:

    fs.promises.cp
    → copyfile failure
    → error does not satisfy the fallback predicate
    → original error propagates
    → copy_plugins fails
    → bundled marketplace resolution fails
    

    Evidence limitation

    The current logger serializes error.code but not error.errno.

    Therefore I cannot claim that this specific 26.917.9434.0 failure has errno === -4094; that value was observed in earlier reproductions, not in this current log.

    The current-build evidence establishes:

    • errorCode=UNKNOWN
    • the fallback was not observed
    • the classifier only accepts errno === 6000
    • the source remains Application Protected

    but the exact current underlying errno / Win32 error remains unverified.

    No WindowsApps files, ACLs, encryption settings, Codex package files, plugin cache, or runtime files were modified during this investigation.

  21. tonychen89 commented on Sep 30, 2026

    @tonychen89

    Thank you for documenting your recovery process—it helped me restore the built-in browser on another Windows machine.

    I was using Codex package version 26.928.2636.0, with Browser version 26.928.21956. The bundled files were present, but ordinary copying and robocopy failed. Reading the file bytes and writing them into new files worked.

    Following your approach, I used Codex to prepare the bundle using the app-generated plugin manifest and matching .materialization-key, then register the marketplace and install Browser while the app was fully closed.

    After reopening Codex, I had Codex verify page reading and link clicking through the built-in browser. Both still worked after another full exit and restart. I haven’t tested persistence across future app updates.

    Thanks again for sharing the detailed investigation and recovery steps!

    Disclosure: This comment was generated by Codex and reviewed by me before posting.

  22. Yingjie-Zhou commented on Oct 2, 2026

    @Yingjie-Zhou

    Additional reproduction on Codex Desktop 26.930.2377.0, tested on 2026-10-02. This confirms that the error-code mismatch described in the September 19 comment and the September 29 comment is still present, and adds an isolated test of the shipped fallback implementation.

    Environment and source

    • Windows 11 Pro x64, build 26200.
    • Microsoft Store-signed MSIX package: OpenAI.Codex_26.930.2377.0_x64__2p2nqsd0c76g0.
    • App-deployed Node.js v24.21.0, libuv 1.52.1 (standalone probe runtime; not the desktop's embedded Electron runtime).
    • Source: <WindowsApps>/<package>/app/resources/plugins/openai-bundled/plugins/codex-app-tools/.codex-plugin/plugin.json.
    • Source attributes: Archive, Encrypted; cipher /c reports Application Protected.
    • The destination is writable by the current user; Windows DisableEncryption is 0.

    Controlled copy results

    Native tests were performed in both a temporary workspace directory and a newly created diagnostic directory under the actual <profile>/.codex/.tmp/bundled-marketplaces/ parent, with identical results:

    Operation Observed result
    Win32 CopyFileExW, flags 0 Fails; GetLastError() = 6000 (ERROR_ENCRYPTION_FAILED)
    Win32 CopyFileExW, flags 8 (COPY_FILE_ALLOW_DECRYPTED_DESTINATION) Succeeds
    .NET ReadAllBytes / WriteAllBytes Succeeds
    Ordinary unencrypted source copied with flags 0 Succeeds

    Separate Node probes against the same packaged source:

    Operation Observed result
    fs.promises.copyFile code: "UNKNOWN", errno: -4094, syscall: "copyfile"
    fs.promises.cp Same UNKNOWN / -4094
    fs.promises.readFile / writeFile Succeeds
    fs.promises.copyFile using an unencrypted copy as source Succeeds

    Successful outputs were byte-identical to the source, verified using SHA-256. These controls isolate the failure to the protected-source encryption handling rather than inability to read the source or write the destination.

    Shipped fallback classifier and isolated execution

    Read-only inspection of the current package's app.asar found the helper windows-file-copy-CQuz6P0L.js. The bundled marketplace directory-copy path wraps fs.promises.cp with this helper. The helper contains a stream-copy fallback, but its classifier is equivalent to:

    error instanceof Error && error.errno === 6000

    Current desktop logs independently show plugin_marketplace_folder_write_failed, folderWritePhase=copy_plugins, errorCode=UNKNOWN, and a stack through this same helper, followed by bundled_plugins_marketplace_resolve_failed. No windows_encrypted_copy_fallback_started or windows_encrypted_copy_fallback_succeeded events were found in the inspected current-instance main log.

    I also executed the extracted, shipped helper in an isolated Node harness, with logging/module-loading dependencies stubbed and its copy/classifier implementation unchanged:

    1. Real fs.copyFile error (UNKNOWN / -4094): the helper rethrows; no fallback events occur.
    2. Same error with only errno normalized to 6000 inside the test harness: the existing fallback emits both windows_encrypted_copy_fallback_started and windows_encrypted_copy_fallback_succeeded; the output hash matches the source.

    The normalization is a diagnostic control only; it was not applied to the running app. This directly demonstrates that the classifier prevents the existing fallback from handling the reproduced failure.

    Suggested fix and evidence limits

    Please recognize the Node/libuv representation of this protected-source copy failure and invoke the existing fallback after confirming the source's encrypted attributes, or use a Windows copy API that allows a decrypted destination. Treating every UNKNOWN error as an encryption failure would be too broad.

    This is not a clean-profile reproduction or a claim that every unavailable-plugin symptom has this cause. The -4094 value comes from the standalone Node probe; the desktop log independently records UNKNOWN, without exposing its exact errno. Earlier troubleshooting repaired the plugin cache, so thread-management tools currently work, while the current-build marketplace copy failure remains reproducible. The diagnostic experiments did not modify WindowsApps files, ACLs, encryption policy, Codex configuration, installed package files, or existing plugin cache files.

  23. mengyu2015 commented on Oct 15, 2026

    @mengyu2015

    Codex 版本:26.1007.9446.0,插件版本是 26.1007.71326
    系统:Windows 11
    现象:日志里显示 reason=available,但 .tmp\bundled-marketplaces\openai-bundled 是空的,设置页里也没有"任意应用"
    解决方法:用 robocopy 从安装目录手动复制插件,再在 config.toml 里加上 [marketplaces.openai-bundled] 和 computer-use@openai-bundled,之后就恢复了

  24. dev2089 commented on Oct 16, 2026

    @dev2089

    Current Windows 10 verification (build 19045, package 26.1013.3656.0): the bundled Browser plugin was absent from the active CODEX_HOME cache, while the signed installed bundle contained all 384 expected files. Copying the complete signed bundle into the cache restored Browser startup. SHA-256 comparison showed 384/384 matching files with zero differences. Navigation, DOM snapshots, semantic locators, form fill/click, screenshots, history, and tab management then completed successfully. The active cache path and service hash were recorded in #41164.

  25. alesandre4594-creator commented on Oct 20, 2026

    @alesandre4594-creator

    Additional evidence from a Windows installation affected in October 2026.

    Feedback Session ID: 01a121bc-b933-7b01-81c1-9eec59f67a2f

    Affected environment

    • Codex Microsoft Store package: 26.1002.7124.0.
    • Windows x64, native execution.
    • Package physically installed on D:, accessible through a WindowsApps junction on C:.

    Historical reproduction

    1. Launch Codex normally in the affected installation.
    2. Allow automatic bundled-plugin initialization.
    3. Plugin copying fails, leaving bundled components unavailable or incompletely prepared.

    Expected: bundled plugins are copied and made available automatically.

    Observed: plugin_marketplace_folder_write_failed, with folderWritePhase=copy_plugins and UNKNOWN: unknown error, copyfile, followed by bundled_plugins_marketplace_resolve_failed.

    Recorded occurrence: October 9, 2026, 15:00:42.710, America/Fortaleza (UTC−03), equivalent to 2026-10-09T18:00:42.710Z.

    Historical diagnostic results

    • Node copy returned UNKNOWN, errno=-4094.
    • Win32 CopyFileW returned 6000 (ERROR_ENCRYPTION_FAILED).
    • CopyFileExW with COPY_FILE_ALLOW_DECRYPTED_DESTINATION succeeded, preserving file content.
    • The affected helper checked errno===6000, whereas Node returned -4094.

    Subsequent outcome: after moving the app from D: to C: through Windows package management, the examined files were no longer marked Encrypted and plugin copying worked. Eight plugins were prepared, seven installed, and reopening reused them successfully.

    This is a historical report, not a claim that the current release still reproduces the issue. No direct screenshot of this specific failure was recovered; the redacted log and diagnostic evidence were preserved.

  26. Hyperlovimia commented on Nov 22, 2026

    @Hyperlovimia

    I hit this same issue on Windows and tracked it down to a broader root cause: when the Microsoft Store app is installed on a secondary drive, the entire bundled plugin suite fails to sync, not just read_thread or Scheduled Tasks.

    The good news is you don't need to reinstall to C: or touch WindowsApps permissions—a single PowerShell script below works around the issue for all bundled plugins at once.


    Environment & Scope

    • App: Microsoft Store ChatGPT desktop app (OpenAI.Codex, MSIX 26.1117.4957.0)
    • Install location: Secondary AppX volume (D:\WindowsApps)
    • Symptoms: Native codex-app-tools capabilities (read_thread and Scheduled Task creation) are missing in Codex chats, and other bundled plugins that go through the same staging flow (e.g. Browser, Chrome, Computer Use) are affected as well.

    Root Cause

    In %LOCALAPPDATA%\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache\Local\Codex\Logs\...\codex-desktop-*.log, startup fails with:

    • plugin_marketplace_folder_write_failed
    • folderWritePhase=copy_plugins
    • UNKNOWN: unknown error, copyfile on files under <WindowsApps>\<package>\app\resources\plugins\openai-bundled\... (for example, plugins\codex-app-tools\.codex-plugin\plugin.json)

    Windows applies the Encrypted attribute to MSIX package files installed on non-system AppX volumes. Testing directly against one of the failing files confirmed the exact mechanism:

    • Node's fs.copyFileSync fails with UNKNOWN (errno -4094) because Windows file-copy semantics attempt to preserve the source encryption attribute on the destination.
    • Reading the file as raw bytes and writing to a new file in a user-writable directory succeeds without issue.

    (For maintainers: reading and rewriting bytes/streams instead of using copyFile when staging openai-bundled plugins would likely resolve this natively for all secondary-drive Store installs.)


    One-Shot Workaround (Fixes All Bundled Plugins)

    This workaround stages an identical, unencrypted copy of the bundled plugins into %LOCALAPPDATA%\OpenAI\CodexBundledResources\<PackageFullName>, and points CODEX_ELECTRON_BUNDLED_PLUGINS_RESOURCES_PATH to it. Your app stays on D:, and WindowsApps files/permissions remain completely untouched.

    1. Fully quit the ChatGPT desktop app (including closing it from the system tray).
    2. Open Windows PowerShell (standard user—no admin privileges needed) and run:
    $ErrorActionPreference = 'Stop'
    $variable = 'CODEX_ELECTRON_BUNDLED_PLUGINS_RESOURCES_PATH'
    $previous = [Environment]::GetEnvironmentVariable($variable, 'User')
    Write-Host "Previous resource path (blank means unset): $previous"
    
    $package = Get-AppxPackage -Name OpenAI.Codex |
        Sort-Object Version -Descending |
        Select-Object -First 1
    if (-not $package) {
        throw 'The Microsoft Store ChatGPT package OpenAI.Codex was not found.'
    }
    
    $source = Join-Path $package.InstallLocation 'app\resources\plugins\openai-bundled'
    $manifest = Join-Path $source 'plugins\codex-app-tools\.mcp.json'
    if (-not (Test-Path -LiteralPath $manifest -PathType Leaf)) {
        throw "The app package layout is different. Expected: $manifest"
    }
    
    $root = Join-Path $env:LOCALAPPDATA 'OpenAI\CodexBundledResources'
    $destination = Join-Path $root $package.PackageFullName
    $bundlePath = 'plugins\openai-bundled'
    $files = @(Get-ChildItem -LiteralPath $source -Recurse -Force -File)
    if ($files.Count -eq 0) {
        throw 'There are no bundled files to copy.'
    }
    
    $copyNeeded = -not (Test-Path -LiteralPath $destination)
    $workingRoot = $destination
    if ($copyNeeded) {
        $workingRoot = Join-Path $root ('stage-' + [Guid]::NewGuid().ToString('N'))
    }
    
    $bundle = Join-Path $workingRoot $bundlePath
    foreach ($file in $files) {
        $relativePath = $file.FullName.Substring($source.Length + 1)
        $target = Join-Path $bundle $relativePath
    
        if ($copyNeeded) {
            $parentDirectory = Split-Path -Parent $target
            [void][IO.Directory]::CreateDirectory($parentDirectory)
            [IO.File]::WriteAllBytes($target, [IO.File]::ReadAllBytes($file.FullName))
        }
    
        $originalHash = (Get-FileHash -LiteralPath $file.FullName -Algorithm SHA256).Hash
        $copiedHash = (Get-FileHash -LiteralPath $target -Algorithm SHA256).Hash
        if ($originalHash -ne $copiedHash) {
            throw "Content check failed: $relativePath"
        }
    }
    
    $copiedFiles = @(Get-ChildItem -LiteralPath $bundle -Recurse -Force -File)
    if ($copiedFiles.Count -ne $files.Count) {
        throw 'The bundle copy has a different number of files.'
    }
    
    if ($copyNeeded) {
        Move-Item -LiteralPath $workingRoot -Destination $destination
    }
    [Environment]::SetEnvironmentVariable($variable, $destination, 'User')
    Write-Host "Verified files: $($files.Count)"
    Write-Host "New resource path: $destination"
    1. Relaunch the app from the Start menu. (If the next launch log still points at WindowsApps, sign out of Windows and sign back in so the new user environment variable is picked up.)
    Rollback & app update notes

    Because CODEX_ELECTRON_BUNDLED_PLUGINS_RESOURCES_PATH points to a version-specific directory, after a future app update you can unset it to check whether the issue is fixed upstream—or simply re-run the script above to stage the new version's bundle.

    To roll back cleanly, fully quit the app and run (replace $null with your quoted previous path if one was printed above):

    [Environment]::SetEnvironmentVariable(
        'CODEX_ELECTRON_BUNDLED_PLUGINS_RESOURCES_PATH', $null, 'User'
    )

    You can then optionally delete %LOCALAPPDATA%\OpenAI\CodexBundledResources.

    Related: #51218 documents the same WindowsApps copy failure on MSIX 26.1117.4957.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbrowserbugcomputer-useskillswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions