Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home»Hardware»Storage»How to Recover Corrupted Files from USB Flash Drive?

How to Recover Corrupted Files from USB Flash Drive?

Deep ShresthaBy Deep ShresthaDecember 8, 2022
Recover Corrupted Files from USB Drive

If you are working with a corrupted file, you are likely to encounter a system message stating that you have file corruption. Additionally, issues while accessing, opening or transferring files could also indicate a possible file corruption. 

Talking about what caused the corruption, it is very likely that files in the USB drive got affected by a malicious application. Besides malwares, abruptly removing the USB drive or a sudden power loss while performing read/write operation are well known causes for a file to be corrupted.

Once you are sure that the file is corrupted, recovering it should be the first school of thought. Although the data can be recovered, be advised that once corrupted, the chances of getting them back are pretty slim. Regardless, we have tried our best to gather useful methods on recovering corrupted files from a USB drive.

Table of Contents

  • Recover Corrupted Files from USB Drive
    • Scan USB Drives
    • Repair File Attributes
    • Restore Previous Version
    • Use Recovery Software
  • Some Preventive Measures
    • Scan USB Flash Drive
    • Check Drive Status
    • Format USB Flash Drive

Recover Corrupted Files from USB Drive

Now that you know some causes on how a file can get corrupted, let us now see how you can recover them. The first thing you can do is check if the data blocks on your drive are corrupted. To do this, you can try performing a disk scan.

Scan USB Drives

You can use the chkdsk command to scan both internal and external storage devices for errors. Once the scan is complete, it creates a status report about your disk based on its file system. Furthermore, it lists, corrects and tries to recover data on the disk.

  1. Press the Windows + R key to open Run. 
  2. Type cmd and press Ctrl + Shift + Enter to open the Command prompt as admin.
    run command prompt Recover Corrupted Files from USB Drive
  3. Type chkdsk <volume>: /r . Replace <volume> with the USB drive letter.
    run check disk Recover Corrupted Files from USB Drive

You can also scan your USB flash drive from Windows Explorer.

  1. Press Windows + E to open File Explorer.
  2. Click on This PC.
  3. Right-click on the USB drive you want to scan.
  4. Go to Properties.
    open usb drive properties Recover Corrupted Files from USB Drive
  5. Navigate to the Tools tab and click on Check.
    check usb drive Recover Corrupted Files from USB Drive
  6. Select Scan drive.

Repair File Attributes

A file getting corrupted can mean multiple things. In some cases, it could be that the corruption causes the file attribute to change, which simultaneously results in the file to be hidden. To fix this you can try running the ATTRIB command.

The attrib command can display, set or remove file attributes. In our case, we will clear file attributes on the USB drive containing the corrupted file.

  1. Press the Windows + R key to open Run.
  2. Type cmd and press Ctrl + Alt + Enter to open Command Prompt as admin.
  3. Type ATTRIB -H -R -S /S /D X:*.* and press Enter.
    attrib command Recover Corrupted Files from USB Drive

Once the command runs, you should be able to see the corrupted files on the flash drive.

Restore Previous Version

Windows has a special backup feature that is available on all Windows versions after Windows 7. You can restore your USB drive if you have previously enabled this feature. It creates a history of file details at certain times. 

Using this restore point, Windows restores corrupted files or even folders.

  1. Open File Explorer.
  2. Right-click on the USB flash drive and select Properties.
    open usb drive properties Recover Corrupted Files from USB Drive
  3. Go to the Previous Version tab.
  4. Select the latest version of the USB drive and select Restore.
    restore usb drive Recover Corrupted Files from USB Drive

Use Recovery Software

recover USB drives

If none of the solutions works, you can try using a recovery tool. Recovery tools use complex algorithms and advanced programming to recover corrupted files from a storage device and should work in most cases. 

One thing to keep in mind is that you need to be wary when downloading hard disk recovery software. There are cases where the recovery application itself contains malware, corrupting your entire system.

Some Preventive Measures

If you are able to recover corrupted files from the USB flash drive, we recommend that you perform necessary measures to prevent things like such from happening again. 

