claude-code - 💡(How to fix) Fix [BUG] Cowork - VM service not running, error 1058, cannot start CoworkVMService on Windows 10 Pro [1 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#52006Fetched 2026-04-23 07:39:04
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×4commented ×1

Error Message

Cowork fails to start with "Failed to start Claude's workspace — VM service not running. The service failed to start." CoworkVMService shows error 1058 (disabled / no associated devices). Tried: reinstalling workspace, rebooting, manually enabling Hyper-V and VirtualMachinePlatform via DISM, setting bcdedit hypervisorlaunchtype to auto, modifying registry start value to 3. Nothing works.

Error Messages/Logs

net start CoworkVMService → System error 1058: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. 3. Observe error: "VM service not running. The service failed to start." 4. Error persists after reboot, reinstall, and manually enabling all Hyper-V components Windows 10 Pro 22H2 (build 19045.6466). Hyper-V fully enabled. staterepository dependency is running. CoworkVMService is WIN32_PACKAGED_PROCESS type — sc config access is denied (Error 5). Registry workaround (Start=3) applied but error 1058 persists.

Root Cause

sc query CoworkVMService → STATE: 1 STOPPED, WIN32_EXIT_CODE: 1077 (0x435)
net start CoworkVMService → System error 1058: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
sc qc CoworkVMService → DEPENDENCIES: staterepository (staterepository is RUNNING)
bcdedit /set hypervisorlaunchtype auto → completed successfully
Microsoft-Hyper-V → Estado: Habilitado
HypervisorPlatform → Estado: Habilitado

Fix Action

Fix / Workaround

Windows 10 Pro 22H2 (build 19045.6466). Hyper-V fully enabled. staterepository dependency is running. CoworkVMService is WIN32_PACKAGED_PROCESS type — sc config access is denied (Error 5). Registry workaround (Start=3) applied but error 1058 persists.

Code Example

sc query CoworkVMServiceSTATE: 1 STOPPED, WIN32_EXIT_CODE: 1077 (0x435)
net start CoworkVMServiceSystem error 1058: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
sc qc CoworkVMServiceDEPENDENCIES: staterepository (staterepository is RUNNING)
bcdedit /set hypervisorlaunchtype auto → completed successfully
Microsoft-Hyper-VEstado: Habilitado
HypervisorPlatformEstado: Habilitado
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 fails to start with "Failed to start Claude's workspace — VM service not running. The service failed to start." CoworkVMService shows error 1058 (disabled / no associated devices). Tried: reinstalling workspace, rebooting, manually enabling Hyper-V and VirtualMachinePlatform via DISM, setting bcdedit hypervisorlaunchtype to auto, modifying registry start value to 3. Nothing works.

What Should Happen?

Cowork should start successfully and the CoworkVMService should run without errors.

Error Messages/Logs

sc query CoworkVMService → STATE: 1 STOPPED, WIN32_EXIT_CODE: 1077 (0x435)
net start CoworkVMService → System error 1058: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
sc qc CoworkVMService → DEPENDENCIES: staterepository (staterepository is RUNNING)
bcdedit /set hypervisorlaunchtype auto → completed successfully
Microsoft-Hyper-V → Estado: Habilitado
HypervisorPlatform → Estado: Habilitado

Steps to Reproduce

  1. Install Claude Desktop on Windows 10 Pro (22H2, build 19045.6466)
  2. Open Cowork tab
  3. Observe error: "VM service not running. The service failed to start."
  4. Error persists after reboot, reinstall, and manually enabling all Hyper-V components

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

1.3883.0.0

Claude Code Version

1.3883.0.0

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

Windows 10 Pro 22H2 (build 19045.6466). Hyper-V fully enabled. staterepository dependency is running. CoworkVMService is WIN32_PACKAGED_PROCESS type — sc config access is denied (Error 5). Registry workaround (Start=3) applied but error 1058 persists.

extent analysis

TL;DR

The issue is likely due to a configuration or dependency problem with the CoworkVMService, and a potential workaround involves investigating the service's dependencies and permissions.

Guidance

  • Investigate the dependencies of the CoworkVMService, specifically the staterepository service, to ensure it is properly configured and running.
  • Check the event logs for any errors related to the CoworkVMService or Hyper-V to gain more insight into the issue.
  • Consider checking the permissions and access control lists (ACLs) for the CoworkVMService to ensure it has the necessary permissions to start and run.
  • Verify that all Hyper-V components are properly enabled and configured, including the VirtualMachinePlatform and Microsoft-Hyper-V services.

Example

No code snippet is provided as the issue seems to be related to system configuration and service dependencies rather than code.

Notes

The issue seems to be specific to the Windows 10 Pro environment and the CoworkVMService. The fact that the staterepository dependency is running suggests that the issue might be related to the service's configuration or permissions.

Recommendation

Apply workaround: Investigate and adjust the dependencies and permissions of the CoworkVMService, as the issue seems to be related to its configuration rather than a version-specific bug.

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