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

facebook twitter linkedin

"Is there a way to do pen drive data recovery via 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 data recovery at the desktop, it seems it isn’t easy to recover data from Pen Drive using CMD. But actually, you can do it. Here in the following, we’re going to talk about how to recover data from pen drive using CMD. Choose the right way to recover data from Pen Drive 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 solutions.

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

Part 2.How to Recover Virus-infected Files from Pen Drive Using CMD

Part 3. The Ultimate Way to Recover Deleted/Formatted Files from Pen Drive (100% Effective)

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. Type Y and click Enter again.

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.

recover data from pendrive using cmd

That’s it! It is the guide for how to recover deleted files using CMD. If you still failed to recover the data with the mentioned way, please try the following methods.

Part 2.How to Recover Virus-infected Files 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 recover the data from Pen drive through 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 the pen drive letter, E.g. > E: , and press Enter. (E stands for the drive letter of the pen drive).

4. Type attrib -h -r -s /s /d *.*, press Enter. 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 data recovery CMD methods, it still doesn't help you recover the lost files. You should try iBeesoft Data Recovery. It’s a great tool to completely recover data from pen drive, either the data lost due to formatting, corruption or deletion. It can retrieve your data from pen drive easily. Here are the simple steps for how to recover deleted or formatted files from pen drive with the professional data 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.

Step 2. Install the Pen Drive Data Recovery Software

Download and install the latest version of the pen drive data recovery on your computer. It’s fully compatible with almost all the versions of Windows/Mac OS. After then, launch it.

Step 3. 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 from the pen drive. By default, all supported files are selected. Please unselect the unwanted ones and click "Start" to recover files from pen drive on Windows PC or Mac.

pen drive data recovery cmd

Step 4. Select Pen Drive to Scan

In the next window, please find the drive letter that represents your pen drive. Select it and click "Scan". It means the software will scan the pen drive, looking for the file types you’ve selected.

pen drive recovery cmd

Step 5. 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.

how to recover data from pen drive using cmd

By default, the scanning mode you’ve used it Quick Scan. It 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

Guide & Tips

Our Client

Our Client