The first thing you should know is abruptly removing the USB flash drive could corrupt the files or the USB drive itself. Therefore, make sure that you remove the USB drive only after right-clicking the flash drive and ejecting it.

Scan USB Flash Drive

One primary precaution you could perform time and again to prevent files from getting corrupted is scan the USB device. When you scan your drive, the system goes through the files and folders and checks for any malicious activity that could potentially affect your USB drive. 

  1. Press the Windows + E to open File Explorer.
  2. Go to This PC.
  3. Right-click on the USB drive and click on Show more options.
  4. Click on Scan with Microsoft Defender.
    scan with defender Recover Corrupted Files from USB Drive
  5. Select Scan now.

Windows Defender will start the scanning process and give you a report about the details of the scan. Make sure that you perform these scans every now and then.

If you have antivirus installed on your PC, you can also use this application to scan your USB drives.

Check Drive Status

You can check the status of the storage device using S.M.A.R.T. Self-Monitoring, Analysis, and Reporting Technology (SMART). It monitors storage devices connected in your system and determines whether the device is failing.

  1. Insert the USB flash drive into the PC
  2. Press the Windows + R key to open Run.
  3. Type cmd and press Ctrl + Shift + Enter to open the Command prompt as admin.
  4. Type wmic diskdrive get model, status and press Enter.
    check usb drive healthRecover Corrupted Files from USB Drive

Here, you will see the list of storage devices connected to the system and its status. OK means the device does not have any issues. The status will display Pred Fail if there is any issue with the device.

If it indicates Pred Fail, we recommend that you backup files from these USB flash drives.

Format USB Flash Drive

Formatting the USB drives not only removes all the data on your storage device but also sets it to the state it was when you took it out of the package. By doing this, the system will clear all the memory blocks and reset them, eliminating any risks of possible data corruption.

However, make sure that you backup files in your USB drives before formatting it.

  1. Open This PC.
  2. Right-click on the USB drive and select Format.
    format USB drive Recover Corrupted Files from USB Drive
  3. Select the File System as Fat32 or NTFS.
  4. Click on Start to begin the formatting process.
    select file format Recover Corrupted Files from USB Drive
how-to
Deep Shrestha
  • Twitter
  • LinkedIn

Deep Shrestha works as a computer hardware writer at TechNewsToday with several hardware and programming certifications. Although he has been writing technical content for more than a year, his interest in hardware components started at a very young age ever since he heard about PC building. Pursuing his passion, he has assembled several desktop computers. Besides building desktop PCs, Deep also has hands-on experience fixing software and hardware issues on laptops and desktop computers. Using all this knowledge and skills about computer hardware, he's on a quest to make content that's easy to read and understand for everyone. You can contact him at deep@technewstoday.com

Related Posts

raid 5 vs raid 10

RAID 5 Vs RAID 10 – Which One Is Better?

January 12, 2023
How to clone a hard drive to ssd

How to Clone a Hard Drive To SSD

January 1, 2023
how-to-get-data-from-an-old-hard-drive

How to Get Data from an Old Hard Drive

December 15, 2022
can't-read-from-the-source-file-or-disk

[Solved] Can’t Read From the Source File or Disk

December 10, 2022
destroy-a-hard-drive

How to Properly Destroy a Hard Drive

December 7, 2022
the request failed due to a fatal device hardware error

Fix: the Request Failed Due to a Fatal Device Hardware Error

December 6, 2022
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
how long does a cmos battery last

How Long Does a CMOS Battery Last

January 25, 2023
thunderbolt vs usb c

Thunderbolt Vs USB C: What’s the Difference

January 25, 2023
how to find hidden folder in laptop

How to Find Hidden Folder in Laptop

January 24, 2023
You may also like
how-to-connect-headphones-to-tv

5 Ways to Connect Headphones to TV

January 29, 2023
connect-airpods-to-samsung-tv

How to Connect AirPods to Samsung TV? (Step-by-Step Guide)

January 29, 2023
AIO Pump Not Working

AIO Pump Not Working? Here’s How to Fix It

January 29, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday.

Type above and press Enter to search. Press Esc to cancel.