Pen Drive Recovery CMD: How to Recover Data from Pen Drive Using CMD  

Pen Drive Recovery CMD: How to Recover Data from Pen Drive Using CMD

Updated on Nov 11, 2023 | by Jeremy

Quick Navigation:

"Is there a way to do pen drive recovery using CMD? I know it is able to use CMD to recover files on computer easily. However, I don't know how to recover data from pen drive using CMD since I noticed even you delete photos from pen drive, it doesn't end in the trash can at all."

Yes, compared with doing the file recovery at the desktop, it seems it isn't easy to recover pen drive data using CMD. But actually, you can do it. Here in the following, we're going to talk about how to recover deleted files from pen drive using CMD or how to recover formatted data from pen drive using CMD. Choose the right way to flash drive recovery according to your situation. Before you get down to the task, please make sure how you lost the files from Pen Drive. Different scenarios need different pen drive recovery CMD solutions.

Part 1. How to Recover Deleted Files from Pen Drive Using CMD

If you accidentally deleted files from Pen Drive, you can try the following steps to perform pen drive data recovery CMD.

1. Connect your pen drive with your computer, making sure your computer can recognize the device.

2. Go to the Start menu. Click it and in the search box, please enter "cmd" and click Enter.

3. Type "chkdsk E:/f" and click Enter. Here the "E" means the pen drive letter. You're supposed to replace it with your pen drive letter from which you want to recover deleted data.

pen drive recovery cmd

4. Type "E" and click Enter again (E stands for the drive letter of the pen drive).

5. Type "E: \>attrib -h -r -s /s /d *.*" and click Enter.

That's it! It is the guide for how to recover deleted files using CMD. If you still failed to recover the data or unexpectedly format your flash drive, please try the following methods for how to recover pen drive data using CMD.

Part 2. How to Recover Virus-infected/Formatted Data from Pen Drive Using CMD

If your pen drive is attacked by a virus, then the first thing you need to do is to find the malware or virus and using the professional security software to clean up the pen drive. After then, try the following steps to pen drive recovery using CMD. This mode can also recover files from a formatted flash drive using CMD.

1. Connect the virus infected pen drive to your computer.

2. Click the Start button at the bottom left of the main screen. Type in the "cmd" in the search box and click Enter.

3. Type "attrib -h -r -s /s /d E:\*.*", press Enter(E stands for the drive letter of the pen drive). Check the pen drive, and your files would be restored.

Part 3. The Ultimate Way to Recover Deleted/Formatted Files from Pen Drive

To be honest, it is feasible to recover data from pen drive using CMD. If you try the above 2 pen drive recovery CMD methods, it still doesn't help you recover the lost files. You should try Deep Data Recovery. It's a great tool to help you completely recover pen drive data, either the files lost due to formatting, corruption or deletion. Here are the simple steps for how to recover deleted or formatted files from pen drive with the professional data recovery software.

Your Safe & Effective Pen Drive Recovery Software

Step 1. Connect Pen Drive with Computer

Connect your pen drive with your computer, making sure it is detected by your computer, meaning it appears as a drive letter on your computer. Then download and install the latest version of the pen drive recovery CMD alternative software on your computer. It's fully compatible with almost all the versions of Windows/Mac OS. After then, launch it.

Step 2. Select File Types to Recover from Pen Drive

From the first window, you're supposed to select the file types you're going to recover pen drive. By default, all supported files are selected. Please unselect the unwanted ones and click "Next" to recover files from pen drive on Windows PC or Mac.

Step 3. Select Pen Drive to Scan

In the next window, please find the flash drive letter that represents your pen drive. Select it and click "Scan". It means the alternative program to recover pen drive using CMD will scan the pen drive, looking for the file types you've selected.

Step 4. Preview and Recover Data from Pen Drive

It takes a few minutes to finish the whole scanning process. After then, you can select file types from the left panel, then preview the details in the right panel. When finding the right files, select them and click "Recover" to save on your computer.

By default, the scanning mode you've used it Quick Scan. the pen drive data recovery CMD alternative tool scans your pen drive swiftly. However, the results are not as good as the ones scanning by Deep Scan. You can try the Deep Scan in the result window to scan more files.

Related Articles


Is this information helpful?     

What can we do to improve this information? (Optional)
Refresh Please enter the verification code!