claude-code - 💡(How to fix) Fix [BUG] Cowork Linux sandbox fails with HYPERVISOR_SERVICE_ERROR (0x80370102) on Citrix XenServer-based VDI environment [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#52359Fetched 2026-04-24 06:09:15
View on GitHub
Comments
2
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×3commented ×2subscribed ×1

Error Message

[error] [VM:start] VM boot failed: HCS operation failed: failed to create compute system: HcsWaitForOperationResult failed with HRESULT 0x80370102: {"Error":-2143878910, "ErrorMessage":"The virtual machine could not be started because a required feature is not installed.", "ErrorEvents":[{"Message":"Cannot create system 'cowork-vm' since Hyper-V is not installed on the host.","EventId":11008}]} [error] [VM:start] HCS error detected, available=true, missing=[], sentinel=HYPERVISOR_SERVICE_ERROR [error] [VM:start] Startup failed: Error: HYPERVISOR_SERVICE_ERROR

Root Cause

[error] [VM:start] VM boot failed: HCS operation failed: failed to create compute system:
HcsWaitForOperationResult failed with HRESULT 0x80370102:
{"Error":-2143878910,
"ErrorMessage":"The virtual machine could not be started because a required feature is not installed.",
"ErrorEvents":[{"Message":"Cannot create system 'cowork-vm' since Hyper-V is not installed on the host.","EventId":11008}]}
[error] [VM:start] HCS error detected, available=true, missing=[], sentinel=HYPERVISOR_SERVICE_ERROR
[error] [VM:start] Startup failed: Error: HYPERVISOR_SERVICE_ERROR

Code Example

[error] [VM:start] VM boot failed: HCS operation failed: failed to create compute system:
HcsWaitForOperationResult failed with HRESULT 0x80370102:
{"Error":-2143878910,
"ErrorMessage":"The virtual machine could not be started because a required feature is not installed.",
"ErrorEvents":[{"Message":"Cannot create system 'cowork-vm' since Hyper-V is not installed on the host.","EventId":11008}]}
[error] [VM:start] HCS error detected, available=true, missing=[], sentinel=HYPERVISOR_SERVICE_ERROR
[error] [VM:start] Startup failed: Error: HYPERVISOR_SERVICE_ERROR
RAW_BUFFERClick to expand / collapse

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 Linux sandbox fails to start on Citrix XenServer-based VDI environment. The Cowork tab shows "Workspace unavailable. The isolated Linux environment failed to start." File tools (read/write/edit/search) work correctly. Only the Linux sandbox is affected.

What Should Happen?

Cowork Linux sandbox should start successfully and allow shell command execution, Python/Node script execution, and other sandbox features within the isolated Linux environment.

Error Messages/Logs

[error] [VM:start] VM boot failed: HCS operation failed: failed to create compute system:
HcsWaitForOperationResult failed with HRESULT 0x80370102:
{"Error":-2143878910,
"ErrorMessage":"The virtual machine could not be started because a required feature is not installed.",
"ErrorEvents":[{"Message":"Cannot create system 'cowork-vm' since Hyper-V is not installed on the host.","EventId":11008}]}
[error] [VM:start] HCS error detected, available=true, missing=[], sentinel=HYPERVISOR_SERVICE_ERROR
[error] [VM:start] Startup failed: Error: HYPERVISOR_SERVICE_ERROR

Steps to Reproduce

  1. Deploy Claude Desktop v1.3883.0.0 on Windows 11 Pro VM hosted on Citrix XenServer
  2. Enable nested virtualization on XenServer host: xe vm-param-set uuid=<VM_UUID> platform:exp-nested-hvm=true xe vm-param-set uuid=<VM_UUID> platform:viridian=false
  3. Enable Hyper-V features in Windows guest: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All Enable-WindowsOptionalFeature -Online -FeatureName HypervisorPlatform
  4. Confirm: bcdedit hypervisorlaunchtype=Auto, vmcompute Running
  5. Reboot VM
  6. Open Claude Desktop → Cowork tab
  7. Observe: Linux sandbox fails to start with HYPERVISOR_SERVICE_ERROR

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

N/A - This is Claude Desktop (Cowork), not Claude Code

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

  • Host Hypervisor: Citrix XenServer
  • VDI Platform: Citrix Virtual Apps and Desktops
  • Claude Desktop: v1.3883.0.0 (Microsoft Store / MSIX)
  • VirtualizationFirmwareEnabled: True
  • HyperVisorPresent: True
  • All Hyper-V features: Enabled
  • bcdedit hypervisorlaunchtype: Auto
  • vmcompute: Running
  • Cowork Readiness Check result: PASS (but sandbox still fails)
  • WSL2 also fails with same error (HCS_E_HYPERV_NOT_INSTALLED)

Root cause: XenServer does not fully expose HCS-required hypervisor interface to Windows guests, unlike VMware vSphere which has Microsoft collaboration for nested Hyper-V support. XenServer official docs confirm "nested virtualization is not supported for Windows VMs."

Related issues: #27316, #27317, #29887, #32004, #33784, #45715

Business impact: XenServer/Citrix Hypervisor is widely used in enterprise VDI and DaaS deployments, especially in regulated industries and network-separated environments. Enterprise customers in these environments cannot use Cowork's core sandbox functionality.

extent analysis

TL;DR

The Linux sandbox in Cowork on Citrix XenServer-based VDI environment fails to start due to XenServer not fully exposing the HCS-required hypervisor interface to Windows guests, and a workaround or alternative virtualization platform may be necessary.

Guidance

  • Verify that XenServer's limitations on nested virtualization for Windows VMs are the root cause by checking the official XenServer documentation and comparing with other virtualization platforms like VMware vSphere.
  • Consider using an alternative virtualization platform that supports nested Hyper-V, such as VMware vSphere, to enable Cowork's sandbox functionality.
  • If switching virtualization platforms is not feasible, explore other sandbox solutions that do not rely on Hyper-V or nested virtualization.
  • Review related issues (#27316, #27317, #29887, #32004, #33784, #45715) for potential workarounds or insights from similar problems.

Notes

The issue is specific to Citrix XenServer and its limitations on nested virtualization for Windows VMs. The provided error messages and logs clearly indicate that the Hyper-V feature is not installed or exposed to the Windows guest, which is required for the Cowork Linux sandbox to function.

Recommendation

Apply workaround: Consider using an alternative virtualization platform that supports nested Hyper-V, as XenServer's limitations on nested virtualization for Windows VMs are the root cause of the issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Cowork Linux sandbox fails with HYPERVISOR_SERVICE_ERROR (0x80370102) on Citrix XenServer-based VDI environment [2 comments, 2 participants]