[BUG] Windows excluded folders in Search filled with claude code entries

Resolved 💬 3 comments Opened Apr 2, 2026 by tobias-varden Closed Apr 2, 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?

I'm looking in Windows Setting for Search (Privacy & Security > Search), where you can exclude certain folders from the search indexing process. This list is now filled with c:\users\{USER}\.claude.json.corrupted.{epoch}\
See screenshot

<img width="548" height="419" alt="Image" src="https://github.com/user-attachments/assets/90d20567-4bd8-4f9c-915e-5b39da7dd070" />

What Should Happen?

No Claude Code entries in my search exclusion list.

Error Messages/Logs

Steps to Reproduce

Settings > Privacy & security > Search > Find my files
Here you can find a lot of folder exclusions related to Claude Code.

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.89

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗

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