[Windows Sandbox] Elevated setup fails with COM+ registry database system error on Insider Beta 26220
Open 💬 5 comments Opened Jun 21, 2026 by mahaitao
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
Summary
The native elevated Windows sandbox cannot initialize. Every sandboxed file operation triggers codex-windows-sandbox-setup.exe, which displays a COM+ registry database error and causes the operation to wait or fail.
Environment
- Codex Windows app:
26.616.6631.0x64 - Bundled Codex CLI:
0.130.0-alpha.5 - Windows: Pro 25H2, build
26220.8690 - Windows Insider channel: Beta / Mainline
- Architecture: x64
Error
Dialog shown by codex-windows-sandbox-setup.exe:
COM+ 注册表数据库检测到一个系统错误
English translation:
COM+ registry database detected a system error
The calling operation can also fail with:
orchestrator_helper_launch_canceled:
ShellExecuteExW failed to launch setup helper: 1223
Steps to reproduce
- Start the Codex Windows app.
- Use Default permissions with the native elevated Windows sandbox.
- Open a local workspace.
- Trigger an
apply_patchoperation. - Observe the
codex-windows-sandbox-setup.exeCOM+ error dialog. - The operation waits indefinitely or fails.
Expected behavior
The elevated Windows sandbox setup completes and sandboxed file operations run normally.
Actual behavior
The COM+ error dialog appears whenever the setup helper is triggered. Sandboxed operations cannot complete reliably.
Diagnostics already completed
- UAC is enabled with normal administrator prompt and secure desktop settings.
- 64-bit
sfc /scannowreports no integrity violations. COMAdmin.COMAdminCatalogcan successfully enumerate the local COM+ catalog (6 applications).- COM+ Event System and RPC are running normally.
- The computer was renamed from a non-ASCII name to an ASCII-only name and rebooted.
- Removed and cleanly recreated:
CodexSandboxOnlineCodexSandboxOfflineCodexSandboxUsers%USERPROFILE%\.codex\.sandbox%USERPROFILE%\.codex\.sandbox-bin- Rebooted and reproduced the issue after the clean sandbox rebuild.
- Updating the Codex app did not resolve the issue.
Notes
The standard COM+ catalog is readable and Windows Resource Protection reports a healthy system, so this appears specific to the elevated Codex sandbox setup path on this Windows Insider Beta build.
5 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
怎么解决呢
我在.env里设置代理之后就不行了 删了就好了 但是重新连5次的问题又出来了
我也是删除之后就没问题,看来目前只能不用env配置文件,直接开启虚拟网卡模式使用
<img width="553" height="276" alt="Image" src="https://github.com/user-attachments/assets/319c8f2f-2c81-4184-9a22-a4fa7adcb362" />
check whether the COM+ System Application service is running properly.
<img width="285" height="31" alt="Image" src="https://github.com/user-attachments/assets/7c8d9602-aaac-4a19-a6ce-376550ff1cc2" />