-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Open
Labels
bugSomething isn't workingSomething isn't workingduplicateThis issue or pull request already existsThis issue or pull request already existsplatform:windowsIssue specifically occurs on WindowsIssue specifically occurs on Windows
Description
Bug Description
Cowork on Windows fails to start with two distinct errors that occur in sequence:
- Initial error — CLI output is not valid JSON due to sandbox-helper debug output contaminating stdout:
CLI output was not valid JSON. This may indicate an error during startup.
Output: sandbox-helper: failed to unmount host share (virtiofs at /mnt/.virtiofs-root: invalid argument, plan9 at /mnt/.virtiofs-root/shared: invalid argument)
- After restarting Claude Desktop — The workspace fails with:
VM service not running. The service failed to start.
Steps to Reproduce
- Open Claude Desktop on Windows 11 Pro
- Try to use Cowork
- First attempt shows the
sandbox-helper: failed to unmount host shareerror - Restarting Claude Desktop changes the error to "VM service not running. The service failed to start."
- Cycle repeats indefinitely
Troubleshooting Already Attempted
- Deleted
vm_bundles/claudevm.bundle(rootfs.vhdx, sessiondata.vhdx, smol-bin.vhdx) to force a fresh re-download — same errors after rebuild - Restarted Hyper-V services (
vmms,HvHost) — both confirmed running, error persists - Terminated all
claude,cowork-svc,vmwpprocesses and restarted — no improvement - Confirmed Hyper-V is fully enabled and functional (vmms: Running/Automatic, HvHost: Running/Manual)
Environment
| Detail | Value |
|---|---|
| OS | Microsoft Windows 11 Pro 10.0.26200 (Build 26200) |
| Architecture | AMD64 |
| Claude Desktop version | 1.1.2998.0 (MSIX/AppX package) |
| Claude Code CLI version | 2.1.39 |
| Hyper-V vmms service | Running (Automatic) |
| Hyper-V HvHost service | Running (Manual) |
| Installation type | Microsoft Store / AppX (Claude_pzs8sxrjxfjjc) |
Expected Behavior
Cowork should start the VM workspace successfully without sandbox-helper unmount errors.
Actual Behavior
The sandbox-helper fails to unmount host shares using both virtiofs and plan9 protocols with "invalid argument", which corrupts the JSON output stream and prevents the workspace from initializing. After restart, the VM service fails to start entirely.
Possibly Related Issues
- [BUG] [Cowork] Windows: VM starts successfully but crashes within 5 minutes, service unrecoverable (Win 11 Pro, Hyper-V) #25206 — VM starts but crashes within 5 minutes, service unrecoverable (Win 11 Pro)
- [BUG] [Cowork] Windows: sessiondata.vhdx not created + network diagnostics uses macOS commands #24974 — sessiondata.vhdx not created on Windows
- [BUG] Cowork VM boots successfully but API is unreachable on Windows #24945 — VM boots but API unreachable on Windows
- [BUG] Sandbox debug output contaminating JSON stream in Codespaces #12056 — Sandbox debug output contaminating JSON stream
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingduplicateThis issue or pull request already existsThis issue or pull request already existsplatform:windowsIssue specifically occurs on WindowsIssue specifically occurs on Windows