Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 

Repository files navigation

Claude Desktop File Access Fixer

License: MIT Platform: Windows

A targeted batch script to resolve the exact issue where the Claude Desktop App for Windows fails to read specific local folders or files (throwing Input/output error, showing folders as empty, or failing to index files for Projects).

๐Ÿ›‘ The Specific Problem

When trying to upload local directories or datasets into Claude Desktop, the app may silently fail or throw an I/O error. This happens because Claude's local file-reading mechanisms get blocked by desynchronized NTFS indexing, lingering read-only attributes, or strict Windows ACLs on deep folder structures.

This script is designed to solve only this specific problem by forcing Windows to flush the Master File Table (MFT) and normalize permissions for the target directory.

๐Ÿš€ Usage Instructions

  1. Download the Deep_Index_Fix.cmd script.
  2. Right-click the file and select Run as Administrator.
  3. Drag and drop the problematic folder into the console window and press Enter. Wait for the "SUCCESS" message.
  4. CRITICAL STEP: Completely restart Claude Desktop.
    • Do not just close the window.
    • Go to your Windows system tray (the area next to the clock in the bottom right corner).
    • Find the Claude icon.
    • Right-click the icon and select Quit (ะ’ั‹ะนั‚ะธ).
  5. Open the Claude app again. The files will now be visible and accessible.

๐Ÿ› ๏ธ How It Works

The script executes a 4-step deep initialization:

  • Ownership Reset: Claims administrative ownership (takeown).
  • ACL Normalization: Grants Everyone full access (icacls) to bypass restrictive permissions that block Claude's processes.
  • MFT Flush: Forces a native MFT re-index via a recursive directory rename loop.
  • Metadata Touch: Executes a non-destructive copy /b to update file timestamps and break OS-level process locks.

About

A batch script to fix NTFS "Input/output errors" and unlock local files/datasets for Claude AI, Cursor, and WSL

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages