Skip to content

[BUG] [Cowork] Windows: VM starts successfully but crashes within 5 minutes, service unrecoverable (Win 11 Pro, Hyper-V) #25206

Closed as not planned

Description

@thisisJohnAU

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?

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report
  • I am using the latest version of Claude Code

What's Wrong?

Cowork workspace setup begins but consistently fails with: "VM service not running. The service failed to start."

The VM briefly starts successfully (confirmed via Hyper-V event logs) but crashes within ~5 minutes. All subsequent attempts fail with the same error. This appears related to the broader pattern of Windows Cowork VM failures reported in #24974, #24962, #25024, #24945, and #24918.

Environment

  • Claude Desktop: v1.1.2685
  • Windows 11 Pro (build 26220)
  • Lenovo ThinkPad X1 Nano Gen 1 (20XYS03200)
  • 11th Gen Intel i7-1165G7, 16 GB RAM
  • Hyper-V enabled, Intel VT-x enabled in BIOS
  • Hyper-V services (vmms, vmcompute) running

Diagnostic Steps Taken

  1. Enabled Hyper-V via Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
  2. Enabled Intel Virtualization Technology (VT-x) in BIOS (Security > Virtualization)
  3. Confirmed Hyper-V services running: vmms (Automatic), vmcompute (Manual)
  4. Confirmed VirtualizationFirmwareEnabled = True and VMMonitorModeExtensions = True
  5. Deleted claude-code-vm and vm_bundles directories to force clean rebuild — same failure
  6. Multiple Claude app restarts and full system reboots — no change

Hyper-V Event Log Evidence

The VM ('cowork-vm', ID 960E110C-FC59-5B4B-843D-68737D617893) started successfully at 13:55:21, connected to virtual network, then was turned off by 14:00:24. Subsequent attempts fail to restart the service.

13:55:20 - 'cowork-vm' properties were successfully initialized
13:55:21 - 'cowork-vm' connected to virtual network
13:55:21 - 'cowork-vm' started successfully
14:00:24 - 'cowork-vm' was turned off

Sentry Error IDs from main.log

  • 504336fc02cb420495984bc29c96127d
  • fdb50d1f08454b29a3cbeb235b3f0d15

Both errors: "VM service not running. The service failed to start."

Additional Log Notes

Related Issues

Expected Behaviour

Cowork VM should start and remain running, with the workspace available for task execution.

What Actually Happens

VM starts, crashes within minutes, and cannot be restarted without manual cleanup of app data directories — after which the rebuilt VM crashes identically.

What Should Happen?

After Hyper-V and VT-x are enabled, the Cowork VM should start, remain running for the duration of the task, and recover gracefully if interrupted. Specifically:

  1. The VM should persist beyond initial boot without crashing unprompted
  2. If the VM service fails, the app should be able to restart it without requiring manual deletion of claude-code-vm and vm_bundles directories
  3. The Cowork tab should surface actionable error information rather than the generic "VM service not running" message, particularly any guest OS or coworkd logs from inside the VM that would explain why it stopped

Error Messages/Logs

In Cowork:

Failed to start Claude's workspace
VM service not running. The service failed to start.
Restarting Claude or your computer sometimes resolves this. If it persists, you can reinstall the workspace or share your debug logs to help us improve.

Steps to Reproduce

  1. Install Claude Desktop v1.1.2685 on Windows 11 Pro
  2. Enable Hyper-V and Intel VT-x (required — neither was enabled by default)
  3. Open Cowork and submit a task
  4. Workspace setup begins, VM starts successfully
  5. VM crashes within ~5 minutes
  6. All subsequent attempts fail with "VM service not running. The service failed to start."
  7. Deleting claude-code-vm and vm_bundles directories triggers a clean rebuild, but the rebuilt VM crashes identically

Claude Model

Opus

Is this a regression?

No, this never worked

Last Working Version

No response

Claude Code Version

Claude Desktop: v1.1.2685

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

