[BUG] Edit/Write tools hang silently on Windows 11 (v2.1.143)

Status Fixed / completed
Maintainer reply None cached
Activity 5 comments · opened May 18, 2026 · closed May 21, 2026

Environment

  • OS: Windows 11 Home 10.0.26200
  • Claude Code: v2.1.143 (latest)
  • Shell: PowerShell / Bash

Bug

Edit and Write tools hang silently — no error, no output, no file changes.
Sessions freeze for 30+ minutes until manually stopped. On retry, sometimes
succeeds, mostly fails again.

Bash-based file operations (node, printf, sed) succeed on the same files.

Steps to reproduce

  1. Open any project on Windows 11 with v2.1.143
  2. Ask Claude to edit a file — Claude uses the Edit or Write tool
  3. Session hangs indefinitely, no error surfaced — must force-stop manually

Expected

Edit/Write tools modify the file and return success.

Actual

Tool hangs silently. No error reported. File unchanged. Only recovery is
manual stop + retry (non-deterministic — sometimes works, usually doesn't).
Bash workarounds work reliably.

Note

Issue #46767 describes a similar bug from April (v2.1.101). This appears to be
a regression or continuation of that bug in the latest release.

View original on GitHub ↗

5 Comments

github-actions[bot] · 3 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/59200
  2. https://github.com/anthropics/claude-code/issues/46767
  3. https://github.com/anthropics/claude-code/issues/59668

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

BarcDevs · 3 months ago

Not a duplicate. #59200 is about tool result delivery failing for Bash/PowerShell calls. This issue is specific to the Edit and Write file-editing tools hanging silently. Different tools, different code path.

BarcDevs · 3 months ago

Fixed in v2.1.146 — Edit and Write tools work normally again on Windows 11.

egmfrs · 2 months ago

I wouldnt say this is closed, I've been experiencing exactly this intermittently for weeks. I've let it run for over an hour and still had to cancel it myself and it's done edits/writes via powershell script instead, but this tanks my quota quicker / builds context faster. v2.1.190.
Windows 11 Home 23H2 22631.5189

github-actions[bot] · 4 days ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.