> How to > File Recovery > Recover Files from Virus Infected Hard Drive, Memory Card and USB Drive

Recover Files from Virus Infected Hard Drive, Memory Card and USB Drive

Posted by Abby Haines to File Recovery 2015-05-11

Summary

Here we share you two possible virus file recovery solution: recover virus infected files using CMD or a professional data recovery software. Note that EaseUS Data Recovery Wizard is capable of retrieving files only when they were deleted or hidden by virus. You can have a try.

Wannacrypt

Have you ever attacked by one or more unknown virus? If you have such an experience, you may know that virus attacks will result in unexpected data loss on a hard drive, a memory card or an USB drive. For users who have no idea about how to recover virus infected files, it is really a disaster! But it doesn’t matter! In this page we will introduce you two possible solutions for virus infected file recovery: recover virus infected files using CMD and recover virus infected files with a professional data recovery software.  

Solution 1. Use CMD to recover files from virus infected storage media 

When you get your data lost or inaccessible due to virus attacks, you can try CMD first to recover virus infected files. Being free and easy, it is definitely your first choice. Now let’s look how it works. (I'm using Windows 7 for this demonstration)

1. Plug in your hard drive, memory card or USB drive to your computer

2. Go to the start menu, type in "cmd" in a search bar, hit enter and then you can see something named "cmd. exe" under a list of programs.

Use CMD to recover files from virus infected storage media step 1

3. Right click "cmd. exe" and then you will get the command windows that allows you to recover virus infected files. Type in "attrib -h -r -s /s /d drive letter:\*.*", for example, "attrib -h -r -s /s /d G:\*.*".

Use CMD to recover files from virus infected storage media step 1

After all the steps, Windows will start to repair the virus infected hard drive, memory card or USB drive. It usually needs one or more minutes. Please wait patiently. After the repairing process finished, you can go to your drive or card to check if you can see all of the virus infected files. If you successfully recover data from USB, memory card or hard drive which is infected with virus, congratulations! But if not, please don’t despair. You have another option. Just try a third-party data recovery software!

Solution 2. Use EaseUS data recovery software to recover virus infected files

When you failing to manage virus file recovery using CMD, EaseUS hard drive data recovery software becomes a nice alternative solution. The program is a professional recovery software for hard drive and all external storage devices. With its powerful file recovery capacity, it can effectively recover deleted, corrupted or hidden files from virus infected hard drives, memory cards or USB drives. And the virus file recovery process is extremely easy. You just need to answer two simple questions and the program will do all the rest job for you. For a step-by-step tutorial, please refer to EaseUS data recovery software user guide.

Use EaseUS data recovery software to recover virus infected files