Home > How to Tips

Fixed! The File or Directory is Corrupted and Unreadable

Published/Updated on Wednesday, March 5, 2025

M3 Software author Wilsey Young

Written by

Wilsey Young

English

Summary: This post shows how to fix the external-hard-drive-related error message on Windows PC: The file or directory is corrupted and unreadable. iBoysoft Data Recovery for Windows helps repair RAW drive and restore lost data. -From m3datarecovery.com

the file or directory is corrupted and unreadable

An external hard drive is a portable storage device for your Windows PC, and it's primarily used for storage expansion, data backup, file sharing, data recovery, and more. However, some Windows users may come across error messages when using an external hard drive on the Windows PC.

This post guides you through solving the "The file or directory is corrupted and unreadable" error message caused by an external hard drive on Windows 10/11, aiming to fix the corruption and make the drive reusable.

You can click the buttons below to share the post directly!

 

Solutions to "The file or directory is corrupted and unreadable" error on Windows 10/11

This part shows how to fix the error message about the external hard drive using the built-in tools on Windows 10/11.
the file or directory is corrupted and unreadable

Reboot PC and disable the antivirus application

Some Windows users had the "The file or directory is corrupted and unreadable" error message solved by rebooting the PC and disabling the antivirus application. Here are the steps in order:

  1. Disconnect the external hard drive.
  2. Reboot the PC.
  3. Disable the antivirus software/app.
  4. Connect the external hard drive to the PC and see if the error is fixed.

Assign a new drive letter

The conflicts between the drives' letters may trigger the "The file or directory is corrupted and unreadable" error message. Here's how to assign a new letter to the external hard drive.

  1. Right-click on the Start menu button or press the Windows+X keys to choose Disk Management.
  2. Right-click on the external hard drive and choose "Change Drive Letter and Paths..."
  3. Tap on the Change button, choose Assign the following drive letter, and select a letter. 
    change drive letter in Disk Management
  4. Click OK to save and restart your PC.

Check disk errors through File Explorer

The "The file or directory is corrupted and unreadable" error message may be caused by file system errors. Follow the steps below to run built-in error checking tool in File Explorer.

  1. Double-click This PC or My Computer to open File Explorer.
  2. Right-click on the external hard drive and select Properties.
  3. Tap on the Tools tab and click the Check button. 
    run disk check through File Explorer
  4. It scans for file system errors and helps fix them.

Run CHKDSK scan through Command Prompt

Running CHKDSK scan through Command Prompt helps check file system for errors and look for bad sectors on the disk, which could be to blame for the "The file or directory is corrupted and unreadable" error message.

  1. Press the Windows+S keys and type cmd in the Windows search box.
  2. Choose "Run as administrator." 
    cmd run as administrator
  3. Type the following command, replace X with the real external hard drive letter, and hit the Enter key on your keyboard.

chkdsk X: /r

CHKDSK in cmd

Run SFC scan through Command Prompt

When the "The file or directory is corrupted and unreadable" error message appears, the corrupted system files on Windows may be the culprit, which could be fixed by the SFC (System File Checker) scan.

  1. Press the Windows+S keys and type cmd in the Windows search box.
  2. Choose "Run as administrator."
  3. Type the following command and hit the Enter key on your keyboard.

sfc /scannow

run SFC in cmd

You can share this post with your friends!

 

Scan for and remove malware through Settings

Malware may result in the "The file or directory is corrupted and unreadable" error message. Here's how to scan for malware through Settings on Windows.

  1. Press the Windows+I keys on the keyboard to open Settings. Alternatively, click the gear icon in the Start menu.
  2. Choose Update & Security and tap on Windows Security on the left.
  3. Click Virus & threat protection on the right and scroll down to click Scan options. 
    virus scan options in Settings
  4. Choose Microsoft Defender Offline scan and tap on Scan now. 
    run Microsoft Defender Offline scan
  5. Reboot your PC when the scanning is finished.

Fix RAW drive through iBoysoft Data Recovery for Windows

When you receive the "The file or directory is corrupted and unreadable" error message, it could be an indicator of the RAW external hard drive, meaning that the system cannot detect a usable file system of the drive and the drive becomes inaccessible.

Right-click on the Start menu button or press the Windows+X keys to choose Disk Management, where you can see if the external hard drive becomes RAW.

iBoysoft Data Recovery for Windows can work like a charm in this case. It is a professional data recovery tool excellent in repairing RAW drive without data loss. Most importantly, it boasts an extremely high success rate of restoring deleted or lost data from a wide range of storage devices, regardless of whether the devices are formatted or corrupted.

Here's how to fix the RAW external hard drive through iBoysoft Data Recovery for Windows:

  1. Connect the external hard drive to your Windows PC.
  2. Download, install, and launch iBoysoft Data Recovery for Windows.
  3. Choose the "Partition recovery" module from the main interface. 
    iBoysoft Data Recovery for Windows
  4. Select the RAW external hard drive from the list and click the Next button to continue. 
    iBoysoft Data Recovery for Windows
  5. Preview the files found by this tool and tap on the Fix Drive button. 
    iBoysoft Data Recovery for Windows
  6. The drive will be opened automatically once it is fixed successfully, and the file system of the drive will be restored to the original one, meaning that you can access and use the drive just like before.

 Note: If the RAW external hard drive cannot be repaired, this tool will switch to the Data Recovery module to help you restore the data before you move on to formatting.

Format the external hard drive

Formatting is the last resort that can help you fix the RAW external hard drive as it removes corrupted file system and establishes a new one, making the drive usable again for accessing and storing data.

However, formatting involves the process of erasing any data stored on the drive. If data recovery is needed before formatting the drive, iBoysoft Data Recovery for Windows is strongly recommended!

Format the external hard drive through File Explorer:

  1. Double-click This PC or My Computer on the Desktop to open File Explorer.
  2. Right-click on the external hard drive and select Format.
  3. Choose the file system, allocation unit size, and input volume label.
  4. Tick Quick Format and click Start. 
    format drive through File Explorer

Format the external hard drive through Disk Management:

  1. Right-click on the Start menu button or press the Windows+X keys to choose Disk Management.
  2. Right-click on the external hard drive and choose Format.
  3. Input the information, tick "Perform a quick format", and tap on OK. 
    format drive through Disk Management

Format the external hard drive through Command Prompt:

  1. Press the Windows+S keys and type cmd in the Windows search box.
  2. Choose "Run as administrator."
  3. Input the following commands and hit the Enter key after each.

diskpart 
list disk 
select disk # Note: Replace # with the actual drive number list in command window. 
clean 
create partition primary 
format fs=X quick Note: Replace X with the file system you want, such as NTFS, FAT32, exFAT. 
exit

format drive in cmd

Conclusion

Suppose the external hard drive is physically damaged or you fail to fix the “The file or directory is corrupted and unreadable” error message using the solutions above, you may need to seek help from the technical support or the professionals.

Please share this post if you find it helpful!