Skip to content

[BUG] HRESULT 0x80070005 #44139

Description

@sitorongfeng

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?

error code 0x80070005, smol-bin.vhdx, and sessiondata.vhdx on Windows 11 Pro.

I have tried the below steps
restart PC,
Restart Claude app.
Reinstall workspace also does not work.

Run PowerShell as Administrator, Stop-Process -Name "Claude" -Force -ErrorAction SilentlyContinue; Start-Service CoworkVMService

Enabled to the below windows features
✅ Virtual Machine Platform
✅ Windows Hypervisor Platform
✅ Hyper-V (all sub-options)

Run Powershell,
icacls "$env:LOCALAPPDATA\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude\vm_bundles" /grant SYSTEM:F /T

Start-Service CoworkVMService

Get-Content "$env:LOCALAPPDATA\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude\logs\cowork_vm_node.log" -Tail 30

icacls "C:\Users\sito\AppData\Local\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude\vm_bundles\claudevm.bundle" /grant SYSTEM:F /T

icacls "C:\Users\sito\AppData\Local\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude\vm_bundles\claudevm.bundle\smol-bin.vhdx" /grant SYSTEM:F

Get-ChildItem "C:\Users\sito\AppData\Local\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude\vm_bundles\claudevm.bundle" -Filter "*.vhdx" | ForEach-Object { icacls $_.FullName /grant SYSTEM:F }

What Should Happen?

NA

Error Messages/Logs

HCS operation failed: failed to start VM: HcsWaitForOperationResult failed with HRESULT 0x80070005: {"Error":-2147024891,"ErrorMessage":"Access is denied.","ErrorEvents":[{"Message":"'cowork-vm-ab07d58b' failed to start. (Virtual machine ID F025C340-A119-540B-8018-78E60D95F322)","Provider":"51ddfa29-d5c8-4803-be4b-2ecb715570fe","EventId":12030,"Flags":13,"Data":[{"Type":"String","Value":"cowork-vm-ab07d58b"},{"Type":"String","Value":"F025C340-A119-540B-8018-78E60D95F322"}]},{"Message":"'cowork-vm-ab07d58b' Synthetic Storage (Instance ID 1FF46D3F-E712-5DBC-9813-AAD51981A2E9): Failed to Power on with Error 'Access is denied.' (0x80070005). (Virtual machine ID F025C340-A119-540B-8018-78E60D95F322)","Provider":"51ddfa29-d5c8-4803-be4b-2ecb715570fe","EventId":12010,"Flags":5,"Data":[{"Type":"String","Value":"cowork-vm-ab07d58b"},{"Type":"String","Value":"F025C340-A119-540B-8018-78E60D95F322"},{"Type":"String","Value":"Synthetic Storage"},{"Type":"String","Value":"%%2147942405"},{"Type":"String","Value":"0x80070005"},{"Type":"String","Value":"1FF46D3F-E712-5DBC-9813-AAD51981A2E9"},{"Type":"String","Value":""}]},{"Message":"'cowork-vm-ab07d58b': Account does not have permission to open attachment 'C:\\Users\\sito\\AppData\\Local\\Packages\\Claude_pzs8sxrjxfjjc\\LocalCache\\Roaming\\Claude\\vm_bundles\\claudevm.bundle\\smol-bin.vhdx (Lun 1)'. Error: 'Access is denied.' (0x80070005). (Virtual machine ID F025C340-A119-540B-8018-78E60D95F322)","Provider":"edacd782-2564-4497-ade6-7199377850f2","EventId":12290,"Flags":5,"Data":[{"Type":"String","Value":"cowork-vm-ab07d58b"},{"Type":"String","Value":"F025C340-A119-540B-8018-78E60D95F322"},{"Type":"String","Value":"C:\\Users\\sito\\AppData\\Local\\Packages\\Claude_pzs8sxrjxfjjc\\LocalCache\\Roaming\\Claude\\vm_bundles\\claudevm.bundle\\smol-bin.vhdx (Lun 1)"},{"Type":"String","Value":"%%2147942405"},{"Type":"String","Value":"0x80070005"},{"Type":"String","Value":""},{"Type":"String","Value":""}]}],"Attribution":[{"OperationFailure":{"Detail":"Start"}},{"VirtualDeviceFailure":{"Detail":"PowerOnCold","Name":"Synthetic Storage","DeviceId":"d422512d-2bf2-4752-809d-7b82b5fcb1b4","InstanceId":"1ff46d3f-e712-5dbc-9813-aad51981a2e9"}}]}

Steps to Reproduce

NA

Claude Model

Sonnet (default)

Is this a regression?

No, this never worked

Last Working Version

No response

Claude Code Version

1.569.0.0

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

my email is sito@isnapphotography.sg
I just upgraded to pro plan today, hoping to use COWORK, but after several hours, I can't get it to work. Please help me

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions