How to Recover Files from USB Using CMD

Are you looking for a guide that can tell you how to recover USB files using CMD? Don’t worry; here we have everything that you need to recover the lost and deleted files from USB.

Flash Drive Recovery

Recover Corrupted Flash Drive+
  1. How to Fix a Corrupted/Broken USB Drive
  2. How to Recover Lost Data from USB No Drive Media
  3. 5 Easy Ways to Repair Corrupted USB Flash Drive
  4. USB Device Not Recognized/Detected on Windows
  5. How to Recover Files from Damaged Flash Drive
  6. All You Need to Know About USB Flash Drive
  7. How to Recover Corrupted/Unreadable USB Flash Drive
  8. Best Way to Recover Data from Memory Stick or USB Drives
  9. How to Carry out Sony Memory Stick Recovery Easily
  10. 5 Tips on Thumb Drive Lost Data Recovery
  11. How to Recover Lost or Deleted Files on Thumb Drives
Format USB Flash Drive+
  1. How to Easily Format USB Drive using CMD
  2. How to Format USB on Mac
  3. How to Format and Unformat USB Drive
  4. 4 Ways to Format Write Protected USB Drive
  5. How to Recover Files from Formatted Flash drive
  6. How to Recover Files from Formatted USB
  7. How to Format a USB drive in Linux
Pen Drive Recovery+
  1. Top 10 Pen Drive Recovery Software 2021
  2. 6 Ways You Need to Know About Pen Drive Repair
  3. Best Way to Recover Data from Corrupted Pen Drive
  4. How to Recover Data from Formatted Pen Drive
  5. The Easiest Way to Recover Data from Pendrive
  6. How to Recover Deleted Photos from PenDrive
