How Do You Recover Deleted Files from a USB Flash Drive?

A lot of people use USB flash drives for data transfer and backup purposes. However, just like other storage mediums, USB flash drives are also susceptible to corruption or data loss. In case it got corrupted, you will need to recover deleted files from usb which is fortunately possible.

Reasons Behind USB Data Loss

There could be a number of reasons behind USB data loss. Some factors affect it more than others:

Accidental deletion of data from the USB drive.

A malware or virus attack corrupted or removed the files stored on the USB drive.

Another program deleted or corrupted the file.

USB drive got unplugged during the data transfer process.

Occurrence of electrical surge while the USB was in use by the computer.

2 Verified Methods to Recover Deleted Files from USB Flash Drive

1Recover Deleted Files from USB via AnyRecover

When data gets deleted from a USB flash drive, you cannot simply restore it via Recycle Bin on your Windows PC. Instead, you will need to use a data recovery tool for this purpose. iMyFone AnyRecover is the best choice in this regard.

This powerful data recovery tool can help you easily and quickly recover all kinds of deleted files from your USB flash drive.


1,000,000 + Downloads

Features of AnyRecover

  • Recover deleted/lost files from USB flash drives, hard drives (internal and external), memory cards, camcorders, smartphones, digital cameras, and any other storage medium.

  • All file systems are supported, including FAT, NTFS, FAT32, etc.

  • You can recover everything via this tool because it supports data recovery of 1000+ file types.

  • Preview recoverable files when choosing them for recovery. It is highly useful for selective file recovery as it makes the process faster and more convenient.

  • User-friendly interface and faster file scanning.

Download NowDownload Now

Steps to Recover Deleted Files from a USB

Step 1. Plug your USB flash drive into your computer and make sure it is detected by the operating system.

Step 2. Launch AnyRecover and click on External Device Recovery mode.

anyrecover screenshot

Step 3. Next, click on USB Flash Drive and proceed by clicking on the Next button shown on the same screen.

anyrecover screenshot

Step 4. Now choose the types of file for scanning and then click the Scan button.

anyrecover screenshot

Step 5. Once the scanning is finished, select the files and then click the Recover button. AnyRecover will start recovery of the selected files.

anyrecover screenshot

2Use Command Prompt to Recover Deleted Files from USB

If you don't want to use any third-party tool to recover deleted files from your USB flash drive, then this is the method which you will find useful. You will be using Command Prompt of Windows for USB deleted files recovery in this method. The method may seem a bit complicated at first, but it is pretty straightforward.

Step 1. Connect your USB flash drive to your computer and make sure it is detected by the operating system.

Step 2. Launch Command Prompt by pressing Win + R. Then type chkdsk H: /f and press the Enter key on your keyboard. H here is the drive letter of the USB flash drive.


Step 3. To proceed, type Y and press Enter key. Then type X and press Enter.

Step 4. Once the above command is executed, type this on the next line: H:>attrib -h -r -s /s /d *.* (X is the drive letter of USB) and press Enter.

Wait for the process to complete. Once it is completed, a new folder will appear on your USB flash drive containing all the deleted files.


Getting your important files accidently deleted from your USB flash drive can be really annoying, but fortunately you can recover them. You can either recover them via Command Prompt or by using a data recovery tool. It is recommended that you first give iMyFone AnyRecover a try as recovering files via this tool is faster and a lot easier than all other data recovery methods.

Download NowDownload Now

+ View all all the comments and join the discussion


By  Simon Marcus , to External Device Recovery

Posted on Dec 12, 2018  ( Updated: Dec 16, 2019 )

Related Articles: