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

Resolved 💬 5 comments Opened Apr 13, 2026 by ptrk5000x Closed May 23, 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 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

  1. Open Claude
  2. Open Cowork Tab
  3. Start to set enviropment up
  4. Ends with error

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.104 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