Windows desktop: workspace edit sandbox fails with “setup refresh had errors”

Open 💬 1 comment Opened Jul 26, 2026 by Manikandan-Thirumani
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What happened

Codex Desktop can read my local .NET workspace but cannot apply any file edits.

Every attempted edit fails before reading the target file with:

windows sandbox helper failed with status exit code: 1:
windows sandbox failed: helper_unknown_error: setup refresh had errors

Expected behavior

Codex should be able to edit files inside the explicitly permitted workspace.

Workspace

D:\test\poc\EnterpriseAI\Enterprise-AI

Steps to reproduce

  1. Open the workspace in Codex Desktop on Windows.
  2. Ask Codex to edit an existing source file.
  3. Codex attempts to use apply_patch.
  4. The sandbox helper fails with the error above.

Troubleshooting already attempted

  • Restarted Codex Desktop.
  • Reopened the workspace.
  • Confirmed the project is readable.

Feedback ID

019f9e58-955e-78f0-bd72-3fa13502e5e7

View original on GitHub ↗

1 Comment

github-actions[bot] contributor · 1 month ago

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

  • #35181
  • #35353

Powered by Codex Action