Flash Drive Recovery Tips+
  1. How to Recover Files from USB Flash Drive
  2. How to Recover Files from USB Using CMD
  3. Best Solution to Recover Files from Corrupted Flash Drive
  4. How to Recover Deleted Files from USB
  5. Best Tool to Recover Corrupted Files from USB Flash Drive
  6. How to Recover Corrupted Files from USB Drive
  7. How to Recover Deleted Files from Flash Drive
  8. How to Recover Hidden Files from USB
  9. Top 5 USB Data Recovery Softwares
  10. Top 10 World`s Best Flash Drive Recovery 2021
  11. How to Fix and Recover a Corrupted Flash Drive without Forma
  12. Top 8 USB Flash Drive Data Recovery Software
Flash Drive Recovery on Computer+
  1. 3 Useful Tips on USB Data Recovery on Windows
  2. How to Repair a Corrupt USB Device on Mac
  3. Recover File from USB Flash Drive on Mac

• Filed to: Flash Drive Recovery • Proven solutions


USB drives are one of the most popular and affordable means of sharing data from one computer to another. But the unfortunate thing is that because of their overuse, they often have to face malware and virus issues. It not only affects the performance but also results in data corruption and loss. Commonly people look for methods that are easily available to them. And trying to recover USB files via CMD is the most common method.

Therefore, in this article, we are going to learn how to retrieve deleted files from USB using CMD. Go through this guide and you will also have an alternative for easy and fast recovery of lost or deleted files.

Part 1. How to Recover Deleted Files from USB using Command Prompt:

Whether the data is hidden, inaccessible, or simply lost due to a major issue from a USB drive, the first thing you should try is using CMD. The command prompt has the capability to recover the recently deleted files, even the ones which are corrupted and inaccessible. It is an excellent choice to retrieve the lost files from USB using CMD. The process is slightly different in different Windows versions. But the process inside Command prompt is almost the same.

Follow the steps below to recover the deleted files from USB using CMD:

Step 1 Plug your USB drive in the computer and let the system detect the drive automatically. Now go to the Start menu and type CMD in the search bar. The command prompt will appear in the results. Click on it to launch CMD.

Make sure that you choose the .exe file to run CMD.

Step 2 The Windows will direct the screen to command line. Type chkdsk E:/f and press the Enter key. You can change the drive letter as per the name assigned to your USB drive.

Step 3 Now type Y and hit Enter again. Type E: and then repeat the same once more. After that, type the command as-

attrib –h –r –s /s /d*.*

and hit the Enter key.

As you press Enter, it will take a while for CMD to finish the process. By the time process completes, you will find all the deleted files inside the drive. There will be a new folder in the USB drive that contains all the recovered files. You can find them inside the drive.

But you might have to change the file extension to a normal format so that the files can be functional again. You can also copy and paste them anywhere else inside your system.

Part 2. Best Command Prompt Alternative to Recover Deleted Files:

If you don’t have that much knowledge of Command prompt, don’t stress about the recovery of your files. If the recovery of deleted files using CMD isn’t an option for you, then you can always rely on Recoverit (IS) Software. It is a lifesaver tool for all the data loss situations. No matter how you lost the files, iSkysoft can retrieve them with just one-click. It is an all-in-one data recovery tool available for both Windows and Mac Operating System.

Recoverit (IS)

The key features of this software are given below:

  • Perform recovery of deleted files, empty recycle bin, formatted disk, lost partition, external devices, virus attack, system crash, and all-around data recovery.
  • Capable of recovering more than 1000 types of files including documents, graphics, videos, emails, audio, and other files.
  • Recover data from hard drive, SSD, RAID, USB drive, SD card, video player, digital camera, pen drive, floppy disk, etc.
  • No technical skill required to operate the software.
  • Simple and quick recovery software available for Mac and Windows Operating System.
3,165,867 people have downloaded it

You can download the software from the official website with just one tap. Make sure that you download the right execution file for the Windows system and then install it properly. Follow the systematic guide given below to retrieve the lost and deleted files from USB:

Step 1 Run the Program:

Launch the software and you will see various options in the home interface. The All-Around recovery is the most comprehensive mode to perform an effective recovery.


Connect the USB drive and click on the All-Around recovery option and initiate the process.

Step 2 Specify Location:

On the next screen, you will see the various disks available for scanning. Pick the USB drive for scan and click on the Start button.

Step 3 Scan Results:

Once the scan finishes, the data will be listed on the screen according to their file type. The files will be further divided according to the available formats so that it will be easy for you to find the files you’ve been looking for.

Step 4 Preview and Recover:

Mark all the files that you want to recover and have a preview to ensure that they are in perfect condition. Finally, tap on the Recover button and wait for a little while as the files are recovered on your system.


The software also has a deep scan mode to look for the files much deeper. In case the normal scan can’t find your lost files, you can use it to dig deeper.


As you can see, recovering the lost or deleted files using CMD is much complicated than using iSkysoft. It is a reliable tool when it comes to safe and secure data recovery. Plus, the software has a mode specially designed to help you in various circumstances. Recommend the software to your friends and family and help them to get their files back as soon as possible.


staff Editor

Hot Articles

5 Easy Ways to Repair Corrupted USB Flash Drive
If you don’t know how to repair corrupted USB Flash Drive, don’t worry, we will be telling you multiple ways to fix USB Flash Drive.
Flash Drive Repair: How to Fix a Corrupted USB Flash Drive?
Don't worry when your USB flash drive corrupted, here are proven ways to repair corrupted flash drive and help you recover lost data from flash drive.
USB Device Not Recognized/Detected on Windows – Solved Now!
There are multiple ways to fix " Windows can’t recognize USB drive". This guide lists 5 methods to fix USB drive not getting recognized issue.
How to Easily Format USB Drive using CMD – USB Drive Format Guide
It’s a complicated process to format the USB drive using cmd, in this article we will tell you the best way to format the USB drive using cmd.
4 Ways on How to Format Write Protected USB Drive on Windows/Mac
Want to format a Write Protected USB drive? This guide provides several integrated Write Protected USB drive format tools on your Windows.
Home > > Resource > Flash Drive Recovery > How to Recover Files from USB Using CMD