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
- Open the workspace in Codex Desktop on Windows.
- Ask Codex to edit an existing source file.
- Codex attempts to use apply_patch.
- 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
1 Comment
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action