Codex Desktop shows workspace dependency repair on Windows 10, but install fails because Windows 10 is unsupported
What version of Codex is running?
Codex CLI/app-server: 0.125.0-alpha.3
What platform is your computer?
Windows 10
What issue are you seeing?
Codex Desktop Settings shows a warning that Codex dependencies may need repair and provides a reinstall action for workspace dependencies. Clicking reinstall fails with a generic user-facing error: Failed to install workspace dependency runtime.
The UI makes this look like a repairable dependency problem, but the desktop logs indicate that this feature is explicitly unsupported on Windows 10.
Steps to reproduce
- Open Codex Desktop on Windows 10.
- Go to Settings / Configuration.
- Enable or view Workspace dependencies.
- Click reinstall / repair dependencies.
- Observe the failure toast.
Expected behavior
If workspace dependencies are unsupported on Windows 10, the Settings UI should say so directly and hide or disable the reinstall action. If Windows 10 should be supported, the install flow should work or show a specific actionable error.
Actual behavior
The UI shows a repair/reinstall action, but reinstall fails generically.
Relevant local tool results:
load_workspace_dependencies:
No bundled workspace runtime dependencies are configured yet. Call install_workspace_dependencies() to install them.
install_workspace_dependencies:
Failed to install workspace dependency runtime.
Relevant desktop log excerpts:
Failed to install workspace dependencies errorMessage="Codex Workspace dependencies are not supported on Windows 10." errorName=Error tool=install_workspace_dependencies
unsupported feature enablement `workspace_dependencies`: currently supported features are apps, memories, plugins, tool_search, tool_suggest, tool_call_mcp_elicitation
Additional context
The runtime config selected a Windows primary runtime bundle, e.g. codex-primary-runtime-win32-x64-26.426.12240.tar.xz, but the install path still reports Windows 10 as unsupported.
19 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Additional affected user report from Windows 10.
I also submitted in-app feedback and received this feedback/session ID:
019ddd99-d8c1-7ad2-a270-6eaa97d8e8eeEnvironment:
10.0.19045, x64winget list --name Codex: Codex, ID9PLM9XGG6VKS, version26.422.9565.0, sourcemsstoreapp_version=26.422.71525,release=codex@26.422.71525,build_type=windows-store,app_arch=x6441.2.024.14.0codex-cli 0.126.0-alpha.8codex-cli 0.125.0v24.15.011.7.03.14.42.54.0.windows.1VCRUNTIME140.dll,MSVCP140.dll,VCRUNTIME140_1.dllObserved behavior:
Relevant sanitized log excerpts:
This appears to be a feature/UI gating bug: the app exposes the workspace dependency repair path on Windows 10 even though the runtime reports this feature as unsupported on Windows 10.
我通过管理员权限运行解决了依赖安装不了的问题
不知道咱是不是一个问题,我试了没用。这个帖子是我让GPT自己写的
<img width="1180" height="1219" alt="Image" src="https://github.com/user-attachments/assets/3ff57be8-1779-4c22-8e01-37fb3e1ab0d6" />
Possible Windows fix: enable Developer Mode for runtime extraction failures
I ran into a similar Codex Desktop runtime installation failure on Windows.
The logs showed repeated primary runtime install failures like:
win10系统怎么解决?
<img width="1565" height="999" alt="Image" src="https://github.com/user-attachments/assets/9ace6e6c-d2e9-4c1d-b30d-2ec3f4ad0dc7" />
english man @Rvanshy do you enable developer mode ?
最后解决了吗?我的也是不能用
<img width="1427" height="672" alt="Image" src="https://github.com/user-attachments/assets/54a6e29c-ca79-493b-9e04-79bab3671483" />
@pekxie 解决不了,就是专属于Windows的bug,我的Mac就没有这个问题🙂↔️
+1我也出现了这个情况,但是在CLI下就没问题
I found a partial workaround for those experiencing unavailability in the Workspace dependencies (or with an empty
C:\Users\<user>\.cache\codex-runtimes\folder).Environment:
26.519.8153026.519.11010.0ProductName:Windows 10 ProDisplayVersion:25H2CurrentBuild:26200The
Reinstallbutton under:still fails with:
Running Codex as Administrator did not fix it.
However, I noticed that during Codex startup / reinstall attempt, Codex briefly creates a temporary folder like:
(I had to refresh the
codex-runtimesfolder (which was empty) several times to see this temporary folder when opening the Codex.)The random suffix changes each time. After a few seconds, Codex deletes this folder.
Inside that temp folder there was a
node-runtime.tar.xz. I manually extracted it before Codex deleted the temp folder. The extracted structure was:The
runtime.jsonlooked valid:I then manually moved:
to the final path that Codex already had in
config.toml:After that, Codex was able to detect the workspace dependencies. The internal
load_workspace_dependenciescheck returned:So the runtime archive itself appears valid. The failure seems to happen after download/extraction, during the final install/promotion/validation step.
This is only a workaround. Pressing
Reinstallagain still fails, and I had to repeat the manual extraction/move process.oops!There will be no content related to "codex" in my .cache folder.
@qykj0580 Did you try updating the
C:\Users\<user>\.cachefolder while opening the Codex?You can also check if your global
config.tomlfile contains the runtime path, as in the example below:C:\Users\<user>\.codex\config.toml:There are no codex-related files in the C:\Users\<user>\.cache directory, whether during startup or restart. I also noticed that there is no content related to codex-runtimes in the config.toml file.
I wouldn't know what might be happening in your case. But a tip I can give you is to use the AI in the Codex itself (preferably GPT-5.5 High), explaining what's going wrong and asking it to try to analyze the root cause of the problem. You can mention this issue here so it can have some guidance in case your problem is related (https://github.com/openai/codex/issues/19811), and I strongly recommend using the
Systematic Debuggingskill from theSuperpowersplugin, which is already in the Codex Desktop App plugin list.Same issue here Win 10 Pro (Developer mode enabled)
Seems that you can also just download it and extract it to the right place, you just need the specific version string
While I already tried having codex figure it out some time ago, but eventually it just kept pointing to app issue and doing /feedback (I sent one detailed) (I could have also tried harder)
Meanwhile vscode extension worked perfectly in Windows/WSL
What lucassena mentioned is very helpful
I pointed codex at it and it gave me powershell script to download it and put it in right place
And voila
<img width="1080" height="483" alt="Image" src="https://github.com/user-attachments/assets/1ecbaa75-e5da-4300-8ccd-66d7252892df" />
Thanks a lot lucassena
---------
---------
<details>
<summary>Full guide: Windows 10 manual Codex runtime workaround</summary>
I got the manual runtime workaround working on Windows 10 by installing the Codex primary runtime manually.
Environment:
10.0.19045.7184OpenAI.Codex_26.527.3378.0Reinstallstill failed withCouldn't reinstall Codex dependenciesWhat This Does
Codex expects the workspace dependency runtime at:
This workaround puts the official
codex-primary-runtimefolder there manually, then points Codex to its bundled marketplace fromconfig.toml.You can create that runtime folder either manually with a browser + 7-Zip, or by running the PowerShell script below. Do one of those two install methods, then always continue to the config section afterward.
Requirements
Install 7-Zip first, if you dont have it:
Or use any unzip you want for the non-powershell method (A).
Close Codex Desktop before doing either install method.
Option A: Manual Download And Extract
Download this archive in a browser:
Create this folder:
Extract the archive twice with 7-Zip:
Find the extracted
codex-primary-runtimefolder and move it to:Verify this file exists:
Then continue to Config Step below.
Option B: PowerShell Script
Then continue to Config Step below.
Config Step
Edit:
Make sure workspace dependencies are enabled:
Add this block, replacing
<user>with the real Windows username:Restart Codex Desktop.
After this, Codex detected the workspace dependency runtime correctly.
Important Notes
Reinstallagain may still fail and may require repeating the workaround.</details>
EDIT: now updated to "26.601.10930"...be sure to check the logs to find the latest bundle version as described on top of the post
怎么解决的
I’m seeing the same issue on Windows 10 Pro 10.0.19045 with Codex Desktop 26.608.1337.0.
Settings > Configuration > Workspace dependencies still cannot install/repair dependencies.
Relevant log:
Earlier in the same troubleshooting session, I also had bundled executable relocation failures because:
was a Junction pointing to a missing MSIX LocalCache target:
After recreating the target directories and restarting Codex, bundled runtime files now extract correctly:
The app log now reports the runtime paths as valid, for example:
But workspace dependency install still fails with the Windows 10 unsupported message.
So this now appears to be a product support/UI issue rather than a local runtime extraction issue: the Settings UI exposes Diagnose/Reinstall on Windows 10 even though the runtime says workspace_dependencies are unsupported.
好像是win10自带解压器的问题,可以让codex自己修复
<img width="835" height="367" alt="Image" src="https://github.com/user-attachments/assets/830eb3e4-37fc-4aae-a662-cc58d2ed795d" />