Virus Deletes Files When You Try to Open Them

Jean updated on Nov 14, 2018 to File Recovery | How-to Articles

Summary

Grab the simple fixes here in case virus deletes files when you try to open them. Download EaseUS free data recovery software to recover all types of files deleted by virus, including pictures, documents, videos, music and more.

How to protect files from being deleted by virus automatically?

When you cannot open a file or folder by double clicking as usual, be careful! You're very likely threatened by a virus! Many people are reporting that virus deletes files when they try to open them, and asking an effective solution to virus file recovery badly. Let's see an example.

"Virus! Please help me out. When I try to open any file such as a movie, video, picture, and document on my USB stick, it became a shortcut and double-clicking doesn't open it. Instead, I can only delete it. What should I do? How to prevent virus deleting files?"

How to recover files from hard drive or USB flash drive deleted by the virus?

Computer and laptop virus is loathful and disgusting. Also, it's dangerous. It can slow down your system performance, delete all your important files. What's worse, it encrypts files so that you can hardly get them back.

For the case that virus deletes files when you try to open them, you can rely on two effective methods: to recover virus infected files using cmd or try a third-party free file recovery software.

EaseUS Data Recovery Wizard is a qualified virus file recovery software, being specialized in retrieving data after being deleted or hidden by the virus on various storage devices, including computer hard drive, external USB flash drive, SD card, pen drive and so on.

 

Step 1: Launch EaseUS Data Recovery Wizard.

Select the disk partition or storage location where you lost files and click "Scan".

Run file recovery software.

Step 2: EaseUS Data Recovery Wizard will start a scanning process to find lost files.

The scanning process will automatically start to find all of the files.

Scan and find lost files.

Step 3: Preview and restore lost files.

You can filter scan results by file type, select found files and click "Recover" to get them back. You should save the files to another safe spot in your PC/storage device, not where they were lost from.

Restore virus deleted files.

How to remove virus that automatically deletes files

With files being well protected and restored, you should start immediately to find a powerful antivirus software or perhaps use cmd to remove the virus from any drive in Windows 10, 8.1, 8 or 7.

Follow the detailed guide to remove virus that deletes everything

Just give you an example. I am going to delete'autorun.inf' virus from my USB drive, which is D:

1. Right-click on Start and select Command Prompt (Admin).
Sign in with your Administrator account and password if the system asks.
2. Type: D: and hit Enter. (Replace D: with the drive letter where the virus files exist.)
3. Type: attrib and hit Enter.
4. Type: attrib -r -a -s -h *.* and hit Enter.
5. Type: del autorun.inf and hit Enter. 

 
 

100% of people found this article helful.

 

Frequently Asked Qusetions

1. Why cannot I recover 2GB data for free?

It is recommended to check the version installed is Free or Trial because they are different versions.

Trial has data preview function but cannot save any files, while the Free version enables to recover 2 GB files. The default free space is 500 MB and you may share the product on social media to get another 1.5 GB.

2. Why cannot the recovered files be opened?

A file is saved as 2 parts on the storage device: directory info (which is comprised by file name, time stamp and size info, etc.) and data content.

If the files with original file names and folder structures cannot be opened, one possible reason is the corrupted directory info. There is still a chance to recover the data content with the RAW Recovery method in our software.

3. Why isn't it suggested to recover the files back to the original drive?

The storage structure of the lost files would be altered or damaged by any changes on the drive. If you save the recovered files back to the same drive, the original data structures and data content would be corrupted or overwritten, which causes permanent data loss. So you should prepare another disk to save the files.

4. How can I check whether my data is recoverable or not before purchase?

The Free version helps you save 2GB files to better verify the recovery quality of our product before purchase.

5. How long does it take to scan the drive?

It strongly depends on the capacity of your hard drive and the performance of your computer. As reference,most drive recoveries can be completed in around 10 to 12 hours for a 1-TB healthy hard drive in general conditions.

About Data Recovery Wizard

It's super easy to recover 250+ types of files after deletion, disk formatting and virus infection. Click the links and compare the difference of each version.