No response

Activity

  1. github-actions commented on Feb 12, 2026

    @github-actions

    Found 3 possible duplicate issues:

    1. [BUG] Cowork Windows - CSP blocks a-api.anthropic.com, VM starts but API unreachable (Win 11 25H2) #25024
    2. [BUG] Cowork Windows - VM boots but cannot reach Claude API (Windows 10 Pro, Hyper-V) #25155
    3. [BUG] Cowork VM boots successfully but API is unreachable on Windows #24945

    This issue will be automatically closed as a duplicate in 3 days.

    • If your issue is a duplicate, please close it and 👍 the existing issue instead
    • To prevent auto-closure, add a comment or 👎 this comment

    🤖 Generated with Claude Code

  2. thisisJohnAU commented on Feb 12, 2026

    @thisisJohnAU
    Author

    This is not a duplicate of the flagged issues. Those three reports (#25024, #25155, #24945) describe a scenario where the VM boots and stays running but the API is unreachable from inside the VM, a networking/CSP problem.

    My issue is different - the VM itself crashes within ~5 minutes of starting (confirmed via Hyper-V event logs showing the VM was turned off at 14:00:24 after starting at 13:55:21). The failure is at the VM lifecycle level, not the network layer. After the crash, the VM service cannot be restarted at all, even after deleting and rebuilding the VM bundle.

    The CSP violation errors in my logs may be a contributing factor (and may overlap with #25024), but the core problem is distinct: VM process termination, not API unreachability.

  3. JannetjeIQ commented on Feb 15, 2026

    @JannetjeIQ

    Also experiencing this on Windows 11 Pro Insider Preview Build 26200.5710.

    Same symptoms: VM service fails to start, missing sessiondata.vhdx and smol-bin.vhdx from bundle directory, no VM appears in Hyper-V Manager.

    Full system specs: Intel i9-9900, 64GB RAM, Claude Desktop 1.1.3189.0

    Tried all troubleshooting steps (disabled disconnected adapters, ran as admin, multiple reinstalls) - none resolved the issue. Debug logs shared via Claude Desktop.

  4. FrankvD-Prog02 commented on Mar 1, 2026

    @FrankvD-Prog02

    **+1 — Still experiencing this on the latest version.

    Environment:

    • Windows 11 Home, 64-bit
      • Claude Desktop v1.1.4010.0 (Microsoft Store)
        • Hyper-V / Virtual Machine Platform enabled

        • Symptoms:
        • VM spawns successfully (~818ms) but sdk-daemon disconnects immediately. Also seeing Plan9 mount failed: bad address and signature verification failed: client executable is not signed in logs.

        • Log excerpt from cowork_vm_node.log:
        • [Spawn:vm] OAuth token approved with MITM proxy
        • [Spawn:vm] Spawn succeeded in 818ms
        • [Process] failed to write stdin: Error: sdk-daemon not connected
        • [CoworkVMProcess] kill failed with error: Error: sdk-daemon not connected

        • Troubleshooting attempted (all failed):
          • Cleared cache and restarted (Help → Troubleshooting)
            • Deleted vm_bundles folder + all Cowork-related data
              • Multiple Claude Desktop restarts
                • Confirmed Hyper-V and virtualization features are enabled

                • This has persisted across multiple versions (from yukonSilver "unsupported" errors in Jan, through Plan9 mount failures in Feb, to sdk-daemon disconnects now in Mar). Regular Chat mode + MCP tools work fine — only Cowork is broken.**
  5. github-actions commented on Mar 29, 2026

    @github-actions

    Closing for now — inactive for too long. Please open a new issue if this is still relevant.

  6. github-actions commented on Apr 6, 2026

    @github-actions

    This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

  7. locked as resolved and limited conversation to collaborators on Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:corebugSomething isn't workinghas reproHas detailed reproduction stepsplatform:windowsIssue specifically occurs on WindowsstaleIssue is inactive

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions