claude-code - 💡(How to fix) Fix [BUG] Cowork Workspace Fails on Windows with EBADF on rootfs.vhdx rename #47343

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…

Error Message

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' }

Code Example

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'
}
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?

[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

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