[BUG] Cowork Workspace Fails on Windows with EBADF on rootfs.vhdx rename #47343

Resolved 💬 1 comment Opened May 26, 2026 by ptrk5000x Closed Jun 27, 2026

Preflight Checklist

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

What's Wrong?

[BUG] Cowork Workspace Fails on Windows with EBADF on rootfs.vhdx rename

EBADF: bad file descriptor, rename 'C:\Users\pl\AppData\Roaming\Claude\vm_bundles\claudevm.bundle.wvm-tmp-titUzV\rootfs.vhdx' -> 'C:\Users\pl\AppData\Roaming\Claude\vm_bundles\claudevm.bundle\rootfs.vhdx'

Restarting Claude or your computer sometimes resolves this. If it persists, you can reinstall the workspace. - never helped, Running as admin or deleting folders never helped as well. Cannot run on more than one Notebook. Tried to troubleshoot it with Code, doesnt help.
What Sho

What Should Happen?

Cowork start

Error Messages/Logs

EBADF: bad file descriptor, rename 'C:\Users\pl\AppData\Roaming\Claude\vm_bundles\claudevm.bundle\.wvm-tmp-titUzV\rootfs.vhdx' -> 'C:\Users\pl\AppData\Roaming\Claude\vm_bundles\claudevm.bundle\rootfs.vhdx'

2026-04-14 16:43:15 [info] rootfs.vhdx.zst checksum validated
2026-04-14 16:43:16 [error] [download] VM download failed: EBADF: bad file descriptor, rename 'C:\Users\pl\AppData\Roaming\Claude\vm_bundles\claudevm.bundle\.wvm-tmp-shGEtW\rootfs.vhdx' -> 'C:\Users\pl\AppData\Roaming\Claude\vm_bundles\claudevm.bundle\rootfs.vhdx'
2026-04-14 16:43:16 [error] [VM:start] Startup failed: Error: EBADF: bad file descriptor, rename 'C:\Users\pl\AppData\Roaming\Claude\vm_bundles\claudevm.bundle\.wvm-tmp-shGEtW\rootfs.vhdx' -> 'C:\Users\pl\AppData\Roaming\Claude\vm_bundles\claudevm.bundle\rootfs.vhdx'
    at async Object.rename (node:internal/fs/promises:782:10)
    at async B4n (C:\Program Files\WindowsApps\Claude_1.2278.0.0_x64__pzs8sxrjxfjjc\app\resources\app.asar\.vite\build\index.js:1783:11032) {
  [stack]: [Getter/Setter],
  [message]: "EBADF: bad file descriptor, rename 'C:\\Users\\pl\\AppData\\Roaming\\Claude\\vm_bundles\\claudevm.bundle\\.wvm-tmp-shGEtW\\rootfs.vhdx' -> 'C:\\Users\\pl\\AppData\\Roaming\\Claude\\vm_bundles\\claudevm.bundle\\rootfs.vhdx'",
  errno: -4083,
  code: 'EBADF',
  syscall: 'rename',
  path: 'C:\\Users\\pl\\AppData\\Roaming\\Claude\\vm_bundles\\claudevm.bundle\\.wvm-tmp-shGEtW\\rootfs.vhdx',
  dest: 'C:\\Users\\pl\\AppData\\Roaming\\Claude\\vm_bundles\\claudevm.bundle\\rootfs.vhdx'
}

Steps to Reproduce

Steps to Reproduce

Open Claude
Open Cowork Tab
Start to set enviropment up
Ends with error

Claude Model

Not sure / Multiple models

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

latest

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