Skip to content

[BUG] Cowork Windows - sandbox-helper fails to mount host share (virtiofs/Plan9) with OneDrive-synced folders #25293

Description

@EricSev

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

[BUG] Cowork Windows - sandbox-helper fails to mount host share (virtiofs/Plan9) with OneDrive-synced folders

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Cowork fails at VM startup with a sandbox mount error. The workspace never reaches API connection; it crashes during the host-share mounting phase. My working directories are stored on OneDrive, which may be the root cause since OneDrive uses the Windows Cloud Files API (placeholder/dehydrated files) rather than standard NTFS file access.

Error output:

CLI output was not valid JSON. This may indicate an error during startup.
Output: sandbox-helper: failed to unmount host share (tried both virtiofs and Plan9): invalid argument

The sandbox-helper attempts both virtiofs and Plan 9 (9p) filesystem protocols to mount the shared folder from the Windows host into the Linux VM. Both fail with "invalid argument," suggesting the underlying filesystem (OneDrive's cloud files layer) is incompatible with the host-share mechanism.

Regular Chat mode works without issues. Only Cowork is affected.

What Should Happen?

Cowork should either:

  1. Successfully mount OneDrive-synced folders via virtiofs or Plan 9, or
  2. Detect OneDrive paths and provide a clear error message guiding the user to select a local (non-OneDrive) working directory

Steps to Reproduce

  1. Have a Windows 11 Home system with OneDrive enabled and documents stored in OneDrive-synced folders
  2. Open Claude Desktop (latest version, Feb 2026)
  3. Switch to Cowork tab
  4. Start any task
  5. Observe: sandbox-helper mount failure before the workspace can start

Suspected Root Cause

OneDrive's Cloud Files API presents files as placeholder/dehydrated stubs on disk. The virtiofs and Plan 9 host-share protocols likely expect standard NTFS file access and cannot traverse OneDrive's filter driver. The mount call returns EINVAL ("invalid argument") because the filesystem at the shared path isn't a conventional local filesystem.

This may also affect other cloud storage providers that use similar virtual filesystem drivers (e.g., Dropbox Smart Sync, Google Drive streaming).

Troubleshooting Attempted

  • Verified Windows Features: Virtual Machine Platform ✅, Windows Hypervisor Platform ✅ (Hyper-V not available on Home edition)
  • Restarted Claude Desktop multiple times
  • No VPN active
  • Windows Defender Firewall: Claude allowed on both Private and Public networks
  • Have not yet tested with a non-OneDrive local folder (will update if this resolves the issue)

Environment

Component Detail
OS Windows 11 Home, Version 25H2, Build 26200.7840
Processor 13th Gen Intel Core i7-13700HX (2.10 GHz)
RAM 32 GB
System type 64-bit, x64-based processor
Claude Desktop Latest version (downloaded Feb 2026)
OneDrive Active, documents stored in OneDrive-synced folders
Windows Feature Experience Pack 1000.26100.291.0

Claude Model

Opus

Is this a regression?

No, this never worked

Claude Code Version

Claude Desktop latest version (Windows, downloaded Feb 2026). This is Cowork on Claude Desktop, not Claude Code CLI.

Platform

Anthropic API

Operating System

Windows

Additional Context

# [BUG] Cowork Windows - sandbox-helper fails to mount host share (virtiofs/Plan9) with OneDrive-synced folders

Preflight Checklist

What's Wrong?

Cowork fails at VM startup with a sandbox mount error. The workspace never reaches API connection; it crashes during the host-share mounting phase. My working directories are stored on OneDrive, which may be the root cause since OneDrive uses the Windows Cloud Files API (placeholder/dehydrated files) rather than standard NTFS file access.

Error output:

CLI output was not valid JSON. This may indicate an error during startup.
Output: sandbox-helper: failed to unmount host share (tried both virtiofs and Plan9): invalid argument

The sandbox-helper attempts both virtiofs and Plan 9 (9p) filesystem protocols to mount the shared folder from the Windows host into the Linux VM. Both fail with "invalid argument," suggesting the underlying filesystem (OneDrive's cloud files layer) is incompatible with the host-share mechanism.

Regular Chat mode works without issues. Only Cowork is affected.

What Should Happen?

Cowork should either:

  1. Successfully mount OneDrive-synced folders via virtiofs or Plan 9, or
  2. Detect OneDrive paths and provide a clear error message guiding the user to select a local (non-OneDrive) working directory

Steps to Reproduce

  1. Have a Windows 11 Home system with OneDrive enabled and documents stored in OneDrive-synced folders
  2. Open Claude Desktop (latest version, Feb 2026)
  3. Switch to Cowork tab
  4. Start any task
  5. Observe: sandbox-helper mount failure before the workspace can start

Suspected Root Cause

OneDrive's Cloud Files API presents files as placeholder/dehydrated stubs on disk. The virtiofs and Plan 9 host-share protocols likely expect standard NTFS file access and cannot traverse OneDrive's filter driver. The mount call returns EINVAL ("invalid argument") because the filesystem at the shared path isn't a conventional local filesystem.

This may also affect other cloud storage providers that use similar virtual filesystem drivers (e.g., Dropbox Smart Sync, Google Drive streaming).

Troubleshooting Attempted

  • Verified Windows Features: Virtual Machine Platform ✅, Windows Hypervisor Platform ✅ (Hyper-V not available on Home edition)
  • Restarted Claude Desktop multiple times
  • No VPN active
  • Windows Defender Firewall: Claude allowed on both Private and Public networks
  • Have not yet tested with a non-OneDrive local folder (will update if this resolves the issue)

Environment

Component Detail
OS Windows 11 Home, Version 25H2, Build 26200.7840
Processor 13th Gen Intel Core i7-13700HX (2.10 GHz)
RAM 32 GB
System type 64-bit, x64-based processor
Claude Desktop Latest version (downloaded Feb 2026)
OneDrive Active, documents stored in OneDrive-synced folders
Windows Feature Experience Pack 1000.26100.291.0

Claude Model

Opus

Is this a regression?

No, this never worked

Claude Code Version

Claude Desktop latest version (Windows, downloaded Feb 2026). This is Cowork on Claude Desktop, not Claude Code CLI.

Platform

Anthropic API

Operating System

Windows

Additional Context

What Should Happen?

Cowork should access the directory and subdirectories

Error Messages/Logs

CLI output was not valid JSON. This may indicate an error during startup. Output: sandbox-helper: failed to unmount host share (tried both virtiofs and Plan9): invalid argument

Steps to Reproduce

  1. Start Claude Desktop in Windows Home OS
  2. Select directory or folder (on OneDrive)
  3. Enter Prompt and click the go arrow

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

Cowork

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:corebugSomething isn't workinghas reproHas detailed reproduction stepsplatform:windowsIssue specifically occurs on Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions